unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Notmuch list <notmuch@notmuchmail.org>
Subject: Re: Segfault when tagging results of to: query
Date: Tue, 12 Nov 2019 04:48:31 +0000	[thread overview]
Message-ID: <CAMXnza2V5WeeVePkNW4c2DKhfygW-Yt0Vqc2DV1KC8CfaQ7NGA@mail.gmail.com> (raw)
In-Reply-To: <87tv7anqu3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me>

Hi,

On Mon, Nov 11, 2019 at 8:54 PM Hugh Williams <hugh@hmlw.uk> wrote:
>
> When trying to tag all messages to a particular address using the query
> `notmuch tag +College to:example@example.com` I get a segfault. The
> backtrace from gdb is shown below.
>
> ```
> #0  0x00007ffff78deee4 in  () at /usr/lib/libxapian.so.30
> #1  0x00007ffff78e26fe in  () at /usr/lib/libxapian.so.30
> #2  0x00007ffff78e90a2 in  () at /usr/lib/libxapian.so.30
> #3  0x00007ffff78081f8 in Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () at /usr/lib/libxapian.so.30
> #4  0x00007ffff7808466 in Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () at /usr/lib/libxapian.so.30
> #5  0x00007ffff7fb69ca in  () at /usr/lib/libnotmuch.so.5
> #6  0x000055555556bca2 in  ()
> #7  0x000055555556c21a in  ()
> #8  0x000055555555c12c in  ()
> #9  0x00007ffff79c9153 in __libc_start_main () at /usr/lib/libc.so.6
> #10 0x000055555555c2ee in  ()
> ```

I see the same issue as well!  I'm on Fedora 30, using the package
available in the repos.
5.1.20-300.fc30.x86_64
notmuch-0.29.1-1.fc30.x86_64

Here's an example stack trace:

Stack trace of thread 26982:
#0  0x00007f6a3f4c42b8 _ZNK14AndNotPostList10get_weightEv (libxapian.so.30)
#1  0x00007f6a3f4c7d06 _ZNK14SelectPostList10get_weightEv (libxapian.so.30)
#2  0x00007f6a3f4cf62a
_ZN10MultiMatch8get_msetEjjjRN6Xapian4MSetERNS0_6Weight8InternalEPKNS0_12MatchDeciderEPKNS0_8KeyMakerE
(libxapian.so.30)
#3  0x00007f6a3f3e50e6
_ZNK6Xapian7Enquire8Internal8get_msetEjjjPKNS_4RSetEPKNS_12MatchDeciderE
(libxapian.so.30)
#4  0x00007f6a3f3e5359
_ZNK6Xapian7Enquire8get_msetEjjjPKNS_4RSetEPKNS_12MatchDeciderE
(libxapian.so.30)
#5  0x00007f6a3f9a6da0 n/a (libnotmuch.so.5)
#6  0x0000000000419468 tag_query (notmuch)
#7  0x00000000004199d2 notmuch_tag_command (notmuch)
#8  0x0000000000409efb main (notmuch)
#9  0x00007f6a3f5b2f43 __libc_start_main (libc.so.6)
#10 0x000000000040a0ae _start (notmuch)

Query that triggered the segfault is: notmuch tag +fedora --
path:Gmail/** and to:lists.fedoraproject.org and is:new

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2019-11-12  4:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11 19:41 Segfault when tagging results of to: query Hugh Williams
2019-11-12  4:48 ` Suvayu Ali [this message]
2019-11-12 19:46   ` Reto

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=CAMXnza2V5WeeVePkNW4c2DKhfygW-Yt0Vqc2DV1KC8CfaQ7NGA@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.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).