Re: [Mutt] #3410: Mutt crashes when two instances open the same mailbox
#3410: Mutt crashes when two instances open the same mailbox
--------------------+-------------------------------------------------------
Reporter: vext01 | Owner: me
Type: defect | Status: assigned
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
--------------------+-------------------------------------------------------
Changes (by vinc17):
* cc: vincent@â (added)
Comment:
Replying to [comment:15 vext01]:
> What is the best way to track the origin of that 0xdfdf...?
You can use gdb, by putting breakpoints at the right places (you need to
guess and try) and stepping the program. As some compiler optimizations
are incompatible with gdb, you need to compile without optimizations
(-O0); -O1 may work too, without guarantee. First try if you can reproduce
the bug without optimizations; if you can't, this is probably a compiler
bug.
If for some reason you can't use gdb, you can modify Mutt's code to add
some debugging messages outputting values of variables at the right
places. This may also be more convenient that gdb (in case of multiple
calls of functions that would make breakpoints tedious).
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3410#comment:16>
Mutt <http://www.mutt.org/>
The Mutt mail user agent