Whopee, just right now mutt core dumped on me while sending a mail.
>From the maillog it looks like the mail got correctly sent, but I'll
check this with the person I mailed, as soon as he gets back.
gdb says the following:
matrix:~>gdb Project/mutt/old_bin/mutt-0.95.6 mutt.core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for
details.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x20066080.
#0 0x3d189 in reap_children () at signal.c:56
56 if (PidList[i])
(gdb) bt
#0 0x3d189 in reap_children () at signal.c:56
#1 0x3d34d in sighandler (sig=20) at signal.c:121
#2 0xefbfdfdc in ?? ()
#3 0x408ce in safe_realloc (p=0x571f8, siz=8) at lib.c:317
#4 0x3d227 in mutt_add_child_pid (pid=23626) at signal.c:85
#5 0x3c3a8 in send_msg (path=0xda740 "/home/sec/bin/spam_wrapper",
args=0xdbd00, msg=0xefbfb4f4 "/tmp/mutt-matrix-23497-20",
tempfile=0xefbfb4bc) at sendlib.c:1555
#6 0x3c77e in mutt_invoke_sendmail (to=0xbcfd0, cc=0x0, bcc=0x0,
msg=0xefbfb4f4 "/tmp/mutt-matrix-23497-20", eightbit=0) at sendlib.c:1690
#7 0x390cd in send_message (msg=0xdd080) at send.c:826
#8 0x39e7c in ci_send_message (flags=1, msg=0xdd080, tempfile=0x0,
ctx=0xa5200, cur=0xd8f80) at send.c:1332
#9 0x2d034 in mutt_pager (banner=0x0,
fname=0xefbfc5a4 "/tmp/mutt-matrix-23497-16", flags=66, extra=0xefbfc190)
at pager.c:2378
#10 0x6fbf in mutt_display_message (cur=0xd8f80) at commands.c:170
#11 0xfd60 in mutt_index_menu () at curs_main.c:960
#12 0x22cb5 in main (argc=2, argv=0xefbfd358) at main.c:682
(gdb) print i
$1 = 0
(gdb) print PidList
$2 = (int *) 0x0
mutt was called via "mutt -Z" the the (maybe) relevant snippets of my
.muttrc are:
set sendmail_wait=1
and
set sendmail="~/bin/spam_wrapper /usr/sbin/sendmail -oi -oem -t"
(where spam_wrapper is a perl script which just records the outgoing
adresses, fiddles the headers a bit, an then writes the mail out to
sendmail via open(MAIL,"|".join(" ",@ARGV)) )
Come to think of it, this -t is probably wrong, but funnily enough it
worked all the time (and shouldn't cause a core)
CU,
Sec
P.S.: mutt -v
Mutt 0.95.6i (1999-06-03)
Copyright (C) 1996-8 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: FreeBSD 2.2.7-STABLE [using ncurses 1.8.6/ache]
Compile options:
-DOMAIN
-HOMESPOOL -USE_SETGID -USE_DOTLOCK +USE_FCNTL -USE_FLOCK
-USE_IMAP -USE_POP +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP2
-BUFFY_SIZE
-EXACT_ADDRESS -ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/local/bin/ispell"
_PGPPATH="/usr/local/bin/pgp"
_PGPV2PATH="/usr/local/bin/pgp"
To contact the developers, please mail to <[EMAIL PROTECTED]>.
Feature patch: previous-jump 0.94.7 by Stefan `Sec` Zehl
Feature patch: score_auto 0.94.7 by Stefan `Sec` Zehl
Feature patch: word_chars 0.94.7 by Vikas Agnihotri
Feature patch: ed_mtime 0.95.3 by Byrial Jensen
Bugfix patch: keyattach 0.95.3 by Byrial Jensen
Feature patch: status-time 0.95.4 by Byrial Jensen
Feature patch: expand_hook 0.95.4 by Stefan `Sec` Zehl
Bugfix patch: keypad 0.95.4 by Stefan `Sec` Zehl
Feature patch: mailcap-fix 0.95.4 by Stefan `Sec` Zehl
Feature patch: reverse-reply 0.95.4 by Stefan `Sec` Zehl
Feature patch: print_index 0.95.4 by Vikas Agnihotri
Feature patch: mark-old 0.95.6 by A.S. ?
Feature patch: hash_destroy 0.95 by Byrial Jensen
Feature patch: condense_pgp 0.95 by Stefan `Sec` Zehl
Hack: position_on_new 0.95 by Stefan `Sec` Zehl
Bloat patch: X-Backlog 0.94.7 by Stefan `Sec` Zehl
Feature patch: pager_status_on_top 0.94.7 by Stefan `Sec` Zehl
Feature patch: %_ 0.94.12 by O'Shaughnessy Evans
--
"Computers make very fast, very accurate, mistakes."