Re: segfault in mailmbox_append_message_list_no_lock / mmap full mbox
DINH Viet Hoa <[email protected]> Sun, 5 Mar 2006 13:02:49 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <etPan.440ad369.1b38814c.4dc1@utopia> |
Florian Lohoff wrote : > Hi, > i am getting segfaults in mailmbox_append_message_list_no_lock with a > simple application of mine copying folder contents from maildir to an > mbox. This does happen irregularly so i compiled libetpan with debugging > symbols and let it run. Over the day it copied 66k mails to the mbox > before crashing. can you show your code ? > It seems the mbox mmap does not succeed but still continues. Anyway - I > guess so far libetpan is the wrong library for me because i am expecting > mailfolder much larger than 2GB (for archive reasons) and i see the > mailmbox_map mmaps the full file which wont work on 32bit archs anyway. If you have some code to read a mbox, a driver could be written to avoid this limitation. -- DINH V. Hoa, "sunZ ! capitaine de soirées"
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBECtPb7w+pfAWHa3MRAm12AJwNfKGPWaBBH6yN833RfVVch8YaOACfdivJ VgCQ1aweM783Eu0YoOqdHpg= =ya9m -----END PGP SIGNATURE-----