[neomutt-users] Crash with NeoMutt 2019-11-02

Jörg Sommer joerg at jo-so.de
Mon Nov 4 10:31:42 CET 2019


Hello,

I've started using the new version of NeoMutt. When switching from my
default mailbox (maildir format) to another one, NeoMutt crashes when I
hit enter on the entry in the mailbox index.

Here's the stack trace:

```
[New LWP 2759011]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/neomutt'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
#0  0x00007f9e568df081 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 0, 0, 0, 0, 0, 0, 0, 0, 140722462803840, 94891684174831, 5067066236854152960, 94891684174704, 2, 127, 140722462803840}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007f9e568ca535 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 94891678135200, 94891672147568, 94891672147824, 94891678135200, 18, 140318033690904, 94888712470528, 140722462804448, 140318035084080, 140318035282328, 0, 0, 94891672147696, 2978938880, 140722462805087}}, sa_flags = -2140648976, sa_restorer = 0x7f9e56a30330 <_nl_default_dirname>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f9e56920db8 in __libc_message (action=action at entry=do_abort, fmt=fmt at entry=0x7f9e56a2baae "%s\n") at ../sysdeps/posix/libc_fatal.c:181
        ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area = 0x7ffc80684a30, reg_save_area = 0x7ffc806849c0}}
        fd = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
#3  0x00007f9e5692748a in malloc_printerr (str=str at entry=0x7f9e56a2d850 "free(): invalid next size (normal)") at malloc.c:5361
#4  0x00007f9e56928dac in _int_free (av=0x7f9e56a5ec40 <main_arena>, p=0x564daf7aa6c0, have_lock=<optimized out>) at malloc.c:4336
        size = 144
        fb = <optimized out>
        nextchunk = 0x564daf7aa750
        nextsize = 7810138347231538472
        nextinuse = <optimized out>
        prevsize = <optimized out>
        bck = <optimized out>
        fwd = <optimized out>
        __PRETTY_FUNCTION__ = "_int_free"
#5  0x0000564dae3b48d6 in mutt_mem_free (ptr=ptr at entry=0x564db11af5c0) at ../mutt/memory.c:75
        p = 0x564db11af5c0
#6  0x0000564dae3a0801 in mutt_env_free (ptr=ptr at entry=0x564db11af498) at ../email/envelope.c:117
        env = 0x564db11af510
#7  0x0000564dae3a03f2 in email_free (ptr=0x564db0edcb30) at ../email/email.c:51
        e = 0x564db11af450
#8  0x0000564dae31ba81 in mx_fastclose_mailbox (m=m at entry=0x564db07336e0) at ../mx.c:417
        i = <optimized out>
#9  0x0000564dae31db40 in mx_fastclose_mailbox (m=0x564db07336e0) at ../mx.c:397
        ctx = <optimized out>
        m = 0x564db07336e0
        i = <optimized out>
        read_msgs = <optimized out>
        rc = -1
        move_messages = <optimized out>
        purge = MUTT_YES
        mbox = 0x0
        buf = 0x564daf6ce350
        __func__ = "mx_mbox_close"
#10 0x0000564dae31db40 in mx_mbox_close (ptr=0x564dae416330 <Context>) at ../mx.c:740
        ctx = <optimized out>
        m = 0x564db07336e0
        i = <optimized out>
        read_msgs = <optimized out>
        rc = -1
        move_messages = <optimized out>
        purge = MUTT_YES
        mbox = 0x0
        buf = 0x564daf6ce350
        __func__ = "mx_mbox_close"
#11 0x0000564dae2f8d77 in main_change_folder (menu=0x564db1853790, op=op at entry=132, m=<optimized out>, m at entry=0x564db0956340, buf=0x564db0f95390 "/home/joerg/Mail/mdir/mutt-users", buflen=<optimized out>, oldcount=oldcount at entry=0x7ffc80684c60, index_hint=0x7ffc80684c64, pager_return=0x7ffc80684c5f) at ../index.c:697
        new_last_folder = 0x564db0f03180 "/home/joerg/Mail/mdir/default"
        monitor_remove_rc = 1
        check = <optimized out>
        magic = <optimized out>
        __func__ = "main_change_folder"
        flags = <optimized out>
        free_m = <optimized out>
#12 0x0000564dae2fa1a4 in mutt_index_menu () at ../index.c:2359
        pager_return = false
        folderbuf = 0x564daf6cd950
        m = 0x564db0956340
        cp = <optimized out>
        hint = <optimized out>
        buf = "\240Ko\257MV\000\000\000/\021]\345\325QF\020\000\000\000\000\000\000\000 \300\271V\236\177\000\000\242Ko\257MV\000\000\025go\257MV\000\000\240Ko\257MV\000\000d", '\000' <repeats 15 times>, "\067ݚV\236\177\000\000(\000\000\000\060\000\000\000pWh\200\374\177\000\000\260Vh\200\374\177\000\000\000/\021]\345\325QF", '\000' <repeats 24 times>, "\006\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000l\034\271V\236\177\000\000\006\000\000\000\000\000\000\000B4\270V\236\177\000\000\240Ko\257MV\000\000\t\000\000\000\000\000\000\000\016go\257MV\000\000@"...
        helpstr = "q:Quit  d:Del  u:Undel  s:Save  c:Mail    g:Group  ?:Help\000\232V\236\177\000\000(\000\000\000\060\000\000\000`Sh\200\374\177\000\000\240Rh\200\374\177\000\000\000/\021]\345\325QF\360Rh\200\374\177\000\000`\374\245V\236\177\000\000\240Uh\200\374\177\000\000\020Sh\200\374\177\000\000,\000\000\000\000\000\000\000l\034\271V\236\177\000\000\223\265x\257MV\000\000B4\270V\236\177\000\000\240Ko\257MV\000\000\n\000\000\000\000\000\000\000\245co\257MV\000\000\000/\021\000\000\000\000\000\260Sh\200\374\177\000\000"...
        flags = <optimized out>
        op = 132
        done = false
        tag = false
        newcount = 14
        oldcount = 3247
        index_hint = 6
        do_mailbox_notify = true
        close = <optimized out>
        attach_msg = 0
        in_pager = <optimized out>
        menu = 0x564db1853790
        __func__ = "mutt_index_menu"
#13 0x0000564dae2d068d in main (argc=<optimized out>, argv=0x7ffc80687eb8, envp=<optimized out>) at ../main.c:1247
        m = 0x564db07336e0
        subject = <optimized out>
        include_file = <optimized out>
        draft_file = <optimized out>
        new_magic = <optimized out>
        dlevel = <optimized out>
        dfile = <optimized out>
        cli_nntp = <optimized out>
        e = 0x0
        attach = {stqh_first = 0x0, stqh_last = 0x7ffc80687770}
        commands = {stqh_first = 0x0, stqh_last = 0x7ffc80687780}
        queries = {stqh_first = 0x0, stqh_last = 0x7ffc80687790}
        alias_queries = {stqh_first = 0x0, stqh_last = 0x7ffc806877a0}
        cc_list = {stqh_first = 0x0, stqh_last = 0x7ffc806877b0}
        bcc_list = {stqh_first = 0x0, stqh_last = 0x7ffc806877c0}
        sendflags = 0
        flags = <optimized out>
        version = <optimized out>
        i = <optimized out>
        explicit_folder = <optimized out>
        dump_variables = <optimized out>
        hide_sensitive = <optimized out>
        batch_mode = <optimized out>
        edit_infile = <optimized out>
        test_config = <optimized out>
        double_dash = <optimized out>
        nargc = <optimized out>
        rc = 1
        repeat_error = true
        folder = {data = 0x564db0691820 "/home/joerg/Mail/mdir/default", dptr = 0x564db069183d "", dsize = 128}
        expanded_infile = {data = 0x0, dptr = 0x0, dsize = 0}
        tempfile = {data = 0x0, dptr = 0x0, dsize = 0}
        __func__ = "main"
        out = 1668310981
--- END ---

           PID: 2759011 (neomutt)
           UID: 1000 (joerg)
           GID: 1000 (joerg)
        Signal: 6 (ABRT)
     Timestamp: Mon 2019-11-04 08:19:18 CET (4min 6s ago)
  Command Line: /usr/bin/neomutt
    Executable: /usr/bin/neomutt
 Control Group: /user.slice/user-1000.slice/user at 1000.service/awesome.service
          Unit: user at 1000.service
     User Unit: awesome.service
         Slice: user-1000.slice
     Owner UID: 1000 (joerg)
       Boot ID: 7b664025cf1c42cf81503cca6a2152fe
    Machine ID: 523cb54753234ed08c13ec497d0d3b64
      Hostname: zenbook
       Storage: /var/lib/systemd/coredump/core.neomutt.1000.7b664025cf1c42cf81503cca6a2152fe.2759011.1572851958000000000000.lz4
       Message: Process 2759011 (neomutt) of user 1000 dumped core.
                
                Stack trace of thread 2759011:
                #0  0x00007f9e568df081 __GI_raise (libc.so.6)
                #1  0x00007f9e568ca535 __GI_abort (libc.so.6)
                #2  0x00007f9e56920db8 __libc_message (libc.so.6)
                #3  0x00007f9e5692748a malloc_printerr (libc.so.6)
                #4  0x00007f9e56928dac _int_free (libc.so.6)
                #5  0x0000564dae3b48d6 n/a (neomutt)
                #6  0x0000564dae3a0801 n/a (neomutt)
                #7  0x0000564dae3a03f2 n/a (neomutt)
                #8  0x0000564dae31ba81 n/a (neomutt)
                #9  0x0000564dae31db40 n/a (neomutt)
                #10 0x0000564dae2f8d77 n/a (neomutt)
                #11 0x0000564dae2fa1a4 n/a (neomutt)
                #12 0x0000564dae2d068d n/a (neomutt)
                #13 0x00007f9e568cbbbb __libc_start_main (libc.so.6)
                #14 0x0000564dae2d14ca n/a (neomutt)
```

Please, tell me if you need more informations.

Regards Jörg



-- 
Dummheit anprangern ist ungefährlich, weil sich niemand angegriffen fühlt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 269 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20191104/b17bc328/attachment.sig>


More information about the neomutt-users mailing list