[Openais] Re: latest svn tree

Mark Haverkamp markh at osdl.org
Thu Apr 27 14:03:19 PDT 2006


On Thu, 2006-04-27 at 13:49 -0700, Steven Dake wrote:
> Mark
> 
> I found some missing pthread_mutex_unlock's in error conditions which
> could cause the problem you describe.  Try this patch

OK, I'm trying it out right now.  Here is the gdb trace from the
previously stuck aisexec processes for you to look at anyway.

Mark.

1st machine:

(gdb) thread 1
[Switching to thread 1 (Thread -151132480 (LWP 891))]#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00b8421e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x00b80dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
#3  0xfef41ed8 in ?? ()
#4  0x00a066b6 in poll () from /lib/tls/libc.so.6
#5  0x0804b9e0 in poll_run ()
(gdb) thread 2
[Switching to thread 2 (Thread -155704752 (LWP 5880))]#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00b8421e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x00b80dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
#3  0xf6b80a38 in ?? ()
#4  0x00a066b6 in poll () from /lib/tls/libc.so.6
#5  0x08062a75 in prioritized_poll_thread ()
#6  0xffffffff in ?? ()
#7  0xf6b81ae4 in ?? ()
#8  0x00000004 in ?? ()
#9  0x00000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread -156786096 (LWP 897))]#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00a066a4 in poll () from /lib/tls/libc.so.6
#2  0x08062a62 in prioritized_poll_thread ()
#3  0xffffffff in ?? ()
#4  0xf6a79ae4 in ?? ()
#5  0x00000004 in ?? ()
#6  0x00000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread -156425648 (LWP 896))]#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x0092e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00b8421e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x00b80dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
#3  0xf6ad0a38 in ?? ()
#4  0x00a066b6 in poll () from /lib/tls/libc.so.6
#5  0x08062a75 in prioritized_poll_thread ()
#6  0xffffffff in ?? ()
#7  0xf6ad1ae4 in ?? ()
#8  0x00000004 in ?? ()
#9  0x00000000 in ?? ()

2nd machine:
(gdb) thread 1
[Switching to thread 1 (Thread -151132480 (LWP 19918))]#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x008ac21e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x008a8dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
#3  0xfee7d1b8 in ?? ()
#4  0x0072e6b6 in poll () from /lib/tls/libc.so.6
#5  0x0804b9e0 in poll_run ()
(gdb) thread 2
[Switching to thread 2 (Thread -155704752 (LWP 27184))]#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x008ac21e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x008a8dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
#3  0xf6b80a38 in ?? ()
#4  0x0072e6b6 in poll () from /lib/tls/libc.so.6
#5  0x08062a75 in prioritized_poll_thread ()
#6  0xffffffff in ?? ()
#7  0xf6b81ae4 in ?? ()
#8  0x00000004 in ?? ()
#9  0x00000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread -156065200 (LWP 27183))]#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x0072e6a4 in poll () from /lib/tls/libc.so.6
#2  0x08062a62 in prioritized_poll_thread ()
#3  0xffffffff in ?? ()
#4  0xf6b29ae4 in ?? ()
#5  0x00000004 in ?? ()
#6  0x00000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread -156786096 (LWP 19924))]#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x0072e6a4 in poll () from /lib/tls/libc.so.6
#2  0x08062a62 in prioritized_poll_thread ()
#3  0xffffffff in ?? ()
#4  0xf6a79ae4 in ?? ()
#5  0x00000004 in ?? ()
#6  0x00000000 in ?? ()
(gdb) thread 5
[Switching to thread 5 (Thread -156425648 (LWP 19923))]#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x006567a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x0072e6a4 in poll () from /lib/tls/libc.so.6
#2  0x08062a62 in prioritized_poll_thread ()
#3  0xffffffff in ?? ()
#4  0xf6ad1ae4 in ?? ()
#5  0x00000004 in ?? ()
#6  0x00000000 in ?? ()


> > 
-- 
Mark Haverkamp <markh at osdl.org>




More information about the Openais mailing list