Bug 18183 - EeePC 701: X crash after log into GDM on OpenSuSE 11.1 Beta3
Summary: EeePC 701: X crash after log into GDM on OpenSuSE 11.1 Beta3
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium major
Assignee: haihao
QA Contact: Xorg Project Team
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 12:39 UTC by Brandon Philips
Modified: 2008-11-05 15:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (29.75 KB, text/plain)
2008-10-22 12:39 UTC, Brandon Philips
no flags Details
GDB Trace (1.11 KB, text/plain)
2008-10-27 21:25 UTC, Brandon Philips
no flags Details

Description Brandon Philips 2008-10-22 12:39:08 UTC
Created attachment 19822 [details]
Xorg.0.log

Software I am using: 

- Intel Q3 RC5: xf86-video-intel 2.5.0
- libdrm 2.4.1 (git commit a59ea02)
- Mesa intel-2008-q3 (commit 46921a5)
- xorg-server 1.5.2

On my EeePC 701 I get a crash as soon as I log into GDM with the following backtrace, full log will be attached:

(II) intel(0): I2C device "LVDSDDC_C:ddc2" removed.

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x79) [0x80c0be9]
1: [0xffffe400]
2: /usr/lib/dri/i915_dri.so(intelMakeCurrent+0xea) [0xa76a332a]
3: /usr/lib/dri/i915_dri.so [0xa768003d]
4: /usr/lib/xorg/modules//extensions/libglx.so [0xb7af15ec]
5: /usr/lib/xorg/modules//extensions/libglx.so [0xb7ae5fa7]
6: /usr/lib/xorg/modules//extensions/libglx.so [0xb7ae61a5]
7: /usr/lib/xorg/modules//extensions/libglx.so [0xb7ae86da]
8: /usr/bin/X(Dispatch+0x34f) [0x808b4af]
9: /usr/bin/X(main+0x47d) [0x8070d4d]
10: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7baf715]
11: /usr/bin/X [0x8070131]

Fatal server error:
Caught signal 11.  Server aborting

(II) UnloadModule: "kbd"
(II) UnloadModule: "synaptics"

This is on OpenSuSE 11.1 Beta 3.
Comment 1 Gordon Jin 2008-10-23 18:49:51 UTC
Brandon, does older driver work for you?
Comment 2 Brandon Philips 2008-10-23 21:36:23 UTC
(In reply to comment #1)
> Brandon, does older driver work for you?

Stefan-

Do we have packages of the older driver compiled for 11.1? What is the best way of compiling and testing the old driver under openSuSE?

Thanks.
Comment 3 haihao 2008-10-24 00:43:49 UTC
I can't reproduce this issue on my 915GM, Could you provide a full backtrace with gdb?
Comment 4 Stefan Dirsch 2008-10-24 02:01:16 UTC
Brandon, the best would be to download the old driver sources and compile the driver yourself.
Comment 5 haihao 2008-10-27 00:13:07 UTC
There are a lot of "underrun on pipe B" errors in the attached log, Could you run X from a console? 
Comment 6 Brandon Philips 2008-10-27 00:53:18 UTC
(In reply to comment #5)
> There are a lot of "underrun on pipe B" errors in the attached log, Could you
> run X from a console? 
> 

What do you mean by "run X from a console"?

Thanks, Brandon
Comment 7 haihao 2008-10-27 19:15:39 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > There are a lot of "underrun on pipe B" errors in the attached log, Could you
> > run X from a console? 
> > 
> 
> What do you mean by "run X from a console"?
> 
> Thanks, Brandon
If login with runlevel 3, you will get a console, then you can run X directly, without 
gdm/kdm, or other something. You might run the following commands: 

# export LIBGL_ALWAYS_INDIRECT=1   
# xinit /usr/bin/xterm                <-----------Startup X with a terminal   
# glxgears                               <--------- Does X crash?

Comment 8 Brandon Philips 2008-10-27 21:05:26 UTC
> # export LIBGL_ALWAYS_INDIRECT=1   
> # xinit /usr/bin/xterm                <-----------Startup X with a terminal   
> # glxgears                               <--------- Does X crash?

xinit /usr/bin/xterm # runs OK
xinit /usr/bin/gnome-session # crashes

So, I tried running:

gdb xinit
run /usr/bin/gnome-session

But, this doesn't run. How do I get a backtrace from X while it is running a gnome-session?
Comment 9 Brandon Philips 2008-10-27 21:25:43 UTC
Created attachment 19893 [details]
GDB Trace 

Duh. gdb -p for debugging X.

Here is the trace from X crashing from gnome-session.
Comment 10 Brandon Philips 2008-10-27 21:36:58 UTC
Just ran gnome-session under strace- and it works.  :(

I guess I will start bisecting on the intel driver now.
Comment 11 haihao 2008-10-28 02:31:15 UTC
I got a EeePC 701 and installed OpenSuSE 11.1 Beta3 on it.  But I couldn't
reproduce this issue. Did you config your environment such as desktop effect?
If possible, please attach a full backtrace made with 'bt full'.
Comment 12 Brandon Philips 2008-10-28 22:48:57 UTC
(In reply to comment #11)
> I got a EeePC 701 and installed OpenSuSE 11.1 Beta3 on it.  But I couldn't
> reproduce this issue. Did you config your environment such as desktop effect?

Yes, I just did a clean install from a 11.1 Beta3 DVD to be sure.

> If possible, please attach a full backtrace made with 'bt full'.

I would love to- unfortunately after I installed the debuginfo GDB started segfaulting.  https://bugzilla.novell.com/show_bug.cgi?id=439697
Comment 13 Brandon Philips 2008-11-05 11:21:51 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I got a EeePC 701 and installed OpenSuSE 11.1 Beta3 on it.  But I couldn't
> > reproduce this issue. Did you config your environment such as desktop effect?
> 
> Yes, I just did a clean install from a 11.1 Beta3 DVD to be sure.
> 
> > If possible, please attach a full backtrace made with 'bt full'.
> 
> I would love to- unfortunately after I installed the debuginfo GDB started
> segfaulting.  https://bugzilla.novell.com/show_bug.cgi?id=439697
> 

Beta4 seems to solve the crash for me. 

Although, there is a ton of flickering on login. I guess this is fixed.
Comment 14 Stefan Dirsch 2008-11-05 15:36:01 UTC
> Although, there is a ton of flickering on login. I guess this is fixed.
This sounds like KDE4 polling for outputs. This still happened on Beta4. 
Comment 15 Brandon Philips 2008-11-05 15:48:01 UTC
(In reply to comment #14)
> > Although, there is a ton of flickering on login. I guess this is fixed.
> This sounds like KDE4 polling for outputs. This still happened on Beta4. 
> 

I am using GNOME.


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.