On Fri, Feb 01, 2008 at 09:56:47AM -0800, Murray S. Kucherawy wrote:
>If it fails reliably, here's what I'd try:
>1) Edit your configuration and set AutoRestart and Background to "False".
>
>2) % gdb <path-to-dkim-filter>
> (loads dkim-filter into the debugger)
>
>3) (gdb) run <your usual startup arguments here>
> (begins execution inside the debugger)
>
>When it fails, type "where", and paste the output of that.
>
>Also try "list"; if gdb knows where your source code is, the line of C
>code that failed will be shown. By the looks of things it's a call to
>free() with some parameter inside the parentheses. If that's the case,
>also type "print x" (where "x" is the thing inside parentheses) and
>include the output of that as well.
>
>-MSK
It is 100% reproducable, it is x86_64 (Fedora Core 7, see my first email for
full build info)
(gdb) where
#0 0x00000034f2c305c5 in raise () from /lib64/libc.so.6
#1 0x00000034f2c32070 in abort () from /lib64/libc.so.6
#2 0x00000034f2c68d0b in __libc_message () from /lib64/libc.so.6
#3 0x00000034f2c70412 in _int_free () from /lib64/libc.so.6
#4 0x00000034f2c73b1c in free () from /lib64/libc.so.6
#5 0x00000000004324fe in dkim_mfree (libhandle=0x680db0, closure=0x0,
ptr=0x6895e0) at dkim-util.c:71
#6 0x000000000042eb73 in dkim_canon_selecthdrs (dkim=0x68b2d0,
hdrlist=0x689190 "DomainKey-Signature:To:Subject:Message-Id:Date:From",
ptrs=0x689150, nptrs=6) at dkim-canon.c:510
#7 0x000000000042f6b2 in dkim_canon_runheaders (dkim=0x68b2d0, signing=1) at
dkim-canon.c:931
#8 0x0000000000426e5f in dkim_eoh_sign (dkim=0x68b2d0) at dkim.c:2558
#9 0x000000000042b886 in dkim_eoh (dkim=0x68b2d0) at dkim.c:5084
#10 0x000000000040b93b in mlfi_eoh (ctx=0x68a540) at dkim-filter.c:2891
#11 0x000000000041ab52 in mi_engine ()
#12 0x0000000000417908 in mi_handle_session ()
#13 0x00000000004165b9 in mi_thread_handle_wrapper ()
#14 0x00000034f3c062f7 in start_thread () from /lib64/libpthread.so.0
#15 0x00000034f2cd0fbd in clone () from /lib64/libc.so.6
(gdb) list
4247 /*
4248 ** MAIN -- program mainline
4249 **
4250 ** Process command line arguments and call the milter mainline.
4251 */
4252
4253 int
4254 main(int argc, char **argv)
4255 {
4256 bool autorestart = FALSE;
(gdb)
Thanks,
Chip
--
------
**** Warning ****
This e-mail message, without warrant or warning, and despite US law as set
forth in the Foreign Intelligence Surveillance Act of 1978, may be subject
to monitoring by the United States National Security Agency and/or the
Department of Defense. Information contained in this message may be used
against any senders or recipients, now or in the future, in a public trial
or secret tribunal.
Please encrypt anything important.
PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x6CFA486D
-------------------------------------------------------------------------
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