Ubuntu

mairix segfaults

Reported by Sebastian Wiesinger on 2007-10-23
6
Affects Status Importance Assigned to Milestone
gcc
Invalid
Undecided
Pascal De Vuyst
mairix (Debian)
Fix Released
Unknown
mairix (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: mairix

Version: 0.20-1

Hello,

after updating to gutsy, mairix is segfaulting while indexing mails. I recompiled mairix without dh_strip to get debugging information:

(gdb) bt
#0 0x0805b8fb in nvp_next_state ()
#1 0x0805b489 in make_nvp ()
#2 0x0804edab in do_body ()
#3 0x0804f7db in data_to_rfc822 ()
#4 0x0804f461 in do_body ()
#5 0x0804f00a in do_body ()
#6 0x0804f7db in data_to_rfc822 ()
#7 0x0804fee9 in make_rfc822 ()
#8 0x0804bd87 in update_database ()
#9 0x0804a964 in main ()

I then recompiled mairix without the -O2 parameter and with -g, and it didn't segfault! So I assume that the -O2 is the problem. I don't know if this is a bug in mairix or in the gcc compiler, so I'm adding both...

This bug has already been fixed in Debian, see bug watch.

Changed in gcc:
assignee: nobody → pascal-devuyst
status: New → Invalid
Changed in mairix:
importance: Undecided → Medium
status: New → Triaged
Changed in mairix:
status: Unknown → Fix Released
Kaihsu Tai (kaihsu) wrote :

I also had the same problem. Is the patch going to be in Hardy? (The Debian patch was made by my friend Professor Chung-chieh Ken Shan!)

Kaihsu Tai (kaihsu) wrote :

Can we have the fix (back)ported to Gutsy Gibbon please?

Fixed in 0.21-1 which is in hardy

Changed in mairix:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.