X-Envelope-From: notmuch-bounces@notmuchmail.org  Mon Apr  6 04:37:29 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id 2F330604E6;
	Mon,  6 Apr 2026 04:37:29 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1])
	by mail.notmuchmail.org (Postfix) with ESMTPS id B0D905F5B4
	for <notmuch@notmuchmail.org>; Mon,  6 Apr 2026 04:37:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1775450243; h=from : to : subject
 : in-reply-to : references : date : message-id : mime-version :
 content-type : from; bh=I0idzyygcgtJzwe27EouV/kyNq5cObzKsOSC6l8Uca4=;
 b=fSDOhbGSnb/L43mJohMpzAOyFpmKBPoCMhDj3PJuTuLuY52CkWs1yOMgQViDL2+UqegdN
 81I6DDwZtxba2AZEEuK0UYTb/nem94a+h6Pl3gAkRpXkCQK9ijELOME0Fo45ZzEOd7Q+cw7
 0CrGzxkiWJH/ltu6ZCwmP7A+e/lbnhBWFFni/L7x3QBvLWLEA5lyPGjQXoGPn1D7CtcPK9+
 mZQY1SEr/ZRKzt7MV9AtR6RYaOalkeGA24XjfjHSiLcdvcSguFZ5OTRF36NDcBc6gxA4t28
 z0iJdTX5eRz5cFFWdrosQP9LUworJYEputzRAbsnDcCJ1OjyojZq2CDAcI2w==
Received: from tethera.net (p1542186-ipxg00d01kyoto.kyoto.ocn.ne.jp [180.33.96.186])
	by phubs.tethera.net (Postfix) with ESMTPS id 9ABE11800F7;
	Mon, 06 Apr 2026 01:37:22 -0300 (ADT)
Received: (nullmailer pid 1349087 invoked by uid 1000);
	Mon, 06 Apr 2026 04:37:18 -0000
From: David Bremner <david@tethera.net>
To: "Peter P." <peterparker@fastmail.com>, notmuch@notmuchmail.org
Subject: Re: Notmuch new: Aborted/Segfault
In-Reply-To: <dnnuoy4ncy46ggijxdgdjtho6ajm43ozmjg3ssf4ccqnff5wo4@zujh4y3sx3wh>
References: <dnnuoy4ncy46ggijxdgdjtho6ajm43ozmjg3ssf4ccqnff5wo4@zujh4y3sx3wh>
Date: Mon, 06 Apr 2026 13:37:18 +0900
Message-ID: <87cy0c901t.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: KIUPAEY6L6GRPWHUKG6ZI6VVPJSWAGPG
X-Message-ID-Hash: KIUPAEY6L6GRPWHUKG6ZI6VVPJSWAGPG
X-MailFrom: david@tethera.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

"Peter P." <peterparker@fastmail.com> writes:

> Hi list,
>
> (please CC me in your replies, as I am not subscribed to this list)
>
> I am getting errors and "Aborted" messages upon running
> 	notmuch new
> on a working installation since a few days. The error is
> 	double free or corruption (out)
> 	Aborted
> or with --verbose it's a simple
> 	Segmentation fault

You can also try notmuch new --debug, which might give us a bit more
information.

>
> Here is the backtrace:
>
> (gdb) double free or corruption (out)
> Program received signal SIGABRT, Aborted.
> 0x00007ffff7b8195c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
> #0  0x00007ffff7b8195c in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Can you try with notmuch-dbgsym and libnotmuch5t64-dbgsym installed? You
will need to add apt sources

deb http://deb.debian.org/debian-debug/ stable-debug main
deb http://deb.debian.org/debian-debug/ proposed-updates-debug main

(the second is probably optional).

If the segmentation fault happens relatively quickly, it may be
worthwhile running notmuch under valgrind
> I have tried re-creating the entire database but without success. What
> could I try next? This is notmuch 0.39 on a Debian stable system.
>

If recreating the database didn't work, it would be good to eliminate
file system corruption (with fsck) and hardware problems (with
smartctl).

Another thing to try is notmuch 0.40-1~bpo13+1 from stable backports.

Out of curiousity, is there anything exotic about the filesystem?

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
