On Thu, 30 Aug 2007, [EMAIL PROTECTED] wrote:

I'm noticing hang issues again with 0.91.2 on Solaris 10 x86. It doesn't
appear to be associated with a particularly malformed message because
when it starts hanging, if I restart it, things resume normally for a
while. The incoming queue clears out.

Here's some more.

[Switching to Thread 1 (LWP 1)]
0xfebf0857 in _so_accept () from /lib/libc.so.1
(gdb) thread apply all bt

Thread 22 (Thread 39        ):
#0  0xfebf047b in __lwp_park () from /lib/libc.so.1
#1  0xfebe9463 in mutex_lock_queue () from /lib/libc.so.1
#2  0xfebe9cff in slow_lock () from /lib/libc.so.1
#3  0xfebe9df5 in mutex_lock_impl () from /lib/libc.so.1
#4  0xfebe9f01 in pthread_mutex_lock () from /lib/libc.so.1
#5  0xfeb92f1d in malloc () from /lib/libc.so.1
#6  0xfebb400d in match_re_C () from /lib/libc.so.1
#7  0xfebb50e2 in match_re_C () from /lib/libc.so.1
#8  0xfebb5359 in match_re_C () from /lib/libc.so.1
#9  0xfebb4db2 in match_re_C () from /lib/libc.so.1
#10 0xfebb50e2 in match_re_C () from /lib/libc.so.1

... a whole ton of these ...

#237 0xfebb50e2 in match_re_C () from /lib/libc.so.1
#238 0xfebb4db2 in match_re_C () from /lib/libc.so.1
#239 0xfebb50e2 in match_re_C () from /lib/libc.so.1
#240 0xfebb4ba1 in match_re_C () from /lib/libc.so.1
#241 0xfebb3e2c in __regexec_C () from /lib/libc.so.1
#242 0xfebb86ec in regexec () from /lib/libc.so.1
#243 0xfef5600b in isURL (pchk=0x4d, URL=0xfebe9463 
"\203?\b\211E?\203?\004u\0053?\211E?j") at phishcheck.c:980
#244 0xfef56c0d in phishingScan (m=0xd3241b0, dir=0xd15b858 
"/var/amavis/clamd/clamav-2aa4fcc017ade96ab716e5d94a6dd92d", ctx=0xfe99d800,
    hrefs=0xfe99b140) at phishcheck.c:1210
#245 0xfef1cf11 in checkURLs (mainMessage=0xd3241b0, mctx=0xfe99d000, 
rc=0xfe99b25c, is_html=1) at mbox.c:3903
#246 0xfef1eaaa in parseEmailBody (messageIn=0xd3241b0, textIn=0x0, 
mctx=0xfe99d000, recursion_level=0) at mbox.c:2037
#247 0xfef20b86 in cli_mbox (dir=0xd15b858 
"/var/amavis/clamd/clamav-2aa4fcc017ade96ab716e5d94a6dd92d", desc=0, 
ctx=0xfe99d800) at mbox.c:1400
#248 0xfef17d51 in cli_scanmail (desc=35, ctx=0xfe99d800) at scanners.c:1644
#249 0xfef153fc in cli_magic_scandesc (desc=35, ctx=0xfe99d800) at 
scanners.c:1973
#250 0xfef19510 in cl_scandesc (desc=35, virname=0x4d, scanned=0x4d, 
engine=0xfebe9463, limits=0x4d, options=77) at scanners.c:2114
#251 0xfef1956e in cl_scanfile (filename=0xd32cc38 
"/var/amavis/tmp/amavis-20070830T151955-29751/parts/p002", virname=0xfe99d99c, 
scanned=0x0,
    engine=0xac4ba38, limits=0x8047d90, options=9783) at scanners.c:2142
#252 0x080583b4 in dirscan (dirname=0xfe99db19 
"/var/amavis/tmp/amavis-20070830T151955-29751/parts", virname=0xfe99d99c, 
scanned=0x0,
    engine=0xac4ba38, limits=0x8047d90, options=9783, copt=0x806f8f8, odesc=34, 
reclev=0xfe99d998, type=1, multi_pool=0x0) at scanner.c:214
#253 0x08058886 in scan (filename=0xfe99db19 
"/var/amavis/tmp/amavis-20070830T151955-29751/parts", scanned=0x0, 
engine=0xac4ba38,
    limits=0x8047d90, options=9783, copt=0x806f8f8, odesc=34, type=1) at 
scanner.c:359
#254 0x08056857 in command (desc=34, engine=0xac4ba38, limits=0x8047d90, 
options=9783, copt=0x806f8f8, timeout=120) at session.c:154
#255 0x08056f5e in scanner_thread (arg=0xd2e9e38) at server-th.c:105
#256 0x08056c9e in thrmgr_worker (arg=0xa0b4d18) at thrmgr.c:235
#257 0xfebf013d in _thr_setup () from /lib/libc.so.1
#258 0xfebf0420 in L3_doit () from /lib/libc.so.1
#259 0xfe880000 in ?? ()
#260 0x00000000 in ?? ()

Thread 21 (Thread 38 (LWP 38)):
#0  0xfebf047b in __lwp_park () from /lib/libc.so.1
#1  0xfebe9463 in mutex_lock_queue () from /lib/libc.so.1
#2  0xfebe9cff in slow_lock () from /lib/libc.so.1
#3  0xfebe9df5 in mutex_lock_impl () from /lib/libc.so.1
#4  0xfebe9f01 in pthread_mutex_lock () from /lib/libc.so.1
#5  0xfeb939f2 in free () from /lib/libc.so.1
#6  0xfebb586b in match_re_C () from /lib/libc.so.1
---Type <return> to continue, or q <return> to quit---
#7  0xfebb4db2 in match_re_C () from /lib/libc.so.1
#8  0xfebb50e2 in match_re_C () from /lib/libc.so.1
#9  0xfebb50e2 in match_re_C () from /lib/libc.so.1

....



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to