Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 08:10:25 +0400
From:      Maxim Maximov <mcsi@mcsi.pp.ru>
To:        current@freebsd.org
Subject:   Re: XMMS or SCHED_ULE issue?
Message-ID:  <41048431.2010303@mcsi.pp.ru>
In-Reply-To: <4103A23A.2000804@mcsi.pp.ru>
References:  <4103A23A.2000804@mcsi.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Maximov wrote:
> Hi.
> 

Now I realized another strange problem. A couple of WindowNaker dock 
applications sometimes can't start normally. Today doesn't start wmmon 
and wmbsdbatt. They actually started but nothing shows in the dock.
Attaching to the processes reveal similar things. They waited for 
something in poll(). Right after 'continue' in gdb, their windows 
started to show what they should. What's happening? Maybe this is an X 
issue? Or 'device radeondrm'?


mcsi@ultra(ttyp2) [93] ~# gdb /usr/local/bin/wmbsdbatt 586
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "i386-marcel-freebsd"...(no debugging symbols 
found)...
Attaching to program: /usr/local/bin/wmbsdbatt, process 586
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from 
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
0x281b467f in poll () from /lib/libc.so.5
(gdb) bt
#0  0x281b467f in poll () from /lib/libc.so.5
#1  0x280b06ce in _XWaitForWritable () from /usr/X11R6/lib/libX11.so.6
#2  0x280b1caa in _XSend () from /usr/X11R6/lib/libX11.so.6
#3  0x280a6e4f in SendZImage () from /usr/X11R6/lib/libX11.so.6
#4  0x280a712c in PutImageRequest () from /usr/X11R6/lib/libX11.so.6
#5  0x280a723f in PutSubImage () from /usr/X11R6/lib/libX11.so.6
#6  0x280a776e in XPutImage () from /usr/X11R6/lib/libX11.so.6
#7  0x28163dfc in xpmCreatePixmapFromImage () from 
/usr/X11R6/lib/libXpm.so.4
#8  0x28162881 in XpmCreatePixmapFromData () from /usr/X11R6/lib/libXpm.so.4
#9  0x0804a779 in ?? ()
#10 0x08052000 in ?? ()
#11 0x00e00001 in ?? ()
#12 0x080504a0 in __progname ()
#13 0x08050acc in environ ()
#14 0x08049101 in ?? ()
#15 0x080504a0 in __progname ()
#16 0x08050acc in environ ()
Previous frame inner to this frame (corrupt stack?)
(gdb) cont
Continuing.


mcsi@ultra(ttyp1) [91] ~# gdb /usr/X11R6/bin/wmmon 585
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "i386-marcel-freebsd"...(no debugging symbols 
found)...
Attaching to program: /usr/X11R6/bin/wmmon, process 585
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libkvm.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libkvm.so.2
Reading symbols from /lib/libdevstat.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libdevstat.so.4
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
0x281bf67f in poll () from /lib/libc.so.5
(gdb) bt
#0  0x281bf67f in poll () from /lib/libc.so.5
#1  0x280ce6ce in _XWaitForWritable () from /usr/X11R6/lib/libX11.so.6
#2  0x280cfcaa in _XSend () from /usr/X11R6/lib/libX11.so.6
#3  0x280c4e4f in SendZImage () from /usr/X11R6/lib/libX11.so.6
#4  0x280c512c in PutImageRequest () from /usr/X11R6/lib/libX11.so.6
#5  0x280c523f in PutSubImage () from /usr/X11R6/lib/libX11.so.6
#6  0x280c576e in XPutImage () from /usr/X11R6/lib/libX11.so.6
#7  0x28098dfc in xpmCreatePixmapFromImage () from 
/usr/X11R6/lib/libXpm.so.4
#8  0x28097881 in XpmCreatePixmapFromData () from /usr/X11R6/lib/libXpm.so.4
#9  0x0804b8d2 in GetXPM ()
#10 0x0804bf16 in openXwindow ()
#11 0x0804993b in wmmon_routine ()
#12 0x0804959f in main ()
(gdb) 0
Undefined command: "0".  Try "help".
(gdb) ?
Undefined command: "".  Try "help".
(gdb) cont
Continuing.


> 
> 
> # uname -a
> FreeBSD ultra.domain 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Fri Jul 23 
> 03:27:52 MSD 2004     root@:/usr/obj/usr/src/sys/ULTRA  i386
> 
> System is P4-3.0GHz with HTT enabled. SMP kernel. Kernel config is 
> generic. Preemption disabled. Any ideas?
>     


-- 
Maxim Maximov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41048431.2010303>