System Freeze when working with Eclipse IDE

Bug #1233086 reported by Hans Meier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
Precise
Expired
Medium
Unassigned

Bug Description

I experience system freezes on Ubuntu 12.04 when working with eclipse (when switching between open files using tabs). This is reproducible on my system. I have not yet observed this behaviour at other tasks / programs; system runs fine except for that (including video games and watching videos).

The last thing I notice in kernel log (when freeze) is this:

kernel: [ 2560.052581] [drm:gen6_sanitize_pm] *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 00070000, was 16000000

Note: I have also observed that message when the system did not freeze thereafter, and have seen freezes not directly following that message, so this might be unrelated.

Computer is a brand new Lenovo B590 with Intel video (module i915 is used). Since I have it only a few weeks, I cannot tell if this error already occurred in previous Ubuntu releases or not.

A memory check (memtest86) did not show any errors.

I have all (and only) official Ubuntu updates installed, currently 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux.

I suspect that the Eclipse IDE requests some special stuff from video driver which then crashes. Obviously it should not be possible for userspace to crash the kernel, so this should also be considered a security problem.

More details to come, I'd be glad to provide more data.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: manu 1836 F.... xfce4-volumed
                      manu 1851 F.... pulseaudio
 /dev/snd/controlC29: manu 1836 F.... xfce4-volumed
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf0610000 irq 45'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:10ec0269,17aa5011,00100202 HDA:80862806,80860101,00100000'
   Controls : 26
   Simple ctrls : 12
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=03cfd31a-549e-419b-9741-7870bbe9f449
InstallationMedia: Xubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820)
MachineType: LENOVO 37613FG
MarkForUpload: True
NonfreeKernelModules: wl
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-54-generic root=UUID=ca45191f-79c6-47ed-8ccf-be4ae9f14423 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-54-generic N/A
 linux-backports-modules-3.2.0-54-generic N/A
 linux-firmware 1.79.6
StagingDrivers: mei
Tags: precise staging precise staging
Uname: Linux 3.2.0-54-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo tomcat7
dmi.bios.date: 04/09/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: H9ET73WW(1.10)
dmi.board.asset.tag: Not Available
dmi.board.name: 37613FG
dmi.board.vendor: LENOVO
dmi.board.version: Win8 STD MM DPK IPG
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrH9ET73WW(1.10):bd04/09/2013:svnLENOVO:pn37613FG:pvrLenovoB590:rvnLENOVO:rn37613FG:rvrWin8STDMMDPKIPG:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 37613FG
dmi.product.version: Lenovo B590
dmi.sys.vendor: LENOVO

Hans Meier (freedriv3r)
information type: Private Security → Public
Revision history for this message
Andy Whitcroft (apw) wrote :

On IRC you commented that you believed that this issue was not present in 3.2.0-40 kernels. Could you go back to those older kernels and see if you can identify an older kernel which does not have the issue and the first one after it which does. From there we can do a bisect to identify the commit.

I would probabally also be helpful (as this is a new machine) to see if the latest 3.5 or 3.8 kernel has the issue as well. Both of these are available on Precise as HWE (lts) kernels.

Revision history for this message
Hans Meier (freedriv3r) wrote :

Here is another person having troubles with Ecplise and system freeze in 12.04: http://ubuntuforums.org/showthread.php?t=2135522.

Andy Whitcroft (apw)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1233086

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Precise):
status: New → Incomplete
tags: added: precise
Revision history for this message
Hans Meier (freedriv3r) wrote : AcpiTables.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Hans Meier (freedriv3r) wrote : AlsaDevices.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : AplayDevices.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : BootDmesg.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : CRDA.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : IwConfig.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : Lspci.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : Lsusb.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : PciMultimedia.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : ProcModules.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : PulseList.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : RfKill.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : UdevDb.txt

apport information

Changed in linux (Ubuntu Precise):
status: Incomplete → Confirmed
Revision history for this message
Hans Meier (freedriv3r) wrote : UdevLog.txt

apport information

Revision history for this message
Hans Meier (freedriv3r) wrote : WifiSyslog.txt

apport information

Hans Meier (freedriv3r)
description: updated
Hans Meier (freedriv3r)
description: updated
Changed in linux (Ubuntu Precise):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I'd like to perform a bisect to figure out what commit caused this regression. We need to identify the earliest kernel where the issue started happening as well as the latest kernel that did not have this issue.

Per IRC, the 3.2.0-40-generic kernel does not exhibit this bug.

Can you test the following upstream kernels and report back? We are looking for the first kernel version that exhibits this bug:

Version 3.2.42: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.42-precise/
Version 3.2.44: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.44-precise/
Version 3.2.46: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.46-precise/
Version 3.2.48: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.48-precise/

You don't have to test every kernel, just up until the kernel that first has this bug.

Thanks in advance!

tags: added: performing-bisect
Revision history for this message
Hans Meier (freedriv3r) wrote :

I can confirm that I was unable to reproduce this problem with 3.2.0-40-generic #64-Ubuntu SMP. I will now go forward and try the kernels suggested by jsalisbury. As the problem seems to not occur instantly but only after a period of work this could take some time to make sure. I will start with 3.2.42 now and report the results here.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks, Hans. We are trying to identify the last kernel version that did not have this bug, and the first kernel version that does. We can start a bisect once we know those two versions.

Revision history for this message
Hans Meier (freedriv3r) wrote :

3.2.42-030242-generic #201303270035 SMP runs stable as well, moving to 3.2.44.

Revision history for this message
Hans Meier (freedriv3r) wrote :

Now I just encountered the freeze again after about 5 minutes of running 3.2.44-030244-generic #201304260219 SMP.
I rebooted into 3.2.42-030242-generic #201303270035 again which also freezed in the first minute of operation (just when starting up eclipse). Before that, I had 3.2.42-030242-generic #201303270035 running for multiple hours without problem.

This seems weird to me as I have been doing the same kind of things all the time. Seems very hard to track down systematically (maybe some occasional race condition or hardware probem)?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for testing. Can you also test the following two kernels:

Version 3.2.40: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.40-precise/
Version 3.2.41: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.41-precise/

I don't expect 3.2.40 to have the bug, since that is what Ubuntu 3.2.0-40-generic is based off of.

Revision history for this message
Hans Meier (freedriv3r) wrote :

A week ago I upgraded to kernel 3.5.0-41-generic and have not had any problems since. This means I cannot identify with which exact kernel version the problem was introduced, but it seems fixed in recent kernels. Thanks for your support so far, I will report here if I encounter a problem with this again.

Changed in linux (Ubuntu Precise):
status: Confirmed → Invalid
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu Precise) because there has been no activity for 60 days.]

Changed in linux (Ubuntu Precise):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.