On Mon, 4 Feb 2008 13:26:14 -0800 (PST), you wrote:

>On Sat, 2 Feb 2008, Andrew Haveland-Robinson wrote:
>> *** glibc detected *** /usr/bin/dkim-filter: free(): invalid next size
>> (fast): 0x000000000086bcf0 ***
>
>Unfortunately this doesn't tell me much other than the fact that the heap 
>was somehow corrupted.  It's impossible to tell from the diagnostics I've 
>seen so far whether the problem is in dkim-milter or (as Tonni is 
>suggesting) in the 64-bit verison of glibc.
>
>For those of you having the problem: If you go into the libdkim directory 
>and type "sh Build check", do all of the tests pass?

Here are some of the results of ./Build check:

sh Build check
Configuration: pfx=, os=Linux, rel=2.6.23.1-10.fc7, rbase=2,
rroot=2.6.23.1-10, arch=x86_64, sfx=, variant=optimized
Making in
/etc/mail/dkim/dkim-milter-2.4.2/obj.Linux.2.6.23.1-10.fc7.x86_64/libdkim
make t-setup  t-test00  t-test01  t-test02  t-test03  t-test04  t-test05
t-test06  t-test07  t-test08  t-test09  t-test10  t-test11  t-test12
t-test13  t-test14  t-test15  t-test16  t-test17  t-test18  t-test19
t-test20  t-test21  t-test22  t-test23  t-test24  t-test25  t-test26
t-test27  t-test28  t-test29  t-test30  t-test31  t-test32  t-test33
t-test34  t-test35  t-test36  t-test37  t-test38  t-test39  t-test40
t-test41  t-test42  t-test43  t-test44  t-test45  t-test46  t-test47
t-test48  t-test49  t-test50  t-test51  t-test52  t-test53  t-test54
t-test55  t-test56  t-test57  t-test58  t-test59  t-test60  t-test61
t-test62  t-test63  t-test64  t-test65  t-test66  t-test67  t-test68
t-test69  t-test70  t-test71  t-test72  t-test73  t-test74  t-test75
t-test76  t-test77  t-test78  t-test79  t-test80  t-test81  t-test82
t-cleanup
make[1]: Entering directory
`/etc/mail/dkim/dkim-milter-2.4.2/obj.Linux.2.6.23.1-10.fc7.x86_64/libdkim'
cc -g -I. -I../../include  -I/usr/include/db4  -I/usr/include
-I/usr/include/tre  -DNEED_FAST_STRTOUL -D_FFR_DIFFHEADERS
-D_FFR_QUERY_CACHE  -D_FFR_SELECT_CANONICALIZATION  -D_FFR_STATS  -D_FFR_VBR
-D_FFR_LOG_SSL_ERRORS   -D_REENTRANT -DXP_MT   -c -o t-setup.o t-setup.c
cc -o t-setup -lpthread -L/usr/lib  -L/usr/lib  -L/usr/lib  t-setup.o
libdkim.a
/etc/mail/dkim/dkim-milter-2.4.2/obj.Linux.2.6.23.1-10.fc7.x86_64/libsm/libsm.a
-ldb -ldl -ldb  -lssl -ltre  -lssl -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libdb.so when searching for -ldb
/usr/bin/ld: skipping incompatible /usr/lib/libtre.so when searching for
-ltre
/usr/bin/ld: skipping incompatible /usr/lib/libtre.so when searching for
-ltre
/usr/bin/ld: skipping incompatible /usr/lib/libtre.so when searching for
-ltre
cc -g -I. -I../../include  -I/usr/include/db4  -I/usr/include
-I/usr/include/tre  -DNEED_FAST_STRTOUL -D_FFR_DIFFHEADERS
-D_FFR_QUERY_CACHE  -D_FFR_SELECT_CANONICALIZATION  -D_FFR_STATS  -D_FFR_VBR
-D_FFR_LOG_SSL_ERRORS   -D_REENTRANT -DXP_MT   -c -o t-test00.o t-test00.c

<-- snip -->
few thousand similar lines deleted...
...
===================
All 85 tests passed
===================
make[1]: Leaving directory
`/etc/mail/dkim/dkim-milter-2.4.2/obj.Linux.2.6.23.1-10.fc7.x86_64/libdkim'

I just got another abort and this time did a 'where' :

>*** glibc detected *** /usr/bin/dkim-filter: free(): invalid next size (fast): 
>0x00000000008750c0 ***
>======= Backtrace: =========
>/lib64/libc.so.6[0x315ec70412]
>/lib64/libc.so.6(cfree+0x8c)[0x315ec73b1c]
>/usr/bin/dkim-filter[0x42b312]
>/usr/bin/dkim-filter[0x428023]
>/usr/bin/dkim-filter[0x428b28]
>/usr/bin/dkim-filter[0x420d8e]
>/usr/bin/dkim-filter[0x4259b2]
>/usr/bin/dkim-filter[0x409224]
>/usr/bin/dkim-filter[0x4173b2]
>/usr/bin/dkim-filter[0x414168]
>/usr/bin/dkim-filter[0x412e19]
>/lib64/libpthread.so.0[0x3160c062f7]
>/lib64/libc.so.6(clone+0x6d)[0x315ecd0fbd]
>======= Memory map: ========
>
>Program received signal SIGABRT, Aborted.
>[Switching to Thread 1115699536 (LWP 21712)]
>0x000000315ec305c5 in raise () from /lib64/libc.so.6
>(gdb) where
>#0  0x000000315ec305c5 in raise () from /lib64/libc.so.6
>#1  0x000000315ec32070 in abort () from /lib64/libc.so.6
>#2  0x000000315ec68d0b in __libc_message () from /lib64/libc.so.6
>#3  0x000000315ec70412 in _int_free () from /lib64/libc.so.6
>#4  0x000000315ec73b1c in free () from /lib64/libc.so.6
>#5  0x000000000042b312 in dkim_mfree (libhandle=0x871eb0, closure=0x0, 
>ptr=0x8750c0) at dkim-util.c:71
>#6  0x0000000000428023 in dkim_canon_selecthdrs (dkim=0x8760c0, 
>hdrlist=0x8753e0 "Date:Message-Id:Subject:To:Reply-to:From",
>    ptrs=0x875080, nptrs=6) at dkim-canon.c:510
>#7  0x0000000000428b28 in dkim_canon_runheaders (dkim=0x8760c0, signing=1) at 
>dkim-canon.c:931
>#8  0x0000000000420d8e in dkim_eoh_sign (dkim=0x8760c0) at dkim.c:2556
>#9  0x00000000004259b2 in dkim_eoh (dkim=0x8760c0) at dkim.c:5048
>#10 0x0000000000409224 in mlfi_eoh (ctx=0x873f80) at dkim-filter.c:2876
>#11 0x00000000004173b2 in mi_engine ()
>#12 0x0000000000414168 in mi_handle_session ()
>#13 0x0000000000412e19 in mi_thread_handle_wrapper ()
>#14 0x0000003160c062f7 in start_thread () from /lib64/libpthread.so.0
>#15 0x000000315ecd0fbd in clone () from /lib64/libc.so.6
>(gdb)

Cheers,
Andy.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to