Sophie 3.03 hang

David Birnbaum <[email protected]> Thu, 8 Apr 2004 13:29:07 -0400 (EDT)
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
Howdy,

I got sophie to hang again today.  It had three running threads:

13961:  /usr/local/sbin/sophie -D
-----------------  lwp# 1 / thread# 1  --------------------
 ff09ec58 sigsuspend (ffbeecf0)
 ff056614 _usleep  (0, ff0bc000, a, 1, 20ae8, 122d8) + 1e0
 feedaad0 usleep   (2, ffffffff, ffbefe08, 296c8, 0, 0) + 34
 00011884 _start   (0, 0, 0, 0, 0, 0) + 5c
-----------------  lwp# 2 / thread# 2  --------------------
 ff09eb58 signotifywait ()
 feece950 _dynamiclwps (feeec000, 0, 0, 0, 0, fef0652e) + 1c
 ff09a000 thr_errnop (0, 0, 0, 0, 0, 0) + 20
-----------------  lwp# 3 / thread# 3  --------------------
 ff09f208 lwp_sema_wait (feb0de60)
 feec96dc _park    (feb0de60, feeec000, 0, feb0dd98, 2316c, 0) + 114
 feec93a4 _swtch   (feb0dd98, feb0dd98, feeec000, 5, 1000, 1) + 424
 feecd9b8 _reap_wait (feef0980, feeec000, 0, feeec000, 0, 0) + 38
 feecd710 _reaper  (feeece00, feef2708, feef0980, feeecdd8, 1, fe401000) + 38
 feedb01c _thread_start (0, 0, 0, 0, 0, 0) + 40

The socket was still in /var/run/sophie, but it wasn't taking any new
connections (seemed to error with "bad file number" after the accept).  I
have a truss, also (not terribly helpful):

sigsuspend(0xFFBEECF0)          (sleeping...)
signotifywait()                 (sleeping...)
lwp_sema_wait(0xFEB0DE60)       (sleeping...)

Any thoughts?  Any additional diags to try and grab?  I have an lsof
output, as well:

COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
sophie  13961 root  cwd   VDIR   85,0      512 129113 /root
sophie  13961 root  txt   VREG   85,0   283860 360211 /opt/sophie/3.03/sbin/sophie
sophie  13961 root  txt   VREG   85,0   183516  28115 /usr/lib/libthread.so.1
sophie  13961 root  txt   VREG   85,0   908344  28111 /usr/lib/libnsl.so.1
sophie  13961 root  txt   VREG   85,0    17096 149273 /usr/platform/sun4u/lib/libc_psr.so.1
sophie  13961 root  txt   VREG   85,0  1157900  28108 /usr/lib/libc.so.1
sophie  13961 root  txt   VREG   85,0    46932  27382 /usr/lib/libaio.so.1
sophie  13961 root  txt   VREG   85,0  1899680 265048 / (/dev/md/dsk/d0)
sophie  13961 root  txt   VREG   85,0    24968  27418 /usr/lib/libmp.so.2
sophie  13961 root  txt   VREG   85,0    41592  27434 /usr/lib/librt.so.1
sophie  13961 root  txt   VREG   85,0    38904  28113 /usr/lib/libpthread.so.1
sophie  13961 root  txt   VREG   85,0    70864  27527 /usr/lib/libsocket.so.1
sophie  13961 root  txt   VREG   85,0     5292  27375 /usr/lib/libdl.so.1
sophie  13961 root  txt   VREG  85,20      128 175692 /var/ld/ld.config
sophie  13961 root  txt   VREG   85,0   238576  27436 /usr/lib/ld.so.1
sophie  13961 root    0u  VCHR   13,2      0t0 305383 /devices/pseudo/mm@0:null
sophie  13961 root    1u  VCHR   13,2      0t0 305383 /devices/pseudo/mm@0:null
sophie  13961 root    2u  VCHR   13,2      0t0 305383 /devices/pseudo/mm@0:null
sophie  13961 root    3r  DOOR  263,0      0t0   5404 /etc/.name_service_door
sophie  13961 root    4u  unix 105,24      0t0 305391 /devices/pseudo/tl@0:ticots->/var/run/sophie (0x30004100da0) (Vnode=0x3000ab52910)

David.