[glynis at butterfly.hjsoft.com: Bug#180462: inn2: segfault in news.daily script and other oddities]

Marco d'Itri md at Linux.IT
Wed Feb 12 14:50:52 UTC 2003


On Feb 12, Marco d'Itri <md at Linux.IT> wrote:

 >I noticed that expireover dies on my system too (running CURRENT-20030205).
Stack trace:

(gdb) run -- -f - -z /tmp/rmfile
Starting program: /tmp/iii/inn2-2.3.999+20030205/expire/expireover -- -f - -z /tmp/rmfile

Program received signal SIGSEGV, Segmentation fault.
0x0fe4cb74 in mallopt () from /lib/libc.so.6
(gdb) where
#0  0x0fe4cb74 in mallopt () from /lib/libc.so.6
#1  0x0fe4b3f8 in realloc () from /lib/libc.so.6
#2  0x10030cfc in x_realloc (p=0x10059798, size=8, file=0x10036c08 "expire.c", 
    line=237) at xmalloc.c:102
#3  0x1001c34c in BuildGroups (active=0x266 <Address 0x266 out of bounds>)
    at expire.c:237
#4  0x1001d404 in OVfindheaderindex () at expire.c:672
#5  0x1001dab4 in OVhisthasmsgid (h=0x100593d0, 
    data=0x3001b000 "162925\tRe: NASA unrecovery\tRebecca Ore <ogoense.net at verizon.net>\tWed, 12 Feb 2003 05:34:30 GMT\t<m3lm0mhxjv.fsf at verizon.net>\t<1fpplv1.18z9uwq12bls55N%jim at magrathea.plus.com> <3e417783$0$49100$e4fe514c@"...)
    at expire.c:827
#6  0x10022290 in tdx_data_expire_start (
    group=0x10057209 "alt.sys\020\006\236J\020\006\236m", data=0x7ffff834, 
    index=0x7ffff8a8, history=0x100593d0) at tradindexed/tdx-data.c:816
#7  0x10024034 in tdx_expire (
    group=0x10057209 "alt.sys\020\006\236J\020\006\236m", low=0x7ffff918, 
    history=0x100593d0) at tradindexed/tdx-group.c:926
#8  0x10019480 in tradindexed_expiregroup (group=0xff157f4 "", low=0x7ffff990, 
    history=0x8) at tradindexed/tradindexed.c:343
#9  0x10008b08 in OVexpiregroup (group=0xff157f4 "", lo=0x100597a8, h=0x8)
    at ov.c:315
#10 0x10002214 in main (argc=268800976, argv=0x100593a8) at expireover.c:219
#11 0x0fdebe24 in __libc_start_main () from /lib/libc.so.6
(gdb)


(gdb) run -f - -z /tmp/rmfile
Starting program: /tmp/iii/inn2-2.3.999+20030205/expire/expireover -f - -z /tmp/rmfile
alt.sysadmin.recovery

Program received signal SIGSEGV, Segmentation fault.
0x0fe50794 in strlen () from /lib/libc.so.6
(gdb) where
#0  0x0fe50794 in strlen () from /lib/libc.so.6
#1  0x0fe1eb94 in vfprintf () from /lib/libc.so.6
#2  0x0fe401c0 in vsnprintf () from /lib/libc.so.6
#3  0x1002c7b0 in syswarn (format=0x10037a44 "tradindexed: cannot munmap %s")
    at messages.c:342
#4  0x10022fbc in index_unmap (index=0x1006aa60) at tradindexed/tdx-group.c:330
#5  0x10023b00 in tdx_index_close (index=0x1006aa60)
    at tradindexed/tdx-group.c:716
#6  0x10019584 in tradindexed_close () at tradindexed/tradindexed.c:402
#7  0x10008dcc in OVclose () at ov.c:369
#8  0x100022d8 in main (argc=268800992, argv=0x100593b8) at expireover.c:235
#9  0x0fdebe24 in __libc_start_main () from /lib/libc.so.6
(gdb) 

If I run it a second time on the same group it does not dies, I suppose
because the overview files have been truncated...

-- 
ciao,
Marco


More information about the inn-workers mailing list