Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9A62B431FBC for ; Wed, 18 Nov 2009 10:00:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qiqjcXbLyIWA for ; Wed, 18 Nov 2009 10:00:12 -0800 (PST) Received: from mail-yx0-f204.google.com (mail-yx0-f204.google.com [209.85.210.204]) by olra.theworths.org (Postfix) with ESMTP id 38392431FAE for ; Wed, 18 Nov 2009 10:00:12 -0800 (PST) Received: by yxe42 with SMTP id 42so1466551yxe.22 for ; Wed, 18 Nov 2009 10:00:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.91.26.5 with SMTP id d5mr2700164agj.16.1258567210434; Wed, 18 Nov 2009 10:00:10 -0800 (PST) Date: Wed, 18 Nov 2009 12:00:10 -0600 Message-ID: <935ead450911181000w2cddfe95qe9efd5bea9f9209d@mail.gmail.com> From: Jeffrey Ollie To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 Subject: [notmuch] Segfault searching for tags X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 18:00:12 -0000 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=) 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=) 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 = \#3 _notmuch_thread_create (thread=0x1595a00) at lib/thread.cc:285 thread = 0x1595a00 thread_id_query = 0x158beb0 matched_query = messages = 0x7fff2cade948 message = thread_id_query_string = matched_query_string = \#4 0x000000000040f3d0 in notmuch_query_search_threads ( query=, first=, max_threads=) 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=, max_threads=) at notmuch-search.c:40 thread = threads = 0x1551290 tags = 0x2 date = relative_date = 0x2
\#6 0x0000000000408ddd in notmuch_search_command (ctx=, argc=1, argv=) at notmuch-search.c:156 config = query = 0x158b510 query_str = i = 1 first = max_threads = opt = end = 0x0 sort = \#7 0x000000000040636f in main (argc=4, argv=0x7fff2cadec98) at notmuch.c:400 local = 0x1543140 command = -- Jeff Ollie