1 Return-Path: <five9a2@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id C9296431FBC
\r
6 for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 08:09:06 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id w6ZKDSjxJW7A for <notmuch@notmuchmail.org>;
\r
11 Mon, 11 Jan 2010 08:09:06 -0800 (PST)
\r
12 Received: from mail-fx0-f214.google.com (mail-fx0-f214.google.com
\r
14 by olra.theworths.org (Postfix) with ESMTP id 8ADAC431FAE
\r
15 for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 08:09:03 -0800 (PST)
\r
16 Received: by fxm6 with SMTP id 6so8146250fxm.0
\r
17 for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 08:08:57 -0800 (PST)
\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
19 h=domainkey-signature:received:received:sender:from:to:subject:date
\r
20 :message-id:mime-version:content-type;
\r
21 bh=VQUWGiYemhuHGuQRAncVVVTJXyPrUvaSF+FCR6L0rs4=;
\r
22 b=jqD9vTYNhDW3tkw6cksk9bXYvXDBzIRzNFGoGFB4pJaNkGtBpFLwuDC75Bf0J3ThOL
\r
23 ls5qO6krFxMqVYJJVPczIB84kk4hGklFKZ7GWs9MIjMk07OKlplL5AT8WvsuzI/OdHA7
\r
24 NaRDLu0R+J3HzE1ykV0zOOYUuD82Nxtm5CdMw=
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
26 h=sender:from:to:subject:date:message-id:mime-version:content-type;
\r
27 b=IxUkL7Hp133TYOXZDxP8BVFBGHgnlQ9pPfKw0+DkWFRrzGON6HvLHsjTI07PQgp4Hv
\r
28 A5F+8h317OTaowoVAZpa/78ZERL6wGohgNT7wpoKAHwc16qIrl5SKifTBbM7r8BdGtYq
\r
29 g+v5dawVJOwvSBulZD8W3jkEfa01YawFWoeDE=
\r
30 Received: by 10.223.4.144 with SMTP id 16mr7848506far.36.1263226132856;
\r
31 Mon, 11 Jan 2010 08:08:52 -0800 (PST)
\r
32 Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])
\r
33 by mx.google.com with ESMTPS id z15sm482172fkz.6.2010.01.11.08.08.50
\r
34 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
35 Mon, 11 Jan 2010 08:08:51 -0800 (PST)
\r
36 Sender: Jed Brown <five9a2@gmail.com>
\r
37 From: Jed Brown <jed@59A2.org>
\r
38 To: notmuch@notmuchmail.org
\r
39 Date: Mon, 11 Jan 2010 17:10:24 +0100
\r
40 Message-ID: <871vhwei6n.fsf@59A2.org>
\r
42 Content-Type: text/plain; charset=us-ascii
\r
43 Subject: [notmuch] Xapian::DatabaseError on notmuch new upgrade
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 11 Jan 2010 16:09:07 -0000
\r
58 I rebuilt notmuch and got a Xapian exception while notmuch new was
\r
59 upgrading my database. This seemed like a decent time to try the latest
\r
60 Xapian, so I built a copy and the crash remained (and maintainer-mode
\r
61 still optimizes so I built Xapian again so I could get decent
\r
62 debugging). Here is a trace from
\r
64 XAPIAN_PREFER_CHERT=1 notmuch new
\r
66 I got the same error without setting XAPIAN_PREFER_CHERT. It's not
\r
67 clear to me whether this is a usage issue or Xapian problem. The core
\r
68 is 245 MB, I can provide it if someone wants to try debugging.
\r
73 #0 0x00007fa687d9e035 in raise () from /lib/libc.so.6
\r
74 #1 0x00007fa687d9f460 in abort () from /lib/libc.so.6
\r
75 #2 0x00007fa688622925 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
\r
76 #3 0x00007fa688620d56 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
\r
77 #4 0x00007fa688620d83 in std::terminate() () from /usr/lib/libstdc++.so.6
\r
78 #5 0x00007fa688620e7e in __cxa_throw () from /usr/lib/libstdc++.so.6
\r
79 #6 0x00007fa688a221bc in FlintTable::read_block (this=0x16395c8, n=2569, p=0xe3fd8e0 "") at backends/flint/flint_table.cc:243
\r
80 #7 0x00007fa688a22bda in FlintTable::block_to_cursor (this=0x16395c8, C_=0xe4074e0, j=0, n=2569) at backends/flint/flint_table.cc:393
\r
81 #8 0x00007fa688a299fc in FlintTable::next_default (this=0x16395c8, C_=0xe4074e0, j=1) at backends/flint/flint_table.cc:2219
\r
82 #9 0x00007fa688a29983 in FlintTable::next_default (this=0x16395c8, C_=0xe4074e0, j=0) at backends/flint/flint_table.cc:2214
\r
83 #10 0x00007fa688a022c5 in FlintTable::next (this=0x16395c8, C_=0xe4074e0, j=0) at backends/flint/flint_table.h:692
\r
84 #11 0x00007fa688a020d5 in FlintCursor::read_tag (this=0xe43ece0, keep_compressed=false) at backends/flint/flint_cursor.cc:264
\r
85 #12 0x00007fa688a1a6d8 in FlintPostListTable::get_chunk (this=0x16395c8, tname=..., did=82407, adding=false, from=0x7fff849be358, to=0x7fff849be350) at backends/flint/flint_postlist.cc:946
\r
86 #13 0x00007fa688a1b5e3 in FlintPostListTable::merge_changes (this=0x16395c8, mod_plists=..., doclens=..., freq_deltas=...) at backends/flint/flint_postlist.cc:1100
\r
87 #14 0x00007fa688a08d89 in FlintWritableDatabase::flush_postlist_changes (this=0x1639590) at backends/flint/flint_database.cc:1053
\r
88 #15 0x00007fa688a0bb5f in FlintWritableDatabase::replace_document (this=0x1639590, did=45341, document=...) at backends/flint/flint_database.cc:1425
\r
89 #16 0x00007fa688975b7d in Xapian::WritableDatabase::replace_document (this=0x16393a0, did=45341, document=...) at api/omdatabase.cc:817
\r
90 #17 0x0000000000416c6f in _notmuch_message_sync (message=0xe327130) at lib/message.cc:609
\r
91 #18 0x0000000000410ca5 in notmuch_database_upgrade (notmuch=0x1639460, progress_notify=0x40a890 <upgrade_print_progress>, closure=0x7fff849bef20) at lib/database.cc:751
\r
92 #19 0x000000000040ad4a in notmuch_new_command (ctx=0x162b120, argc=0, argv=0x7fff849bf0f8) at notmuch-new.c:746
\r
93 #20 0x000000000040862e in main (argc=2, argv=0x7fff849bf0e8) at notmuch.c:449
\r
95 #17 0x0000000000416c6f in _notmuch_message_sync (message=0xe327130) at lib/message.cc:609
\r
96 609 db->replace_document (message->doc_id, message->doc);
\r
97 Current language: auto
\r
98 The current source language is "auto; currently c++".
\r
100 $1 = {notmuch = 0x1639460, doc_id = 45341, frozen = 0, message_id = 0x0, thread_id = 0x0, in_reply_to = 0x0, filename = 0x0, message_file = 0x0, replies = 0xbaea960, flags = 0, doc = {internal = {dest = 0xe3816c0}}}
\r