It happens Segmentation fault in mailsession_get_messages_list() with cache mode while receive mail header from IMAP server
[email protected] Sun, 18 Nov 2007 04:05:44 -0500
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Hi libetpan guys When I use frm example code to receive mail headers from IMAP server (imap.aim.com) If I set cache directory and flags directory It happens Segmentation fault. The follow is debug message ====================================================================================== Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1215318352 (LWP 25630)] 0xb7d1ed5a in __memp_fopen () from /usr/lib/libdb-4.4.so (gdb) bt #0? 0xb7d1ed5a in __memp_fopen () from /usr/lib/libdb-4.4.so #1? 0xb7cd7341 in __db_dbenv_mpool () from /usr/lib/libdb-4.4.so #2? 0xb7d08378 in __fop_remove_setup () from /usr/lib/libdb-4.4.so #3? 0xb7cf31d4 in __db_remove_int () from /usr/lib/libdb-4.4.so #4? 0xb7cf35ce in __db_remove () from /usr/lib/libdb-4.4.so #5? 0xb7cf3702 in __db_remove_pp () from /usr/lib/libdb-4.4.so #6? 0xb7e2ed3f in mail_cache_db_open () from /usr/lib/libetpan.so.11 #7? 0xb7e2ee0c in mail_cache_db_open_lock () from /usr/lib/libetpan.so.11 #8? 0xb7e9ae58 in boostrap_cache () from /usr/lib/libetpan.so.11 #9? 0xb7e9b2d5 in imapdriver_cached_get_messages_list () from /usr/lib/libetpan.so.11 #10 0xb7e9e4eb in mailsession_get_messages_list () from /usr/lib/libetpan.so.11 #11 0x08048c9d in print_message_list (session=0x804bf30) at frm.c:22 #12 0x08048f09 in main (argc=0, argv=0x1) at frm.c:120 ======================================================================================== BUT if I do not set cache directory and flags directory It does not happen. And I saw there is something in my cache/flags director--> env.db.lock Do anyone know whats happen? Thank you :) ________________________________________________________________________ Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading spam and email virus protection. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libetpan-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libetpan-users