Public bug reported:

Binary package hint: mairix

When I try to index my mail with mairix 0.21 on Ubuntu lucid lynx I get
a segmentation fault, apparently always when parsing the same email.
The backtrace for the core file is:

 gdb /usr/bin/mairix core
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mairix...done.
[New Thread 5699]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...(no debugging 
symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...(no debugging 
symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Core was generated by `mairix -v'.
Program terminated with signal 11, Segmentation fault.
#0  0x0018a637 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x0018a637 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x0804f535 in do_multipart (src=<value optimised out>, body_start=<value 
optimised out>, body_len=<value optimised out>, ct_nvp=0xe758930, cte_nvp=0x0, 
cd_nvp=0x0, atts=0x1276a87c, error=0x0)
    at rfc822.c:828
#2  do_body (src=<value optimised out>, body_start=<value optimised out>, 
body_len=<value optimised out>, ct_nvp=0xe758930, cte_nvp=0x0, cd_nvp=0x0, 
atts=0x1276a87c, error=0x0) at rfc822.c:639
#3  0x0804fc95 in data_to_rfc822 (src=0x8062a74, data=0xb4e68000 <Address 
0xb4e68000 out of bounds>, length=155179, error=0x0) at rfc822.c:997
#4  0x080503b9 in make_rfc822 (filename=0x9f61770 
"/home/mark/Mail/mail-2002/6421") at rfc822.c:1376
#5  0x0804d1ac in scan_new_messages (db=0x8d4b658, sorted_paths=0xb694f008, 
n_msgs=326488, do_fast_index=0) at db.c:726
#6  update_database (db=0x8d4b658, sorted_paths=0xb694f008, n_msgs=326488, 
do_fast_index=0) at db.c:1014
#7  0x0804aa37 in main (argc=0, argv=<value optimised out>) at mairix.c:721
(gdb) 

I've attached the email that seems to cause the segfault.

I hope that's of some use - please let me know if there are more details
I can supply.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mairix 0.21-1
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic i686
Architecture: i386
Date: Mon Jan 10 12:06:59 2011
ProcEnviron:
 LC_CTYPE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: mairix

** Affects: mairix (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/700984

Title:
  mairix segfaults on indexing

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to