Bug 34807

Summary: [i915] segfault in kernel 2.6.37.2
Product: xorg Reporter: marek <markotahal>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: markotahal
Version: 7.6 (2010.12)Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
backtrace of i915 segfault from Osmos game none

Description marek 2011-02-27 13:54:16 UTC
Created attachment 43901 [details]
backtrace of i915 segfault from Osmos game

Hello, 

I ran into this problem when trying game Osmos. It wouldn't start, but segfault. Then in dmesg I've seen this one and one reported by kwin. 
This happens with kernel 2.6.37.2, 37.1 is ok. 

I'm attaching backtrace of the game. 

OS: Archlinux, i686, affected kernel 2.6.37.2, 
extra/xorg-server 1.9.4-1 [3.27 M] (xorg)
    Xorg X server
xorg 7.6,
extra/intel-dri 7.10.0.git20110215-1 [9.07 M]
    Mesa DRI drivers for Intel
extra/xf86-video-intel 2.14.0-2 [0.77 M] (xorg-video-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers


I can attach dmesg if needed, now running the .1 kernel which works ok.

Many thanks, Marek
----------
Backtrace from Osmos causing the segfault: 


[marek@beruska osmos]$ gdb Osmos.bin32 
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/osmos/Osmos.bin32...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/osmos/Osmos.bin32 
[Thread debugging using libthread_db enabled]
----------------------------------------------------------------------------------------------------
Log opened on Sat Feb 26 22:27:20 2011
Commandline: /opt/osmos/Osmos.bin32 
Preinitializing game: HEMI version 1.6.1 1568
Localization: using language "en"
Localization: loaded Osmos-en.loc
Arch: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
OS: Linux 2.6.37-ARCH (#1 SMP PREEMPT Wed Feb 23 13:58:32 UTC 2011)
Using sound
Showing splash

Program received signal SIGSEGV, Segmentation fault.
0xb74c40e8 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
(gdb) bt
#0  0xb74c40e8 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#1  0xb74b6855 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#2  0xb74c5cb4 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#3  0xb74a2d51 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#4  0xb7fa19ba in ?? () from /usr/lib/libGL.so.1
#5  0xb7f7b16f in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#6  0xb7f7b303 in glXMakeCurrent () from /usr/lib/libGL.so.1
#7  0x0809cc2c in ?? ()
#8  0x0808182d in ?? ()
#9  0xb7a9bdb6 in __libc_start_main () from /lib/libc.so.6
#10 0x0804c211 in ?? ()
(gdb) quit
A debugging session is active.

        Inferior 1 [process 26845] will be killed.

Quit anyway? (y or n) y
Comment 1 Chris Wilson 2011-03-10 10:53:07 UTC
The backtrace is vital but utterly devoid of any useful information. Please install the debug symbols for mesa for your distribution and attach a fresh trace.
Comment 2 Chris Wilson 2011-04-17 00:27:32 UTC
2 months without symbols, this bug is not going anywhere... </hint>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.