On Thu, Nov 19, 2009 at 9:45 AM, Adrian Perez de Castro
<aperez at igalia.com> wrote:
> On Wed, 18 Nov 2009 12:00:10 -0600, Jeffrey wrote:
>> 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++".
> I have hit what I believe is exactly the same problem. In my case, some
> results are printed when I execute "notmuch search tag:inbox", and then
> the program crashes in the same exact place.
> The thing is that in notmuch_message_get_in_reply_to(), line 288, a NULL
> instance of Xapian::TermIterator is dereferenced. In my particular case,
> the culpript is a cache file of Claws-Mail, as seen in the following GDB
> session:
> [...]
> As you can see, there "filename" points to a Claws-Mail cache file, which
> is a binary file (I can provide a copy if needed). I suspect that this is
> related to the fact that the iterator ends up being NULL somehow.

I straced some of the crashes, and the last file that was read before
the crash was a malformed message.  I've attached one of the messages.
 I've been using offlineimap to sync my gmail mailbox to my laptop so
that I can use notmuch.  offlineimap isn't the most stable program,
but I'm not sure yet if offlineimap is causing the problem or if
that's the way the message is in gmail.

Jeff Ollie
-------------- next part --------------
Delivered-To: jeff at ollie.clive.ia.us
Received: by with SMTP id j18cs228556agb;
        Thu, 5 Nov 2009 22:23:50 -0800 (PST)
Received: by with SMTP id 38mr7468290agp.112.1257488620374;
        Thu, 05 Nov 2009 22:23:40 -0800 (PST)
Return-Path: <xhutteesjj at yahoo.com.au>
Received: from ([])
        by mx.google.com with SMTP id 41si9046203iwn.112.2009.;
        Thu, 05 Nov 2009 22:23:40 -0800 (PST)
Received-SPF: neutral (google.com: is neither permitted nor 
denied by best guess record for domain of xhutteesjj at yahoo.com.au) 
Authentication-Results: mx.google.com; spf=neutral (google.com: 
is neither permitted nor denied by best guess record for domain of xhutteesjj 
at yahoo.com.au) smtp.mail=xhutteesjj at yahoo.com.au
Date: Thu, 05 Nov 2009 22:23:40 -0800 (PST)
Received: from by; Fri, 06 Nov 2009 03:20:42 -0300
Message-ID: <C[20

Reply via email to