[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#419986: output of 'ps ax'



On Tue, Apr 24, 2007 at 12:22:11PM +0200, Michel Dänzer wrote:
> On Tue, 2007-04-24 at 12:21 +0200, Olaf Till wrote:
> > On Mon, Apr 23, 2007 at 09:53:35PM +0200, Brice Goglin wrote:
> > > Olaf Till wrote:
> > 
> > > > With xserver-xorg-core_1.2.99.905-2_i386.deb (ignoring dependencies
> > > > except libc6) X behaved correctly without drm, but did not even come
> > > > up with drm, there was no process X afterwards. Installing
> > > > xserver-xorg-core-dbg_1.2.99.905-2_i386.deb worked.
> > > >   
> > > 
> > > This is strange too. Installing the -dbg package should not change
> > > anything regarding "does it start successfully or not?". It only
> > > provides some debugging symbols for gdb.
> > 
> > Sorry, a typo, and further misread to 'dbg', probably. I meant without
> > or with the line 'dri' in the module-section of xorg.conf (not
> > 'drm'). BTW there was an unsatisfied dependency of the experimental
> > X-server of a newer libdrm2 (don't know it, but sounds as if it had
> > something to do with direct rendering) than installed.
> > 
> > > > I again attach the xorg.conf used for all this and the log of the
> > > > experimental X-server with dri.
> > > >   
> > > 
> > > The log is pretty small and doesn't show any problem. Is this the right one?
> > 
> > I think the log stops after loading the module dri. Seemingly X was
> > not able to log anything else after this. Compare to the attached
> > respective log (also experimental server) after commenting out "dri"
> > in the module-section of xorg.conf. As I said, there was no process X
> > present after trying to start this experimental server with "dri".
> 
> It probably dies trying to call an unresolved function due to the
> unsatisfied libdrm2 dependency. See the X server's stderr output.
> 

Yes:

olaf:~/debs# startx

...

Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X Window System Version 1.2.99.905 (1.3.0 RC 5)
Release Date: 05 April 2007
X Protocol Version 11, Revision 0, Release 1.2.99.905
Build Operating System: Linux Debian
Current Operating System: Linux olaf 2.6.18-4-amd64 #1 SMP Mon Mar 26 19:17:44 UTC 2007 x86_64
Build Date: 09 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 24 14:58:10 2007
(==) Using config file: "/etc/X11/xorg.conf"

/usr/bin/X11/X: symbol lookup error: /usr/lib/xorg/modules/extensions//libdri.so: undefined symbol: drmSetServerInfo
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
olaf:~/debs#

--------------------------------------------------------------------

Installing new libdrm2 from same archive as experimental
xserver-xorg-core solved that problem. There were no unsatisfied
dependencies any more.

The experimental xserver shows the same lockup as the one in etch.

Attaching with dbg to X of etch while locked up (only a manual
transcript was possible from that machine):

olaf:~# ps ax

...

3175 tty7 R<s+ 4:26 /usr/bin/X vt7 -dpi 100 -nolisten tcp -auth
/var/lib/xdm/authdir/authfiles/A:0-pAXCrr

...

olaf:~# gdb -p 3175
Attaching to process 3175
/build/buildd/gdb-6.4.90.dfsg/gdb/linux-nat.c:1025: internal-error:
linux_nat_attach: Assertion pid == GET_PID (inferior_ptid) && WIFFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed.
A problem internal to GDB has been detected.
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

... (same message as above)

Create core file of GDB? (y or n) n
A program is being debugged already.
Kill it? (y or n) n
Program not killed
(gdb) bt
#0xf7dd2d04 in ?? ()

(same line after hitting ctrl-C a few times and 'bt')

-----------------------------------------------------------------

With the experimental xserver-xorg-core and xserver-xorg-core-dbg
installed, attaching to the locked-up server with gdb gives exactly
the same error-messages, the line after 'bt' (and after hitting ctrl-C
a few times and 'bt') is

#0xf7e77d04 in ?? ()

in this case. I would have expected something more with debugging
symbols installed ...

(Another time, attaching to the locked-up xserver of etch, there was a
different result --- this time with a reliable cut-and-paste
transcript:

----------------------------------------------------------------

olaf:/home/olaf# ps ax

...
11417 tty7     S<s+   0:00 /usr/bin/X vt7 -dpi 100 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-F2DJ4V
...


olaf:/home/olaf# gdb -p 11417
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 11417
Reading symbols from /usr/bin/Xorg...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from /lib/tls/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/xorg/modules/fonts/libbitmap.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/fonts/libbitmap.so
Reading symbols from /usr/lib/xorg/modules/libpcidata.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libpcidata.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdbe.so
Reading symbols from /usr/lib/xorg/modules/libddc.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libddc.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdri.so
Reading symbols from /usr/lib/xorg/modules/linux/libdrm.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/linux/libdrm.so
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libextmod.so
Reading symbols from /usr/lib/xorg/modules/fonts/libfreetype.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/fonts/libfreetype.so
Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libglx.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libint10.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/librecord.so
Reading symbols from /usr/lib/xorg/modules/fonts/libtype1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/fonts/libtype1.so
Reading symbols from /usr/lib/xorg/modules/libvbe.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libvbe.so
Reading symbols from /usr/lib/xorg/modules/drivers/ati_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/ati_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input/kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input/mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/drivers/radeon_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/radeon_drv.so
Reading symbols from /usr/lib/xorg/modules/libvgahw.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libvgahw.so
Reading symbols from /usr/lib/xorg/modules/libx86emu.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libx86emu.so
Reading symbols from /usr/lib/xorg/modules/libshadowfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libshadowfb.so
Reading symbols from /usr/lib/xorg/modules/libi2c.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libi2c.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libfb.so
Reading symbols from /usr/lib/xorg/modules/libramdac.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libramdac.so
Reading symbols from /usr/lib/xorg/modules/libxaa.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libxaa.so
Reading symbols from /usr/lib/xorg/modules/multimedia/theatre_detect_drv.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/multimedia/theatre_detect_drv.so
Reading symbols from /usr/lib/dri/r300_dri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dri/r300_dri.so
Reading symbols from /lib/tls/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread -137656640 (LWP 11417)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libexpat.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdrm.so.2

warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
(no debugging symbols found)
0xf7de7678 in select () from /lib/tls/libc.so.6
(gdb) bt
#0  0xf7de7678 in select () from /lib/tls/libc.so.6
#1  0x08195289 in WaitForSomething ()
#2  0x08086b91 in Dispatch ()
#3  0x0806e699 in main ()
(gdb) Quit
(gdb) bt
#0  0xf7de7678 in select () from /lib/tls/libc.so.6
#1  0x08195289 in WaitForSomething ()
#2  0x08086b91 in Dispatch ()
#3  0x0806e699 in main ()
(gdb) Quit
(gdb) Quit
(gdb) Quit
(gdb) Quit
(gdb) bt
#0  0xf7de7678 in select () from /lib/tls/libc.so.6
#1  0x08195289 in WaitForSomething ()
#2  0x08086b91 in Dispatch ()
#3  0x0806e699 in main ()
(gdb) detach
Detaching from program: /usr/bin/Xorg, process 11417
(gdb) quit

--------------------------------------------------

but it turned out that in this case the xserver was not locked-up
anymore and displaying a login-widget with a very low screen
resolution (not the configured one); after logging in, the lockup
happened again, with a black screen. Confusing ...)

Olaf




Reply to: