[Bug 687802] New: X11:XOrg intel driver instant segfault
https://bugzilla.novell.com/show_bug.cgi?id=687802 https://bugzilla.novell.com/show_bug.cgi?id=687802#c0 Summary: X11:XOrg intel driver instant segfault Classification: openSUSE Product: openSUSE 11.5 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com CC: sndirsch@novell.com Found By: Third Party Developer/Partner Blocker: --- Created an attachment (id=425135) --> (http://bugzilla.novell.com/attachment.cgi?id=425135) xorg logfile from the crash After updating to FACTORY today with Kernel:HEAD and X11:XOrg, the intel driver instant segfaults on startup: [ 87.525] (==) intel(0): Backing store disabled [ 87.525] (==) intel(0): Silken mouse enabled [ 87.525] (II) intel(0): Initializing HW Cursor [ 87.530] Backtrace: [ 87.531] 0: X (xorg_backtrace+0x28) [0x4a4d48] [ 87.531] 1: X (0x400000+0x653b9) [0x4653b9] [ 87.531] 2: /lib64/libc.so.6 (0x7f1734dfe000+0x32b30) [0x7f1734e30b30] [ 87.531] 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f173321e000+0xafc2) [0x7f1733228fc2] [ 87.531] 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f173321e000+0xdaaf) [0x7f173322baaf] [ 87.531] 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f173321e000+0xe4b8) [0x7f173322c4b8] [ 87.531] 6: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f173321e000+0xe845) [0x7f173322c845] [ 87.531] 7: X (AddScreen+0x1a8) [0x431e28] [ 87.531] 8: X (InitOutput+0x2a4) [0x474dc4] [ 87.531] 9: X (0x400000+0x2591d) [0x42591d] [ 87.531] 10: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f1734e1cbfd] [ 87.531] 11: X (0x400000+0x25679) [0x425679] [ 87.531] Segmentation fault at address 0x2b8 [ 87.531] Fatal server error: [ 87.531] Caught signal 11 (Segmentation fault). Server aborting Does not look too good, don't push this to FACTORY :-) susi:~ # rpm -qi xorg-x11-driver-video Name : xorg-x11-driver-video Relocations: (not relocatable) Version : 7.6 Vendor: obs://build.opensuse.org/X11 Release : 199.1 Build Date: Thu Apr 14 16:49:32 2011 Install Date: Fri Apr 15 10:57:43 2011 Build Host: build34 Group : System/X11/Servers/XF86_4 Source RPM: xorg-x11-driver-video-7.6-199.1.src.rpm Size : 6694852 License: MIT License (or similar) Signature : DSA/SHA1, Thu Apr 14 16:51:09 2011, Key ID bb1af2330f2672c8 URL : http://xorg.freedesktop.org/ Summary : X.Org video drivers Description : This package contains X.Org video drivers. Distribution: X11:XOrg / openSUSE_Factory susi:~ # uname -a Linux susi.home.s3e.de 2.6.39-rc3-2-desktop #1 SMP PREEMPT 2011-04-13 16:53:22 +0200 x86_64 x86_64 x86_64 GNU/Linux If you cannot reproduce, I can try installing debuginfo etc. This is on a ThinkPad X200s, susi:~ # lspci -s 00:02.0 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) susi:~ # lspci -ns 00:02.0 00:02.0 0300: 8086:2a42 (rev 07) right now running with 'Driver "fbdev"' :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c1
Kshitij Kulshreshtha
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c2
--- Comment #2 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c3
--- Comment #3 from Kshitij Kulshreshtha
Thanks for looking into this, but could you give me more details here? I don't see that "pScrn" would be initalized *after* running "intel_batch_submit(pScrn)". Or did I misunderstand you?
The ScrnInfoPtr pScrn is already initialized properly. But inside the ScrnInfoRec there is a field ScreenPtr pScreen which is not initialized at the time of intel_batch_submit() inside intel_copy_fb(). During this call in intel_bachbuffer.c:244 the call to intel_batch_needs_flush(intel) tries to dereference intel->scrn->pScreen at intel_batchbuffer.c:181 causing the segfault. I tried to replace this by using screenInfo.screens[intel->scrn->scrnIndex] at this place but this causes a further segmentation fault in the call to dixGetPrivate() with PRIVATE_PIXMAP as the key. Someone with deeper understanding can probably help more. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c4
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c7
Bjørn Lie
https://bugzilla.novell.com/show_bug.cgi?id=687802
https://bugzilla.novell.com/show_bug.cgi?id=687802#c8
--- Comment #8 from James Bottomley
participants (1)
-
bugzilla_noreply@novell.com