unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: notmuch ML <notmuch@notmuchmail.org>
Subject: segfault with xapian 1.3.1
Date: Thu, 5 Sep 2013 17:06:45 +0200	[thread overview]
Message-ID: <CAHmME9q3H2KKBRb_VU4Rr-pc+2qR=uPxiX8YPBFE4N0DaiidAA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

As discussed on IRC, notmuch segfaults with 1.3.1 but not with 1.2.5 on
notmuch-new:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&) ()
from /usr/lib64/libxapian-1.3.so.1
(gdb) bt
#0  0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&)
() from /usr/lib64/libxapian-1.3.so.1
#1  0x00007ffff7decaa5 in _notmuch_message_get_term(_notmuch_message*,
Xapian::TermIterator&, Xapian::TermIterator&, char const*) () from
/usr/lib64/libnotmuch.so.3
#2  0x00007ffff7ded1fb in
_notmuch_message_ensure_metadata(_notmuch_message*) () from
/usr/lib64/libnotmuch.so.3
#3  0x00007ffff7ded535 in notmuch_message_get_message_id () from
/usr/lib64/libnotmuch.so.3
#4  0x00007ffff7de9c11 in notmuch_database_add_message () from
/usr/lib64/libnotmuch.so.3
#5  0x000000000040c610 in add_files ()
#6  0x000000000040cfbf in notmuch_new_command ()
#7  0x0000000000407a1b in main ()

This occurs irrespective of the state of the database or the message being
added.

[-- Attachment #2: Type: text/html, Size: 1242 bytes --]

             reply	other threads:[~2013-09-05 15:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 15:06 Jason A. Donenfeld [this message]
2013-09-06  0:17 ` segfault with xapian 1.3.1 David Bremner
2013-09-06  1:22   ` David Bremner
2013-09-06 21:29     ` Olly Betts
2016-03-22 23:31 ` David Bremner

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='CAHmME9q3H2KKBRb_VU4Rr-pc+2qR=uPxiX8YPBFE4N0DaiidAA@mail.gmail.com' \
    --to=jason@zx2c4.com \
    --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).