From: Jeffrey Ollie <jeff@ocjtech.us>
To: notmuch@notmuchmail.org
Subject: Segfault searching for tags
Date: Wed, 18 Nov 2009 12:00:10 -0600 [thread overview]
Message-ID: <935ead450911181000w2cddfe95qe9efd5bea9f9209d@mail.gmail.com> (raw)
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/omtermlistiterator.cc:78
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/omtermlistiterator.cc:78
No locals.
\#1 0x000000000040d213 in _notmuch_message_get_in_reply_to (message=0x1594f70)
at lib/message.cc:288
prefix = 0x415b77 "XREPLYTO"
prefix_len = 0
i = {internal = {dest = 0x0}}
in_reply_to = ""
\#2 0x000000000040f842 in _resolve_thread_relationships (thread=0x1595a00)
at lib/thread.cc:157
node = 0x1596130
message = 0x1594f70
parent = 0x7fff2cade9c8
prev = 0x1595cd0
in_reply_to = <value optimized out>
\#3 _notmuch_thread_create (thread=0x1595a00) at lib/thread.cc:285
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/query.cc:217
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
next reply other threads:[~2009-11-18 18:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 18:00 Jeffrey Ollie [this message]
2009-11-19 15:45 ` Segfault searching for tags Adrian Perez de Castro
2009-11-20 2:23 ` Jeffrey Ollie
2009-11-20 11:32 ` Carl Worth
2009-11-20 13:10 ` Jeffrey Ollie
2009-11-20 13:20 ` Jan Janak
2009-11-20 17:02 ` Carl Worth
2009-11-20 19:03 ` Adrian Perez de Castro
2009-11-21 0:32 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=935ead450911181000w2cddfe95qe9efd5bea9f9209d@mail.gmail.com \
--to=jeff@ocjtech.us \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).