Current-Users archive

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

ogg123 hanging, parked, and _lwp_park



xfmedia using libxine kept hanging on me.

I installed ogg123 (vorbis-tools) and it hung also when it first printed 
output but never began playing. top said "parked".

ktrace showed it was hanging here:

  2985      2 ogg123   RET   write 12592/0x3130
  2985      2 ogg123   CALL  _lwp_unpark(1,0x7f7ffa713028)
  2985      2 ogg123   RET   _lwp_unpark 0
  2985      2 ogg123   CALL  write(2,0x51da00,0x98)
  2985      2 ogg123   GIO   fd 2 wrote 152 bytes
       "\r                                                                    
\
               \rTime: 00:00.77 [02:22.02] of 02:22.79  ( 25.7 kbps)  
Output B\
        uffer  66.7% \r"
  2985      2 ogg123   RET   write 152/0x98
  2985      1 ogg123   RET   _lwp_park 0
  2985      1 ogg123   CALL  _lwp_park(0,0,0x7f7ffa713028,0x7f7ffa713028)
  2985      2 ogg123   CALL  write(4,0x7f7ffa729340,0x4000)

I couldn't kill or Ctrl-C or Ctrl-Z. But sigkill worked after about ten 
seconds. ktrace showed the following at that time:

+  2985      1 ogg123   RET   _lwp_park -1 errno 4 Interrupted system call
+  2985      1 ogg123   PSIG  SIGINT caught handler=0x408140 mask=())
+  2985      1 ogg123   CALL  gettimeofday(0x7f7fffffd230,0)
+  2985      1 ogg123   RET   gettimeofday 0
+  2985      1 ogg123   CALL  setcontext(0x7f7fffffd2d0)
+  2985      1 ogg123   RET   write JUSTRETURN
+  2985      1 ogg123   CALL  _lwp_park(0,0,0x7f7ffa713028,0x7f7ffa713028)
+  2985      2 ogg123   GIO   fd 4 wrote 4088 bytes
...
+  2985      2 ogg123   RET   write 4924/0x133c
+  2985      2 ogg123   PSIG  SIGKILL SIG_DFL
+  2985      1 ogg123   RET   _lwp_park -1 errno 4 Interrupted system call


NetBSD localhost 4.99.67 NetBSD 4.99.67 (GENERIC) #0: Thu Jun 26 23:34:48 
PDT 2008 
builds@wb28:/home/builds/ab/HEAD/amd64/200806270002Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
 
amd64


Home | Main Index | Thread Index | Old Index