Bug 847941

Summary: xorg random crash with segmentation fault on Intel 4000
Product: [openSUSE] openSUSE 13.1 Reporter: Forgotten User 3eh6B2om6o <forgotten_3eh6B2om6o>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: forgotten_3eh6B2om6o, forgotten_DV81ZEWZkN
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: My Xorg log file with the EE lines at the bottom.
The dmesg output... nothing about XOrg complaining or the drivers but might be useful
The lspci -vv output with hardware specs from my machine
Xorg GDB output

Description Forgotten User 3eh6B2om6o 2013-10-28 18:52:56 UTC
Created attachment 565214 [details]
My Xorg log file with the EE lines at the bottom.

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.114 Safari/537.36

Hello. After the last update to RC1 of OpenSuSE 13.1 I started to get random XOrg crashes. Checking the xorg.log file don't give much hint as to what could be causing it.

This happens randomly, sometimes as soon as I log in on gnome-shell or when using any other applications.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. Login to gnome
2. Use shell, or the applications
3. Random crash
Actual Results:  
Crash. No apparent reason.


Like I said, it did not happened before, just as soon as I did the last update this seem to start happening so my guess is either an xorg update or an intel driver update.
Comment 1 Forgotten User 3eh6B2om6o 2013-10-28 18:54:03 UTC
Created attachment 565215 [details]
The dmesg output... nothing about XOrg complaining or the drivers but might be useful
Comment 2 Forgotten User 3eh6B2om6o 2013-10-28 18:55:57 UTC
Created attachment 565217 [details]
The lspci -vv output with hardware specs from my machine
Comment 3 Forgotten User 3eh6B2om6o 2013-10-29 00:33:50 UTC
Well, does not seem to happen randomly, I finally found a way to reproduce it, but it's kind of weird:

1- Have an empathy chat window open
2- Try to scroll text view, crashes whole X/gnome-shell, logs me out and takes me to GDM

Now, [1] actually does happen with some contacts only, tried a different list of contacts and just a few would cause this. The only difference between them is that the one causing the crash has messages from a past chat log.

Another way the crash happens is if I try to respond to a chat message from the tray notification system in gnome-shell, again, just for some contacts. So this is for sure an empathy (or gtk, or shell) related bug I guess.

So feel free to close it so I can reopen another one with the proper info.

Thaks.
Comment 4 Stefan Dirsch 2013-10-29 11:00:01 UTC
Just found this one in dmesg output:

[    2.143813] [drm] Wrong MCH_SSKPD value: 0x20100406
[    2.143815] [drm] This can cause pipe underruns and display issues.
[    2.143816] [drm] Please upgrade your BIOS to fix this.
[    2.204526] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2

So is there a system BIOS update (including VBIOS update) available for your system, which you could update?
Comment 5 Forgotten User 3eh6B2om6o 2013-10-29 18:55:59 UTC
Stefan, 

I'm sorry I was in a hurry yesterday and did not pay attention to the dmesg output, only checked the xorg logs...

I can see two files on acer support site:

1.09 - BIOS
2.06 - BIOS - UEFI for Windows 8 (Not for Upgrades)

I think I already have the 1.09 version, not sure if I should upgrade the BIOS, that UEFI thing makes me nervous. Should I?
Comment 6 Forgotten User 3eh6B2om6o 2013-10-30 01:24:16 UTC
Well that was too quick, as stated by some Acer support guy:

"To address the BIOS related question:
Systems that shipped with Windows 7 are to use the v1.xx BIOS.
Systems that shipped with Windows 8 are to use the v2.xx UEFI."

My system shipped with Windows 7, so there are no BIOS updates for me, hence no workaround for the X crash with that.

If you need further information please let me know.
Comment 7 Stefan Dirsch 2013-10-30 07:59:36 UTC
Thanks for checking!
Comment 8 Forgotten User 3eh6B2om6o 2013-11-09 01:09:27 UTC
Hello, I just installed RC2 on my older Thinkpad Edge (Core i5, Intel 3000) and I can reproduce this issue. IIRC XOrg uses the same (i915) driver for both adapters but I'm pretty sure their bios is different, one is sandy bridge, the other an ivy.

That said I don't know if this is an xorg driver, kernel, clutter/gtk+ or empathy bug. Any starting point where I could get a useful trace and help you guys?

Or I can even open an issue upstream against empathy but then again, I'm not sure what is causing this crash, I just know how to reproduce it.

Regards.
Comment 9 Forgotten User 3eh6B2om6o 2013-11-09 02:07:18 UTC
Created attachment 566767 [details]
Xorg GDB output

Attaching Xorg GDB output when received SIGSEV since X crashes.
Comment 10 Forgotten User 3eh6B2om6o 2013-11-10 00:32:47 UTC
Hello Stefan,

I just opened an issue on upstream at bugs.freedesktop.org, #71415 with more details and GDB info as well.

I left this info here just for further reference.

Thanks.
Comment 11 Forgotten User DV81ZEWZkN 2013-11-14 19:58:39 UTC
906 available for test at
http://download.opensuse.org/repositories/home:/sumski:/bnc847762/openSUSE_13.1/
Comment 12 Bernhard Wiedemann 2013-11-14 21:00:17 UTC
This is an autogenerated message for OBS integration:
This bug (847941) was mentioned in
https://build.opensuse.org/request/show/206955 13.1 / xf86-video-intel
Comment 13 Bernhard Wiedemann 2013-11-15 12:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (847941) was mentioned in
https://build.opensuse.org/request/show/206993 13.1 / xf86-video-intel
Comment 14 Forgotten User 3eh6B2om6o 2013-11-15 20:55:51 UTC
Confirmed as fixed on upstream. I tried to reproduce the crash with empathy and it no longer happens when using 906 from the given repo above.

Thanks!
Comment 15 Swamp Workflow Management 2013-11-25 11:05:04 UTC
openSUSE-RU-2013:1764-1: An update that has two recommended fixes can now be installed.

Category: recommended (important)
Bug References: 847762,847941
CVE References: 
Sources used:
openSUSE 13.1 (src):    xf86-video-intel-2.99.906-4.1
Comment 16 Stefan Dirsch 2013-11-26 15:20:49 UTC
Closing as fixed.