<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3457: mutt crashes on accessing pop3 folder with message_cachedir option set



#3457: mutt crashes on accessing pop3 folder with message_cachedir option set
----------------------------------------+-----------------------------------
 Reporter:  yz                          |       Owner:  mutt-dev
     Type:  defect                      |      Status:  new     
 Priority:  critical                    |   Milestone:          
Component:  body cache                  |     Version:          
 Keywords:  message_cachedir pop crash  |  
----------------------------------------+-----------------------------------

Comment(by yz):

 Found another server where gdb works. Had to add "-g" to LD/CC FLAGS as
 "--enable-debug" din't add debugging symbols to the binary (at least via
 FreeBSD ports system). Here is gdb's backtrace output:[[BR]]
 Authenticating (APOP)...
 Program received signal SIGSEGV, Segmentation fault.
 0x000000080176f8e8 in strncpy () from /lib/libc.so.7
 (gdb) bt
 #0  0x000000080176f8e8 in strncpy () from /lib/libc.so.7
 #1  0x000000000047065f in mutt_encode_path (dest=0x7fffffffcad0 "",
 dlen=256, src=0x0) at muttlib.c:2000
 #2  0x0000000000485d55 in mutt_bcache_open (account=Variable "account" is
 not available.
 ) at bcache.c:66
 #3  0x0000000000482a12 in pop_open_mailbox (ctx=0x8019e2240) at pop.c:426
 #4  0x0000000000445588 in mx_open_mailbox (path=0x7fffffffddf0
 "pop://yz@xxxxx", flags=0, pctx=Variable "pctx" is not available.
 ) at mx.c:709
 #5  0x000000000043b22e in main (argc=3, argv=0x7fffffffe028) at
 main.c:1077
 (gdb)

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3457#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent