Hi still experience the same issue. To me it seems that it has problems
parsing/handling the mail file in /var/mail/USERNAME. As long as it is
empty, it does not fail.
As soon as it contains something... segfault!

The following is a stack trace I could gather:


[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
"/var/mail/jochen": 1 message 1 new

Program received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65      ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or
directory.
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
#1  0x00007ffff75e0dae in __GI___strdup (s=0x0) at strdup.c:41
#2  0x00007ffff7a43b5f in mu_strdup (s=0x0) at alloc.c:77
#3  0x0000555555576818 in util_get_charset () at util.c:1067
#4  0x0000555555576891 in util_rfc2047_decode (value=0x7fffffffb248) at
util.c:1087
#5  0x00005555555657f9 in hdr_from (args=0x7fffffffb2e0, data=0x0) at
from.c:273
#6  0x000055555556518d in format_headline (seg=0x5555555a39f0,
mspec=0x7fffffffb370, msg=0x5555555b0280) at from.c:97
#7  0x00005555555664c3 in mail_from0 (mspec=0x7fffffffb370,
msg=0x5555555b0280, data=0x0) at from.c:609
#8  0x000055555556db95 in page_do (func=0x555555566495 <mail_from0>,
data=0x0) at page.c:178
#9  0x0000555555566537 in mail_headers (argc=1, argv=0x5555555b0c28) at
headers.c:35
#10 0x000055555557462f in util_do_command (fmt=0x555555578eca "headers")
at util.c:143
#11 0x0000555555567d0d in main (argc=0, argv=0x7fffffffb7b0) at mail.c:654
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
No locals.
#1  0x00007ffff75e0dae in __GI___strdup (s=0x0) at strdup.c:41
        len = <optimized out>
        new = <optimized out>
#2  0x00007ffff7a43b5f in mu_strdup (s=0x0) at alloc.c:77
        news = 0x0
#3  0x0000555555576818 in util_get_charset () at util.c:1067
        lc_all = {flags = 0, language = 0x0, territory = 0x0, charset =
0x0, modifier = 0x0}
        tmp = 0x7fffffffee86 ""
        charset = 0x555555588b70 "auto"
#4  0x0000555555576891 in util_rfc2047_decode (value=0x7fffffffb248) at
util.c:1087
        charset = 0x7fffffffb280 "\020\263\377\377\377\177"
        tmp = 0x7ffff7a5ee63 <mu_address_destroy+80>
"H\213E\370H\211E\360H\203", <incomplete sequence \360>
        rc = 0
#5  0x00005555555657f9 in hdr_from (args=0x7fffffffb2e0, data=0x0) at
from.c:273
        hdr = 0x5555555b2140
        from = 0x55555558fe00 "jochen"
#6  0x000055555556518d in format_headline (seg=0x5555555a39f0,
mspec=0x7fffffffb370, msg=0x5555555b0280) at from.c:97
        width = 1
        len = 1
        cols_rest = 181
        p = 0x555555589870 " "
        screen_cols = 188
        out_cols = 7
        args = {mspec = 0x7fffffffb370, msg = 0x5555555b0280, cols_rest
= 181, buf = 0x555555591660 "1", size = 2}
#7  0x00005555555664c3 in mail_from0 (mspec=0x7fffffffb370,
msg=0x5555555b0280, data=0x0) at from.c:609
No locals.
#8  0x000055555556db95 in page_do (func=0x555555566495 <mail_from0>,
data=0x0) at page.c:178
        msg = 0x5555555b0280
        set = {next = 0x0, npart = 1, msg_part = 0x5555555a3250}
        i = 0
#9  0x0000555555566537 in mail_headers (argc=1, argv=0x5555555b0c28) at
headers.c:35
No locals.
#10 0x000055555557462f in util_do_command (fmt=0x555555578eca "headers")
at util.c:143
        ws = {ws_wordc = 1, ws_wordv = 0x5555555b0c20, ws_offs = 1,
ws_wordn = 128, ws_flags = 33558086, ws_options = 1632, ws_delim =
0x7ffff7ad6e9e " \t\n", ws_comment = 0x0, ws_escape = {0x7ffff7af6360
<mu_wordsplit_c_escape_tab> "\\\\\"\"a\ab\bf\fn\nr\rt\tv\v",
0x7ffff7af6360 <mu_wordsplit_c_escape_tab>
"\\\\\"\"a\ab\bf\fn\nr\rt\tv\v"}, ws_alloc_die = 0x7ffff7ab20d8
<_wsplt_alloc_die>, ws_error = 0x7ffff7ab2116 <_wsplt_error>, ws_debug =
0x555555585fd8 <total>, ws_env = 0x1, ws_envbuf = 0x5555555ad430,
ws_envidx = 483314001, ws_envsiz = 0, ws_getvar = 0x1, ws_closure = 0x0,
ws_command = 0x0, ws_input = 0x5555555b09e0 "@\"[UUU", ws_len = 7,
ws_endp = 7, ws_errno = 0, ws_usererr = 0x5555555799b6 "header", ws_head
= 0x0, ws_tail = 0x0, ws_lvl = 0}
        argc = 1
        argv = 0x5555555b0c28
        status = 0
        entry = 0x555555582500 <mail_command_table+1152>
        cmd = 0x5555555b09e0 "@\"[UUU"
        size = 512
        ap = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
0x7fffffffb5d0, reg_save_area = 0x7fffffffb500}}
#11 0x0000555555567d0d in main (argc=0, argv=0x7fffffffb7b0) at mail.c:654
        mode = 0x555555589f60 "read"
        prompt = 0x0
        p = 0x5555555a35c7 "/home/jochen/.mailrc"
        i = 56
        rc = 0

Thread 1 (Thread 0x7ffff6739980 (LWP 7076)):
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
No locals.
#1  0x00007ffff75e0dae in __GI___strdup (s=0x0) at strdup.c:41
        len = <optimized out>
        new = <optimized out>
#2  0x00007ffff7a43b5f in mu_strdup (s=0x0) at alloc.c:77
        news = 0x0
#3  0x0000555555576818 in util_get_charset () at util.c:1067
        lc_all = {flags = 0, language = 0x0, territory = 0x0, charset =
0x0, modifier = 0x0}
        tmp = 0x7fffffffee86 ""
        charset = 0x555555588b70 "auto"
#4  0x0000555555576891 in util_rfc2047_decode (value=0x7fffffffb248) at
util.c:1087
        charset = 0x7fffffffb280 "\020\263\377\377\377\177"
        tmp = 0x7ffff7a5ee63 <mu_address_destroy+80>
"H\213E\370H\211E\360H\203", <incomplete sequence \360>
        rc = 0
#5  0x00005555555657f9 in hdr_from (args=0x7fffffffb2e0, data=0x0) at
from.c:273
        hdr = 0x5555555b2140
        from = 0x55555558fe00 "jochen"
#6  0x000055555556518d in format_headline (seg=0x5555555a39f0,
mspec=0x7fffffffb370, msg=0x5555555b0280) at from.c:97
        width = 1
        len = 1
        cols_rest = 181
        p = 0x555555589870 " "
        screen_cols = 188
        out_cols = 7
        args = {mspec = 0x7fffffffb370, msg = 0x5555555b0280, cols_rest
= 181, buf = 0x555555591660 "1", size = 2}
#7  0x00005555555664c3 in mail_from0 (mspec=0x7fffffffb370,
msg=0x5555555b0280, data=0x0) at from.c:609
No locals.
#8  0x000055555556db95 in page_do (func=0x555555566495 <mail_from0>,
data=0x0) at page.c:178
        msg = 0x5555555b0280
        set = {next = 0x0, npart = 1, msg_part = 0x5555555a3250}
        i = 0
#9  0x0000555555566537 in mail_headers (argc=1, argv=0x5555555b0c28) at
headers.c:35
No locals.
#10 0x000055555557462f in util_do_command (fmt=0x555555578eca "headers")
at util.c:143
        ws = {ws_wordc = 1, ws_wordv = 0x5555555b0c20, ws_offs = 1,
ws_wordn = 128, ws_flags = 33558086, ws_options = 1632, ws_delim =
0x7ffff7ad6e9e " \t\n", ws_comment = 0x0, ws_escape = {0x7ffff7af6360
<mu_wordsplit_c_escape_tab> "\\\\\"\"a\ab\bf\fn\nr\rt\tv\v",
0x7ffff7af6360 <mu_wordsplit_c_escape_tab>
"\\\\\"\"a\ab\bf\fn\nr\rt\tv\v"}, ws_alloc_die = 0x7ffff7ab20d8
<_wsplt_alloc_die>, ws_error = 0x7ffff7ab2116 <_wsplt_error>, ws_debug =
0x555555585fd8 <total>, ws_env = 0x1, ws_envbuf = 0x5555555ad430,
ws_envidx = 483314001, ws_envsiz = 0, ws_getvar = 0x1, ws_closure = 0x0,
ws_command = 0x0, ws_input = 0x5555555b09e0 "@\"[UUU", ws_len = 7,
ws_endp = 7, ws_errno = 0, ws_usererr = 0x5555555799b6 "header", ws_head
= 0x0, ws_tail = 0x0, ws_lvl = 0}
        argc = 1
        argv = 0x5555555b0c28
        status = 0
        entry = 0x555555582500 <mail_command_table+1152>
        cmd = 0x5555555b09e0 "@\"[UUU"
        size = 512
        ap = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
0x7fffffffb5d0, reg_save_area = 0x7fffffffb500}}
#11 0x0000555555567d0d in main (argc=0, argv=0x7fffffffb7b0) at mail.c:654
        mode = 0x555555589f60 "read"
        prompt = 0x0
        p = 0x5555555a35c7 "/home/jochen/.mailrc"
        i = 56
        rc = 0




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to