Re: smime segmentation fault
* Brendan Cully <brendan@xxxxxxxxxx> [Jul 24. 2005 02:36]:
> Does the attached patch solve the problem?
No. I produces a different segfault though.
(gdb) bt
#0 smime_decrypt_mime (fpin=0x8147ff0, fpout=0xbfffe150, b=0x815e1b8,
cur=0xbfffe154) at smime.c:1910
#1 0x08056e5a in crypt_smime_decrypt_mime (a=0xbfffe154, b=0xbfffe154,
c=0xbfffe154, d=0xbfffe154) at cryptglue.c:287
#2 0x080963a6 in mutt_view_attachments (hdr=0x815c218) at recvattach.c:927
#3 0x0806572b in mutt_index_menu () at curs_main.c:2087
#4 0x0807c105 in main (argc=3, argv=0xbffff244) at main.c:940
#5 0x40202e90 in __libc_start_main () from /lib/tls/libc.so.6
#6 0x0804c641 in _start () at start.S:119
> On Thursday, 21 July 2005 at 11:32, Mads Martin Joergensen wrote:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x40247d0b in fputc () from /lib/tls/libc.so.6
> > (gdb) bt
> > #0 0x40247d0b in fputc () from /lib/tls/libc.so.6
> > #1 0x080af9f6 in state_attach_puts (
> > t=0x80e0430 "[-- Error: unable to create OpenSSL subprocess! --]\n",
> > s=0xbfffe2ec) at muttlib.c:1291
> > #2 0x080bc60d in smime_handle_entity (m=0x8136218, s=0xbfffe2ec,
> > outFile=0x8138750) at smime.c:1729
> > #3 0x080bca24 in smime_decrypt_mime (fpin=0x8121208, fpout=0xbfffe3d8,
> > b=0x8136218, cur=0xbfffe3e0) at smime.c:1907
> > #4 0x0809a1ef in mutt_view_attachments (hdr=0x8135598) at recvattach.c:927
> > #5 0x08066582 in mutt_index_menu () at curs_main.c:2087
> > #6 0x0807e55e in main (argc=3, argv=0xbffff244) at main.c:940
> > #7 0x40202e90 in __libc_start_main () from /lib/tls/libc.so.6
> > #8 0x0804c871 in _start () at start.S:119
> > (gdb) frame 1
> > #1 0x080af9f6 in state_attach_puts (
> > t=0x80e0430 "[-- Error: unable to create OpenSSL subprocess! --]\n",
> > s=0xbfffe2ec) at muttlib.c:1291
> > 1291 state_putc (*t, s);
> > (gdb) print s->fpout
> > $1 = (FILE *) 0x0
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.