From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0BACA6DE0F5E for ; Mon, 11 Nov 2019 20:48:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.201 X-Spam-Level: X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EFjYwn5Uq0FS for ; Mon, 11 Nov 2019 20:48:44 -0800 (PST) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) by arlo.cworth.org (Postfix) with ESMTPS id 292C46DE0F59 for ; Mon, 11 Nov 2019 20:48:44 -0800 (PST) Received: by mail-vs1-f47.google.com with SMTP id m9so9946011vsq.7 for ; Mon, 11 Nov 2019 20:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=UXW36HmAl7cOSo/LUuS7QbmaCo+0Wqg8i+d4zYOvb68=; b=P0XhEhSYHSVk5aHtfCKndiCM5QjIidzzx4MuzJGJ42YxK1rZPwHBBRgAS7F9doOa1A hxlLEBR6hisG6Ar/mFelhm/XwQQ3TbtbZ6s3bZ6f3v4pHc9STwS3lBjFxa4DB+7vMYQo JjOtMfuObh4F0rbA5oTrfbk0EJuJLEz4MHaL53wFKb00Uf+IOIRO9Jo9GqvgIPg+P/eM BnoKlkFOsdL8aE5Y8fwSkz1V3v/7EGipl6FBekgwKoINlGeWQ32c/7yIZQ9kPPkEp9SO LMNUi9K2cOn280fgLhMC2Q9iHjKeEMnINO5Dn1Y2CeeuaIWM2CrzXIRvAyTO16ZLl1/W FK7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=UXW36HmAl7cOSo/LUuS7QbmaCo+0Wqg8i+d4zYOvb68=; b=IAbbaaDO7tgc60qsRl63Guuw3gjgcRl3BilyHSMqjwC7rfAQtIfCQ8ur3SMivcmrYO t20l2fQUF3YmV7uSt0Zf6VPRny7EG+Y8MBf7j6yDOwDQVAVJRpTTJEcurmc/zHCd3ewz OOiAOMh6dTG77zVm3tudBqQA+mYL/27Wd1Ek0pjpTZ/HgWIi2p/gkCLDKQWTcLyzUKLu dXM6AUjFa+uZZCUuM0RDOq2TJsmAVKTW6Zzxi8MzdekkjvllQInDsehnGlCYYHmeZ79j utGOlikQw8/kxi6KZPoQIV2wlREoHUfwGHDNBwtMomvFiQEPa6YNH2QncbnWH9fhkkgq SqAg== X-Gm-Message-State: APjAAAXfXSQTsMgFM7uAKenBk6Zz4USv/MnIZfeJo3txIzqCqIm5koGb n0tIxCRT0yqUzH+BF7c+JcC4Xsq3LFKHFJjY/j4SJ/N+ X-Google-Smtp-Source: APXvYqx41v18kllM2eelksDSNqDWLxDPk/sA57lNrsIjTv9yHy8fODx9HUw1spJzmkI9UMKiyPm7kUvSkv5qpdwQGyk= X-Received: by 2002:a05:6102:7b7:: with SMTP id x23mr2063371vsg.79.1573534122320; Mon, 11 Nov 2019 20:48:42 -0800 (PST) MIME-Version: 1.0 References: <87tv7anqu3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87tv7anqu3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> From: Suvayu Ali Date: Tue, 12 Nov 2019 04:48:31 +0000 Message-ID: Subject: Re: Segfault when tagging results of to: query To: Notmuch list Content-Type: text/plain; charset="UTF-8" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Tue, 12 Nov 2019 04:48:45 -0000 Hi, On Mon, Nov 11, 2019 at 8:54 PM Hugh Williams 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.