Re: crash when sending attached TEXT/PLAIN file
Vadim Zeitlin <[email protected]> Fri, 8 Aug 2008 00:23:47 +0200
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 8 Aug 2008 01:05:39 +0300 Nerijus Baliunas <[email protected]> wrote: NB> Program received signal SIGSEGV, Segmentation fault. I can't reproduce it. Did you mean that it crashed when sending any text/plain attachment or some particular one? I just tried with an arbitrary .txt file and it seemed to work fine for me. NB> 0x082d359a in net_close (stream=0x0) at mail.c:6286 NB> 6286 if (stream->stream) (*stream->dtb->close) (stream->stream); NB> (gdb) bt NB> #0 0x082d359a in net_close (stream=0x0) at mail.c:6286 NB> #1 0x082ebd99 in smtp_close (stream=0x8db6ec0) at smtp.c:399 NB> #2 0x0820dc26 in SendMessageCC::Send (this=0x8d2a600, flags=0) at .src/mail/SendMessageCC.cpp:1916 Looking at the code in smtp.c this is only possible if stream->netstream was lost during smtp_send("QUIT") execution. This is not normal, of course, but it seems like the code should check for it. I committed a (blind) fix. Please let me know if you still can reproduce this, VZ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mahogany-Developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iEYEABECAAYFAkibdfMACgkQBupB3k9sHoYPqgCdFG5t13V1lOx8Dqo+Ir9+45Jw E7QAniBlkPkZij0IevgoUOcuq5FCJskn =yPsM -----END PGP SIGNATURE-----