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 A4F2E6DE243A for ; Mon, 3 Jul 2017 15:08:09 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.193 X-Spam-Level: X-Spam-Status: No, score=-0.193 tagged_above=-999 required=5 tests=[AWL=-0.163, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 gbD77O24qD4u for ; Mon, 3 Jul 2017 15:08:08 -0700 (PDT) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by arlo.cworth.org (Postfix) with ESMTPS id A43146DE215B for ; Mon, 3 Jul 2017 15:08:07 -0700 (PDT) Received: from len.workgroup ([84.189.128.49]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LcShi-1eAbTx0x30-00jqqi for ; Tue, 04 Jul 2017 00:08:03 +0200 Date: Tue, 4 Jul 2017 00:07:50 +0200 From: Gregor Zattler To: notmuch Subject: Re: Bug: fatal error with notmuch new, second run starts indexing all over again Message-ID: <20170703220750.dkornyh4ho7b2azy@len.workgroup> Mail-Followup-To: notmuch References: <20170703100958.5yidjhsyrnglaxum@len.workgroup> <877ezpbxxu.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877ezpbxxu.fsf@tethera.net> X-Provags-ID: V03:K0:jt/1K0AZ0AFOOfuZQwf+uHTUQXbER1Q2xoeQuucTglJcNiFThKS l0/MbCHDRTMn2RQLXMzO9WmDSLOKVa1Oq2J8GgcnMQRjax5beP1fi/E8OCn4Rn3IAIWNwH2 IEJZ49WZtm1pRK3bGsdutiEk+0vUB/Txzqpl2wlLWi2bkWsYY5iDE1PtVMZqwEu6wPs+4EL TwWUHvBWqYs/yfzKNJlWg== X-UI-Out-Filterresults: notjunk:1;V01:K0:OEXwrWUyrg0=:POuZd06LR5fzvxsxmMZJQo U+mKTVJcahJx/SmwyVE6p9DKOj68qa0qazTldjNvwZQCAWmbTVUce5dKhM3FeG3UN9i6VKTvT hATkrsKbOzuJ1cIOCmAsRXWqGpksubqxLIQn+te3rdMTfD3jOPM1lQ3gqcPBWFoHgrs2vI3p6 NzqP1eSaP8jx75zvADN7DkvP0ULasjKjqHwW2s3C9V10kNgXLmb6dh/zBXuES5TNfRGyHLA/M Q7HsLFT0Hq0pOUEdEMLrcWU99Wu9HN33dgra2W5NLhmCBPdG1cpd87MQ/ZBVSM7zMH5GTmaal 0dv8fKXSLeAjTJg1/HpuKq4EQJicZQEm3AyEYc7RmlYAc13tx5ia5lMWwsMsYzvL4tLnHsLHg xDIX+nPUJ1SyaNLDBPtFXdzdqw93io6sG3dbJUupbJ2WZRtmFMOiLIA01ur9dE5lT0pHv1xu1 DbcfQyujkNHIZOMC4djBbZWkZkvXQnOYPUoiAuuxqE9G4ceOzfRi5384ch5HHQ85n8dNRqrSH N4Mtpq69vxOzzhSCDIZ6clBHNnxlKY+j7iL/hbZoJxpyR8Hur3MvqeWTSWGCVq7oX/PLX3587 hXHCmyutUJzdlJa2gJex7o3645TNYDzECrDAbNGCEQzjBaXTEP9qiHzRriRnLODBnlKaDUyJu P79okJ2yLGfLX1aoddh7ADLzqQH9Gubk6WjWCVgSI7tSji3tEGuUktbPc630J2lr1BmZmm8vz BXyYKcOIKMqmqc92UsEyBWwCO47JdOJf+iZ6oDf/TClHs2ofEXokDSUyZuc= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Mon, 03 Jul 2017 22:08:09 -0000 Hi David, notmuch developers, * David Bremner [03. Jul. 2017]: > Gregor Zattler writes: >> notmuch new fails while indexing my emails and when executed a >> second time it obviously starts over again. This is on a >> up-to-date debian stetch with notmuch from git: >> Any ideas how to proceed in order to get a working notmuch setup? > 1. Check disk space Sorry, forgot to mention: there is enough free space on RAM (8 GB) and SSD (40 G free). > 2. run xapian-fsck xapian-check does not find any errors, only spelling and synonym are "Lazily created, and not yet used." > 3. run "notmuch new" under gdb to try to get a backtrace I have no clue about gdb, there was no backtrace: 0 (master) grfz@len:~$ gdb --args notmuch new GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from notmuch...done. (gdb) run Starting program: /usr/local/bin/notmuch new [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Error: A Xapian exception occurred. Halting processing. Processed 662357 total files in 1h 52m 51s (97 files/sec.). Added 587023 new messages to the database. Note: A fatal error was encountered: A Xapian exception occurred [Inferior 1 (process 4509) exited with code 01] (gdb) bt No stack. (gdb) > 4. use "git bisect" to try to find what commit introduced this problem I'll do so in the next few days. Thanks, Gregor -- -... --- .-. . -.. ..--.. ...-.-