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

mutt/2356: segfaults related to browser?



>Number:         2356
>Notify-List:    
>Category:       mutt
>Synopsis:       segfaults related to browser?
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 15 20:20:58 +0200 2006
>Originator:     michael.tatge@xxxxxx
>Release:        Mutt 1.5.12 (2006-07-14)
>Organization:
>Environment:
>Description:
mutt segfaults when i execute the given macros.

[cut here]
## ~/.mutt/default (sourced in muttrc)
# unset imap_user
# unset imap_pass
set folder=~/Mail
set spoolfile="~/.maildir/"
set mbox=+inbox
set postponed=+postponed
set trash=+trash
unmailboxes *
mailboxes ! =alice [...] =sören [...]
macro index ,cw '<enter-command>source 
~/.mutt/web.de<enter><change-folder>!<enter><change-folder>?<change-dir><kill-line>imaps://imap.web.de<enter><search>Unbekannt<enter><enter>'
 "check web.de"


## ~/.mutt/web.de sourced via the macro in ~/.mutt/default
# Web.de IMAP Server
set imap_user=XXX
set imap_pass=XXX
unset mbox
set folder=imaps://imap.web.de
set spoolfile=imaps://imap.web.de/INBOX
set postponed=+Entwürfe
# set record=+Gesendet
# set trash
unmailboxes *
# mailboxes +INBOX +Unbekannt +Unwerwünscht
mailboxes +INBOX +Unbekannt +Unerwünscht +saves

macro index ,cw '<enter-command>source 
~/.mutt/default<enter><change-folder>!<enter><change-folder>?<change-dir><kill-line>~/Mail<enter><tab><search>maildir<enter><enter>'
 "return to local account"


backtrace:
(gdb) bt
#0  0xb7d65203 in strlen () from /lib/tls/libc.so.6
#1  0x080cb288 in browse_add_list_result (idata=0x81d2e08, 
    cmd=<value optimized out>, state=0xbff69c2c, isparent=0) at browse.c:385
#2  0x080cb47c in imap_browse (path=0x80ebe80 "imaps://imap.web.de/", 
    state=0xbff69c2c) at browse.c:218
#3  0x0805242a in _mutt_select_file (f=0xbff69d50 "", flen=1024, flags=4, 
    files=0x0, numfiles=0x0) at browser.c:615
#4  0x080611ab in _mutt_enter_fname (prompt=0x80da468 "Open mailbox", 
    buf=0xbff69d50 "", blen=1024, redraw=0x81b384c, buffy=1, multiple=0,
    files=0x0, numfiles=0x0) at curs_lib.c:476
#5  0x08062204 in mutt_index_menu () at curs_main.c:1071
#6  0x0807e3b5 in main (argc=Cannot access memory at address 0x0
) at main.c:963
(gdb) up
#1  0x080cb288 in browse_add_list_result (idata=0x81d2e08, 
    cmd=<value optimized out>, state=0xbff69c2c, isparent=0) at browse.c:385
385           if (isparent || mutt_strncmp (list.name, mx.mbox, strlen 
(list.name)))
(gdb) print list
$1 = {name = 0x400 <Address 0x400 out of bounds>, delim = -49 'Ï',
  noselect = 142 '\216', noinferiors = 14 '\016'}
(gdb)
>How-To-Repeat:
Unknown, might be related to mailboxes or browser?
>Fix:
Unknown
>Add-To-Audit-Trail:

>Unformatted: