[nas] (resend) hard hang in libaoss.so

Paul Fox pgf at foxharp.boston.ma.us
Wed Jul 3 12:41:24 MDT 2013


okay, here's some progress, i think.

here's a gdb backtrace at the time of the hang.  it's clear that
we've gone reentrant, and either this hasn't mattered in the past,
or we're hitting a new race of some sort.

paul

 Program received signal SIGINT, Interrupt.
 0xb7d887e4 in __lll_lock_wait () from /lib/libpthread.so.0
 (gdb) where
 #0  0xb7d887e4 in __lll_lock_wait () from /lib/libpthread.so.0
 #1  0xb7d83e7d in _L_lock_748 () from /lib/libpthread.so.0
 #2  0xb7d83ca1 in pthread_mutex_lock () from /lib/libpthread.so.0
 #3  0xb7f69c86 in pthread_mutex_lock () from /lib/libc.so.6
 #4  0xb7debd35 in ?? () from /usr/lib/libasound.so.2
 #5  0xb7e26ce3 in ?? () from /usr/lib/libasound.so.2
 #6  0xb7e2705e in snd_pcm_rate_open () from /usr/lib/libasound.so.2
 #7  0xb7e2bd92 in ?? () from /usr/lib/libasound.so.2
 #8  0xb7e2c410 in ?? () from /usr/lib/libasound.so.2
 #9  0xb7e133b4 in ?? () from /usr/lib/libasound.so.2
 #10 0xb7e0e951 in snd_pcm_hw_params () from /usr/lib/libasound.so.2
 #11 0xb7e8ab65 in ?? () from /usr/lib/libalsatoss.so.0
 #12 0xb7e8b294 in ?? () from /usr/lib/libalsatoss.so.0
 #13 0xb7e8d0c7 in lib_oss_pcm_ioctl () from /usr/lib/libalsatoss.so.0
 #14 0xb7fddb6b in ioctl () from /usr/lib/libaoss.so
 #15 0x08055841 in disableProcessFlow () at auvoxware.c:1342
 #16 0x08051def in AuProcessData () at auprocess.c:988
 #17 0x08055389 in intervalProc (sig=14) at auvoxware.c:1146
 #18 <signal handler called>
 #19 0xb7f007e0 in malloc () from /lib/libc.so.6
 #20 0xb7ff0c44 in ?? () from /lib/ld-linux.so.2
 #21 0xb7ff4ad9 in ?? () from /lib/ld-linux.so.2
 #22 0xb7d95c0b in ?? () from /lib/libdl.so.2
 #23 0xb7ff0b36 in ?? () from /lib/ld-linux.so.2
 #24 0xb7d9609c in ?? () from /lib/libdl.so.2
 #25 0xb7d95b41 in dlopen () from /lib/libdl.so.2
 #26 0xb7debcc8 in snd_dlopen () from /usr/lib/libasound.so.2
 #27 0xb7debf27 in ?? () from /usr/lib/libasound.so.2
 #28 0xb7e26ce3 in ?? () from /usr/lib/libasound.so.2
 #29 0xb7e2705e in snd_pcm_rate_open () from /usr/lib/libasound.so.2
 #30 0xb7e2bd92 in ?? () from /usr/lib/libasound.so.2
 #31 0xb7e2c410 in ?? () from /usr/lib/libasound.so.2
 #32 0xb7e133b4 in ?? () from /usr/lib/libasound.so.2
 #33 0xb7e0e951 in snd_pcm_hw_params () from /usr/lib/libasound.so.2
 #34 0xb7e8ab65 in ?? () from /usr/lib/libalsatoss.so.0
 #35 0xb7e8b294 in ?? () from /usr/lib/libalsatoss.so.0
 #36 0xb7e8d0c7 in lib_oss_pcm_ioctl () from /usr/lib/libalsatoss.so.0
 #37 0xb7fddb6b in ioctl () from /usr/lib/libaoss.so
 #38 0x08055841 in disableProcessFlow () at auvoxware.c:1342
 #39 0x08051b2a in AuStartFlow (newFlow=0x808b440, pOldFlow=0xbfffeffc)
     at auprocess.c:347
 #40 0x0804ee63 in AuProcessClockedFlows () at auutil.c:902
 #41 0x08051ddc in AuProcessData () at auprocess.c:986
 #42 0x08055389 in intervalProc (sig=14) at auvoxware.c:1146
 #43 <signal handler called>
 #44 0xb7f55f68 in select () from /lib/libc.so.6
 #45 0xb7fdd975 in select () from /usr/lib/libaoss.so
 #46 0x080582f4 in WaitForSomething (pClientsReady=0xbffff6b0) at WaitFor.c:250
 #47 0x08053f12 in Dispatch () at dispatch.c:133
 #48 0x0804973e in main (argc=3, argv=0xbffff9b4) at main.c:185


----------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 80.4 degrees)


More information about the nas mailing list