From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1 with LMTPS id GA0QKidtjF5pXAAAk0OIDg (envelope-from ) for ; Tue, 07 Apr 2020 12:08:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QBQoCyZtjF5xXgAA1q6Kng (envelope-from ) for ; Tue, 07 Apr 2020 12:08:06 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA78C948A59 for ; Tue, 7 Apr 2020 12:08:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id BAC766DE13BE; Tue, 7 Apr 2020 05:07:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 zh1mDSt9JKea; Tue, 7 Apr 2020 05:07:59 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 887106DE0F8A; Tue, 7 Apr 2020 05:07:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5B1126DE0F8A for ; Tue, 7 Apr 2020 05:07:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 mYeJojREX2rn for ; Tue, 7 Apr 2020 05:07:55 -0700 (PDT) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by arlo.cworth.org (Postfix) with ESMTPS id 4DEA36DE0F88 for ; Tue, 7 Apr 2020 05:07:55 -0700 (PDT) Received: by mail-pj1-f45.google.com with SMTP id q16so1120684pje.1 for ; Tue, 07 Apr 2020 05:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XGZs6ohCHfkialQrm0By9Fzd4kOH3ruSMDO1Xmm7Ios=; b=ibfee/nZn0AZBV7ivJywTMJt/15kjPwGqxvZ4tOmyDLk2dnlUmmaL9nHHCpfYlI4Mq jX7EX08tOITExg0DIcfTD6BLrv7wpqhnJR6LibeD6gEgQX+WoG5GEXTvbXAxwQHIcQ+c EzzOwOri6lqtJjZ+68+X82TVPgnTQyTV5C6s78d04YBB5OEXAb1k2EhvRsLknyzJjKDj L/LGJQa2qaEKPKeZW+h7ZdF1hSW+ek58ZKs7cHQFW4YF/YoWpKoQD5Sx4tR6jwuBQ6KI U+0kp7f5xArbUgF/r1nrmSL8Fpx5vg7adHPmKhdh+a3l0rW8qn45FJ1YAi5FGQ2okDK1 0ywQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XGZs6ohCHfkialQrm0By9Fzd4kOH3ruSMDO1Xmm7Ios=; b=iafNeSXXL5VExrwOtZcxYy8usMa/IJmec1uqH6nn2M6px/3DZrI90t7qCYnH93DdlG mRo6PPU1F3hjnQmlpZ4DSKxx7+Q721s7XTOXq4GSMUNZ61osGpSahm5k01Tesjr2wSgX L7Wu8JmEkIKEc4eUekOLwor6Bqs0VeOwkQB0NnbGp5ONFCNmn89RBaHO5DFCLbRTLIz1 GGiwJuc3VesnfCtYH5EyGETlPiCP0hwEp6tvGqEDSXFrsq+942KvkYvyJqAnEg/7ryOt Q/Us4T34eLOsf808uRuPM43nhlhQeNCr4uN7vJAHLgT0I2QkKKHgfL5tMqYQPsbI9ySr DHGQ== X-Gm-Message-State: AGi0PuZecuSas9dRZ0Tmg7NTl383ICBWpuhGeK8eSr3Y5p8mfRPCm7Gp 3JccIcJevLs9+o3oTQwomSVTGH4lB1jTk5j9WR2V3iyFSrg= X-Google-Smtp-Source: APiQypIsebcA+UiubOZGpjLdjCT0ZxPl6XQOWAX+3jRULq7XKsgPVUdhduq8htHUkLOtFsDl9Gk6IPIaZ2FRybKPufc= X-Received: by 2002:a17:90a:2e15:: with SMTP id q21mr2418429pjd.166.1586261274458; Tue, 07 Apr 2020 05:07:54 -0700 (PDT) MIME-Version: 1.0 From: Matt Date: Tue, 7 Apr 2020 14:12:46 +0200 Message-ID: Subject: crash after running notmuch new To: notmuch@notmuchmail.org 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=default; t=1586261284; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rWckjGZezN8w64GA7GFttnVcoXf5MYVXlaYQF9FhCRg=; b=RZLVdIw+lxbEea7mvUY/FzINwPfYwwqmBz7X7NWVWZP90GyD4iNfi48RGGClBbZZHfQi/y eezlNmDqnrChFSGDiD8P7H/iU8R1RGhdMIG6MyYnyDUwQi7TDWZgmALt0zx5xstopeOQb6 6rRQJfbwkUtBJjEnZ7kcyzQo3WLtAVM= ARC-Seal: i=1; s=default; d=yhetil.org; t=1586261284; a=rsa-sha256; cv=none; b=UqKLKuCEwI4ykPLOMGjrt679FqqpIruqUs2cV2kWvHUtGmuh6X/Zm+l21ckh5Ic+l7BCwB Ez+/ecKNJEs8H9HfzWTmplVwyRwffGdQK8jnpDoyAcmQQIW5aX69JTjumjIA0ddoB29G0r yM+/6o8CjrHZ9yFc9cYWPglzDHtFrVM= ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=ibfee/nZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=ibfee/nZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scan-Result: default: False [0.09 / 13.00]; ARC_NA(0.00)[]; GENERIC_REPUTATION(0.00)[-0.44153498469513]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.18), country: US(-0.01), ip: 50.126.95.6(-0.44)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: notmuchmail.org]; ARC_SIGNED(0.00)[i=1]; MAILLIST(-0.20)[mailman]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:27017, ipnet:50.126.64.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[mattator@gmail.com,notmuch-bounces@notmuchmail.org]; RCVD_COUNT_SEVEN(0.00)[8]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: Ju7nQhs04+Pa hi, I have a script that runs mbsync followed by notmuch new. It ends with `terminate called after throwing an instance of 'Xapian::DatabaseCorruptError`. Any idea what could cause this. Here is a trace without symbols thoug ==== #0 0x00007f1cb90d315a in raise () from /nix/store/9rabxvqbv0vgjmydiv59wkz768b5fmbc-glibc-2.30/lib/libc.so.6 #1 0x00007f1cb90bd548 in abort () from /nix/store/9rabxvqbv0vgjmydiv59wkz768b5fmbc-glibc-2.30/lib/libc.so.6 #2 0x00007f1cb8d3e643 in ?? () from /nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6 #3 0x00007f1cb8d4a066 in ?? () from /nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6 #4 0x00007f1cb8d4a0b1 in std::terminate() () from /nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6 #5 0x00007f1cb8d4a336 in __cxa_rethrow () from /nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6 #6 0x00007f1cb8ec1f08 in Xapian::TermIterator::TermIterator(Xapian::TermIterator::Internal*) [clone .cold] () from /nix/store/5afyzmgp6rsn1digmh1hf47g7ppwp25v-xapian-1.4.15/lib/libxapian.so.30 #7 0x00007f1cb8ef9546 in Xapian::Database::allterms_begin(std::__cxx11::basic_string, std::allocator > const&) const () from /nix/store/5afyzmgp6rsn1digmh1hf47g7ppwp25v-xapian-1.4.15/lib/libxapian.so.30 #8 0x00007f1cb94a81bf in _create_filenames_for_terms_with_prefix(void*, _notmuch_database*, char const*) [clone .isra.0] () from /nix/store/f4jm5j94pamm5xkbqrk1r70zjvjn0mch-notmuch-0.29.3/lib/libnotmuch.so.5 #9 0x00007f1cb94a8395 in notmuch_directory_get_child_directories () from /nix/store/f4jm5j94pamm5xkbqrk1r70zjvjn0mch-notmuch-0.29.3/lib/libnotmuch.so.5 #10 0x00000000004105df in add_files () #11 0x000000000040fe9e in add_files () #12 0x000000000040fe9e in add_files () #13 0x000000000040fe9e in add_files () #14 0x0000000000411693 in notmuch_new_command () === Cheers