Getting the following segfault with 306635c2 on Fedora 12.  Seems to
be happening with any 'tag:' search that returns results.  For
example, 'notmuch search tag:inbox' and 'notmuch search tag:unread'
segfault but 'notmuch search tag:nosuchtag', 'notmuch search
subject:logwatch' and 'notmuch search video' seem to work fine.

Core was generated by `/usr/bin/notmuch search --sort=oldest-first tag:inbox'.
Program terminated with signal 11, Segmentation fault.
\#0  Xapian::TermIterator::operator* (this=<value optimized out>)
    at api/
78          RETURN(internal->get_termname());
Current language:  auto
The current source language is "auto; currently c++".

Thread 1 (Thread 15005):
\#0  Xapian::TermIterator::operator* (this=<value optimized out>)
    at api/
No locals.
\#1  0x000000000040d213 in _notmuch_message_get_in_reply_to (message=0x1594f70)
    at lib/
        prefix = 0x415b77 "XREPLYTO"
        prefix_len = 0
        i = {internal = {dest = 0x0}}
        in_reply_to = ""
\#2  0x000000000040f842 in _resolve_thread_relationships (thread=0x1595a00)
    at lib/
        node = 0x1596130
        message = 0x1594f70
        parent = 0x7fff2cade9c8
        prev = 0x1595cd0
        in_reply_to = <value optimized out>
\#3  _notmuch_thread_create (thread=0x1595a00) at lib/
        thread = 0x1595a00
        thread_id_query = 0x158beb0
        matched_query = <value optimized out>
        messages = 0x7fff2cade948
        message = <value optimized out>
        thread_id_query_string = <value optimized out>
        matched_query_string = <value optimized out>
\#4  0x000000000040f3d0 in notmuch_query_search_threads (
    query=<value optimized out>, first=<value optimized out>,
    max_threads=<value optimized out>) at lib/
        threads = 0x158b5f0
        thread = 0x6e00000077
        messages = 0x158b7c0
        message = 0x158c580
        thread_id = 0x158b890 "2065b08615b4cbbb22d9ee874bb84d3e"
        seen = 0x15454a0
        messages_seen = 0
        threads_seen = 0
\#5  0x00000000004089a1 in do_search_threads (ctx=0x1543140, query=
    0x7fff2cade8a0, sort=NOTMUCH_SORT_OLDEST_FIRST,
    first=<value optimized out>, max_threads=<value optimized out>)
    at notmuch-search.c:40
        thread = <value optimized out>
        threads = 0x1551290
        tags = 0x2
        date = <value optimized out>
        relative_date = 0x2 <Address 0x2 out of bounds>
\#6  0x0000000000408ddd in notmuch_search_command (ctx=<value optimized out>,
    argc=1, argv=<value optimized out>) at notmuch-search.c:156
        config = <value optimized out>
        query = 0x158b510
        query_str = <value optimized out>
        i = 1
        first = <value optimized out>
        max_threads = <value optimized out>
        opt = <value optimized out>
        end = 0x0
        sort = <value optimized out>
\#7  0x000000000040636f in main (argc=4, argv=0x7fff2cadec98) at notmuch.c:400
        local = 0x1543140
        command = <value optimized out>

Jeff Ollie

Reply via email to