The Subject parenthetical is obviously my uneducated
speculation.

I'm getting segfaults (0.40-2 Arch Linux package) when
trying to 'notmuch show' the attached message (only --format
raw or mbox avoid the segfault).

During 'notmuch new' inserting the message there was

notmuch[552987]: g_mime_message_get_mime_part: assertion 'GMIME_IS_MESSAGE 
(message)' failed

in the systemd journal.

Apparently format_part_sprinter fails to check that node is
not NULL:

#0  format_part_sprinter.isra.0 (sp=0x55aa3c6ee280, node=0x0, duplicate=-1, 
output_body=true, include_html=false, ctx=<optimized out>)
    at /usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:683
683         if (node->envelope_file) {

The only odd thing about the message I can see is the empty
message/rfc822 part, but segfault (and hence inability to
meaningfully work with the thread in notmuch frontends)
doesn't seem a great way of handling it (FWIW, mutt or
mblaze have no issue dealing with the message).

Full GDB backtrace attached.

  With best wishes,

  Štěpán

--- Begin Message ---
Hi, this is the Mlmmj program managing the <[email protected]>
mailing list.

The message from <[email protected]> with subject "Re: rcd(8) - new service
manager daemon" was unable to be delivered to the list because you are not
a list subscriber.

However, this is an open list. If you wish, you can simultaneously
subscribe and release your post by sending a message to
<[email protected]> which can usually
be done simply by replying to this message. The subject and the body of the
message can be anything.

Or you can simultaneously subscribe to the digest version of the list and
release your post by sending a message to
<[email protected]> and you
will receive multiple posts in a single message, at regular intervals, or
when a lot of posts have accumulated.

Or you can simultaneously subscribe to the no-mail version of the list and
release your post by sending a message to
<[email protected]> and you
will not receive posts sent to the list. This means you potentially will
not see replies to your message, unless you follow the list using a web
archive or have another email address subscribed to another version of the
list.

If you believe you are a subscriber, you are probably subscribed with a
different email address. To find out which address you are subscribed with,
refer to the message welcoming you to the list, or look at the envelope
"Return-Path" header of a message you receive from the list.

(The denied message is below.)
--- Begin Message ---

--- End Message ---

--- End Message ---
#0  format_part_sprinter.isra.0 (sp=0x55aa3c6ee280, node=0x0, duplicate=-1, 
output_body=true, include_html=false, ctx=<optimized out>) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:683
        meta = <optimized out>
        content_type = <optimized out>
        content_string = <optimized out>
        disposition = <optimized out>
        cid = <optimized out>
        filename = <optimized out>
        nclose = <optimized out>
        i = <optimized out>
#1  0x000055aa14d5b524 in format_part_sprinter.isra.0 (sp=0x55aa3c6ee280, 
node=0x55aa3c731a00, duplicate=<optimized out>, output_body=<optimized out>, 
include_html=false, ctx=<optimized out>) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:858
        meta = <optimized out>
        content_type = <optimized out>
        content_string = 0x55aa3c6edb20 "\035\300\320f\257U"
        disposition = <optimized out>
        cid = 0x0
        filename = <optimized out>
        nclose = <optimized out>
        i = 0
#2  0x000055aa14d5b524 in format_part_sprinter.isra.0 (sp=0x55aa3c6ee280, 
node=0x55aa3c730ca0, duplicate=<optimized out>, output_body=<optimized out>, 
include_html=false, ctx=<optimized out>) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:858
        meta = <optimized out>
        content_type = <optimized out>
        content_string = 0x55aa3c72b7c0 "+ǣZ\005"
        disposition = <optimized out>
        cid = 0x0
        filename = <optimized out>
        nclose = <optimized out>
        i = 1
#3  0x000055aa14d5b1a3 in format_part_sprinter.isra.0 (sp=0x55aa3c6ee280, 
node=0x55aa3c7290b0, duplicate=0, output_body=true, include_html=false, 
ctx=<optimized out>) at /usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:694
        msg_crypto = 0x0
        meta = <optimized out>
        content_type = <optimized out>
        content_string = <optimized out>
        disposition = <optimized out>
        cid = <optimized out>
        filename = <optimized out>
        nclose = <optimized out>
        i = <optimized out>
#4  0x000055aa14d5b8d1 in format_part_sprinter_entry (ctx=<optimized out>, 
sp=<optimized out>, node=<optimized out>, indent_unused=<optimized out>, 
params=<optimized out>) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:872
#5  0x000055aa14d586ce in show_message (ctx=ctx@entry=0x55aa3c6ed4f0, 
format=format@entry=0x55aa14d64ab0 <format_sexp>, sp=sp@entry=0x55aa3c6ee280, 
message=message@entry=0x55aa3c719c50, indent=indent@entry=0, 
params=params@entry=0x7fff6a0bfd20) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:1032
        local = 0x55aa3c712af0
        root = 0x55aa3c7290b0
        part = <optimized out>
        status = NOTMUCH_STATUS_SUCCESS
        session_keys = 0
        session_key_count_error = NOTMUCH_STATUS_SUCCESS
#6  0x000055aa14d5884b in show_messages (ctx=ctx@entry=0x55aa3c6ed4f0, 
format=format@entry=0x55aa14d64ab0 <format_sexp>, sp=sp@entry=0x55aa3c6ee280, 
messages=0x55aa3c716320, indent=indent@entry=0, 
params=params@entry=0x7fff6a0bfd20) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:1083
        message = 0x55aa3c719c50
        match = true
        excluded = <optimized out>
        next_indent = <optimized out>
        status = <optimized out>
        res = NOTMUCH_STATUS_SUCCESS
#7  0x000055aa14d5952d in do_show_threaded (ctx=0x55aa3c6ed4f0, 
query=<optimized out>, format=0x55aa14d64ab0 <format_sexp>, sp=0x55aa3c6ee280, 
params=0x7fff6a0bfd20) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:1197
        threads = 0x55aa3c6ee0f0
        thread = 0x55aa3c718f00
        messages = <optimized out>
        status = <optimized out>
        res = NOTMUCH_STATUS_SUCCESS
        i = 0
#8  notmuch_show_command (notmuch=0x55aa3c6ed4f0, argc=<optimized out>, 
argv=<optimized out>) at /usr/src/debug/notmuch/notmuch-0.40/notmuch-show.c:1509
        exclude_tags = <optimized out>
        status = <optimized out>
        query = 0x55aa3c6edec0
        query_string = <optimized out>
        opt_index = <optimized out>
        ret = <optimized out>
        formatter = 0x55aa14d64ab0 <format_sexp>
        sprinter = 0x55aa3c6ee280
        params = {entire_thread = true, omit_excluded = false, output_body = 
true, duplicate = 0, part = -1, offset = 0, limit = -1, crypto = {verify = 
true, decrypt = NOTMUCH_DECRYPT_NOSTASH}, include_html = false, out_stream = 
0x55aa3c6ed890 [GMimeStreamBuffer]}
        format = 2
        exclude = false
        entire_thread_set = false
        single_message = <optimized out>
        unthreaded = false
        status = <optimized out>
        sort = 1
        options = {{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x0, 
opt_keyword = 0x7fff6a0bfd04, opt_flags = 0x0, opt_string = 0x0, opt_position = 
0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5d003 "sort", present = 0x0, 
allow_empty = false, keywords = 0x7fff6a0bfd50}, {opt_inherit = 0x0, opt_bool = 
0x0, opt_int = 0x0, opt_keyword = 0x7fff6a0bfd08, opt_flags = 0x0, opt_string = 
0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5c95d 
"format", present = 0x0, allow_empty = false, keywords = 0x7fff6a0bfdd0}, 
{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x55aa14d661e4 
<notmuch_format_version>, opt_keyword = 0x0, opt_flags = 0x0, opt_string = 0x0, 
opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5cd77 
"format-version", present = 0x0, allow_empty = false, keywords = 0x0}, 
{opt_inherit = 0x0, opt_bool = 0x7fff6a0bfd03, opt_int = 0x0, opt_keyword = 
0x0, opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, 
keyword_no_arg_value = 0x0, name = 0x55aa14d5c941 "exclude", present = 0x0, 
allow_empty = false, keywords = 0x0}, {opt_inherit = 0x0, opt_bool = 
0x7fff6a0bfd20, opt_int = 0x0, opt_keyword = 0x0, opt_flags = 0x0, opt_string = 
0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5d5cf 
"entire-thread", present = 0x7fff6a0bfd02, allow_empty = false, keywords = 
0x0}, {opt_inherit = 0x0, opt_bool = 0x7fff6a0bfd01, opt_int = 0x0, opt_keyword 
= 0x0, opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, 
keyword_no_arg_value = 0x0, name = 0x55aa14d5d5dd "unthreaded", present = 0x0, 
allow_empty = false, keywords = 0x0}, {opt_inherit = 0x0, opt_bool = 0x0, 
opt_int = 0x7fff6a0bfd28, opt_keyword = 0x0, opt_flags = 0x0, opt_string = 0x0, 
opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5d4f2 "part", 
present = 0x0, allow_empty = false, keywords = 0x0}, {opt_inherit = 0x0, 
opt_bool = 0x0, opt_int = 0x0, opt_keyword = 0x7fff6a0bfd38, opt_flags = 0x0, 
opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 0x55aa14d5c027 
"true", name = 0x55aa14d5d00e "decrypt", present = 0x0, allow_empty = false, 
keywords = 0x7fff6a0bfd80}, {opt_inherit = 0x0, opt_bool = 0x7fff6a0bfd34, 
opt_int = 0x0, opt_keyword = 0x0, opt_flags = 0x0, opt_string = 0x0, 
opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5d5e8 "verify", 
present = 0x0, allow_empty = false, keywords = 0x0}, {opt_inherit = 0x0, 
opt_bool = 0x7fff6a0bfd22, opt_int = 0x0, opt_keyword = 0x0, opt_flags = 0x0, 
opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 
0x55aa14d5d5ef "body", present = 0x0, allow_empty = false, keywords = 0x0}, 
{opt_inherit = 0x0, opt_bool = 0x7fff6a0bfd3c, opt_int = 0x0, opt_keyword = 
0x0, opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, 
keyword_no_arg_value = 0x0, name = 0x55aa14d5d5f4 "include-html", present = 
0x0, allow_empty = false, keywords = 0x0}, {opt_inherit = 0x0, opt_bool = 0x0, 
opt_int = 0x7fff6a0bfd24, opt_keyword = 0x0, opt_flags = 0x0, opt_string = 0x0, 
opt_position = 0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5cf63 
"duplicate", present = 0x0, allow_empty = false, keywords = 0x0}, {opt_inherit 
= 0x0, opt_bool = 0x0, opt_int = 0x7fff6a0bfd30, opt_keyword = 0x0, opt_flags = 
0x0, opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 
0x55aa14d5ce8a "limit", present = 0x0, allow_empty = false, keywords = 0x0}, 
{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x7fff6a0bfd2c, opt_keyword = 
0x0, opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, 
keyword_no_arg_value = 0x0, name = 0x55aa14d5ce83 "offset", present = 0x0, 
allow_empty = false, keywords = 0x0}, {opt_inherit = 0x55aa14d64600 
<notmuch_shared_options>, opt_bool = 0x0, opt_int = 0x0, opt_keyword = 0x0, 
opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 
0x0, name = 0x0, present = 0x0, allow_empty = false, keywords = 0x0}, 
{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x0, opt_keyword = 0x0, opt_flags 
= 0x0, opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 
0x0, present = 0x0, allow_empty = false, keywords = 0x0}}
#9  0x000055aa14d47372 in main (argc=14, argv=0x7fff6a0c0758) at 
/usr/src/debug/notmuch/notmuch-0.40/notmuch.c:600
        local = 0x55aa3c6ed380
        talloc_report = <optimized out>
        command_name = 0x7fff6a0c26b7 "show"
        command = <optimized out>
        config_file_name = 0x7fff6a0c2690 
"/home/stepnem/.notmuch-config-personal"
        notmuch = 0x55aa3c6ed4f0
        opt_index = 3
        ret = 0
        options = {{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x0, 
opt_keyword = 0x0, opt_flags = 0x0, opt_string = 0x7fff6a0c04b0, opt_position = 
0x0, keyword_no_arg_value = 0x0, name = 0x55aa14d5c89e "config", present = 0x0, 
allow_empty = true, keywords = 0x0}, {opt_inherit = 0x55aa14d64600 
<notmuch_shared_options>, opt_bool = 0x0, opt_int = 0x0, opt_keyword = 0x0, 
opt_flags = 0x0, opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 
0x0, name = 0x0, present = 0x0, allow_empty = false, keywords = 0x0}, 
{opt_inherit = 0x0, opt_bool = 0x0, opt_int = 0x0, opt_keyword = 0x0, opt_flags 
= 0x0, opt_string = 0x0, opt_position = 0x0, keyword_no_arg_value = 0x0, name = 
0x0, present = 0x0, allow_empty = false, keywords = 0x0}}
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to