segfault in mx_update_context()
- To: mutt-dev@xxxxxxxx
- Subject: segfault in mx_update_context()
- From: Jukka Salmi <j+mutt@xxxxxxxxxxxxx>
- Date: Sat, 7 Jun 2008 15:33:11 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=salmi.ch; s=mx1; t=1212845592; i=@xxxxxxxxxxxxx; bh=s6uBTjGxiN4s08D0MfnfNZMjSmReeF0O 8OQ+R02bFUo=; h=Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=TSNz3m7kgg+fN8IQj6TVjZrpQJu/jNgDMU78PqQlR4zjM/KMpR pEoPv92k5taVMKsFd353piRC0GqYUYsqXbcifYu3lvR53KzSVZFC7o89SayGsPL/uIB /R62ozAeDRClgsuGCS3N3rkJVjDCWx9Y4C0LWctCNFAN68RWxO4OHsi4x7Qc8d5RrJ8 HFfwK8Yxua/+DFfhD02w6n5YbrVepT3tCdFB6JIL5vUm8IW8/JQXmBQwMl2W0Q1Qt4j mB4bz962aQUJRQYyhoF+0RF1FP9e6tbyGNz/HmwRKBpwL33to9dcLZhvz6ra+PGCmTN jvp3JyMbMvj2nA6m0v8CDiXw==
- Domainkey-signature: a=rsa-sha1; s=mx1; d=salmi.ch; c=simple; q=dns; h=received:date:from:to:subject:message-id: mail-followup-to:mime-version:content-type:content-disposition:x-client-os:user-agent; b=LWIPFlpIXiQy9t9R3oTmEgud8FWEoF/5OcxU8ksxjecVcp9fdy/SWguhhhaxy006G w11EApmOYhuBe6o6uKbDGwi6vTEUxdLwFAel1MXaHU/taf8NIHO4HjuZz2VChTMu19H Yk0I9HeoVvH1MqehDGLMjG6hjkUAccp9aQ3tDFsDQeXTdzFMHeq41DXSzssaz7kBU8W Hx9TVzr7ZyXrUcwtrbN4h2ySgOBTZXnDWqzHzYOtcqR9X0/pJLhVViYVVze78/ak3mG sZSizyqyVTfUh26uWze7tga58W7modz483I0ct6NiuhtScepH20ZpaP/rrb/491+7TR W/DpCqhdw==
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-29)
Hello,
some days ago Mutt crashed as follows:
$ gdb /usr/local/bin/mutt mutt.core
GNU gdb 6.5
[...]
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
#0 0x080807f7 in mx_update_context (ctx=0xbb629380, new_messages=6) at
mx.c:1561
1561 h->security = crypt_query (h->content);
(gdb) bt
#0 0x080807f7 in mx_update_context (ctx=0xbb629380, new_messages=6) at
mx.c:1561
#1 0x080c7cf3 in imap_read_headers (idata=0xbb6c20f0, msgbegin=31, msgend=31)
at message.c:346
#2 0x080c0beb in imap_cmd_finish (idata=0xbb6c20f0) at command.c:308
#3 0x080c2ae5 in imap_check_mailbox (ctx=0xbb629380, index_hint=0xbfbfdd30,
force=0) at imap.c:13
#4 0x0805f9bd in mutt_index_menu () at curs_main.c:485
#5 0x08078388 in main (argc=2, argv=0xbfbfea74) at main.c:999
(gdb)
Not sure what caused this crash, and thus I can't reproduce it. Any
hints? Core file is still available, in case this helps...
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~