1 Return-Path: <eric@deptj.eu>
\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 arlo.cworth.org (Postfix) with ESMTP id DF2E46DE01F5
\r
6 for <notmuch@notmuchmail.org>; Thu, 18 Feb 2016 13:27:05 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.094 tagged_above=-999 required=5 tests=[AWL=0.004,
\r
12 DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001,
\r
13 RCVD_IN_MSPIKE_H3=-0.01,
\r
14 RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01] autolearn=disabled
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id Hc73BvyckE-Q for <notmuch@notmuchmail.org>;
\r
18 Thu, 18 Feb 2016 13:27:03 -0800 (PST)
\r
19 Received: from mx1.solardns.com (mx1.solardns.com [109.73.127.119])
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 241676DE01C2
\r
21 for <notmuch@notmuchmail.org>; Thu, 18 Feb 2016 13:27:03 -0800 (PST)
\r
22 Received: from [213.129.84.218] (helo=luna.solardns.com)
\r
23 by mx1.solardns.com with esmtps (TLSv1.2:DHE-RSA-AES256-SHA:256)
\r
24 (Exim 4.85) (envelope-from <eric@deptj.eu>) id 1aWW6E-00030B-Cy
\r
25 for notmuch@notmuchmail.org; Thu, 18 Feb 2016 21:27:00 +0000
\r
26 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deptj.eu;
\r
27 s=default; h=Date:Message-ID:References:In-Reply-To:To:Subject:From;
\r
28 bh=sul/5tdrhJNRNwbHR6+iaiL1mK5u9QeEj9fFAzIshWs=; b=Zarr6jiUL5Yk/BkThyEFd1YyLz
\r
29 XfBlcXR71eMIr3xmpc/5fIIy0F86KXEGJ+6z8kr/tneOR0hOnaehpOtUkF3eHU7tlpQFO5lqThw/p
\r
30 2oAau5UX0mCEn6Jja8UaryIie+hUDwBPPuV9aWtZ6E5HZ9E1DSmztlLtpeT5QBRkgdzA=;
\r
31 Received: from [92.135.160.170] (port=45233 helo=bruno.deptj.eu)
\r
32 by luna.solardns.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
\r
33 (Exim 4.86) (envelope-from <eric@deptj.eu>) id 1aWW6D-000Nqa-Rq
\r
34 for notmuch@notmuchmail.org; Thu, 18 Feb 2016 21:26:58 +0000
\r
35 Received: from eric by bruno.deptj.eu with local (Exim 4.84)
\r
36 (envelope-from <eric@deptj.eu>) id 1aWW6C-0000rv-9I
\r
37 for notmuch@notmuchmail.org; Thu, 18 Feb 2016 22:26:56 +0100
\r
38 From: Eric J <eric@deptj.eu>
\r
39 Subject: Re: Lost updates to Notmuch database
\r
40 To: notmuch@notmuchmail.org
\r
41 In-Reply-To: <m27fi2nl9x.fsf@guru.guru-group.fi>
\r
42 References: <337393ce5e2484d64f837a44b2c4f2ea32f91295-NM@bruno.deptj.eu>
\r
43 <871t8avnhq.fsf@zancas.localnet> <m27fi2nl9x.fsf@guru.guru-group.fi>
\r
44 Message-ID: <d64b4eafab192f6a44fb615730ff3350bae8876b-NM@bruno.deptj.eu>
\r
45 Date: Thu, 18 Feb 2016 22:26:56 +0100 (CET)
\r
48 s0sct1PQhAABKnZB5plbIZxxbsbMXbbOVqDrOlLQDPCKLoLP9dSDpksiPa3sfcfQiw3bi2TEXpBy
\r
49 KOgMDJLxZ2gLr13hkJnqYlE8dI2PqoFC/lGsrXcsS0xY0J18f6o7xB66CWvXcfKDfXjTU++u6xhe
\r
50 WCSLUuyYP2jwPnaAzIpzxWLFN0FQvlq8eSU5QIMLZuM7jUXIESohoO51xWmU8U0XxLGz4gGrl7np
\r
51 YUMMsx7Zx6js8RMGZ+eyCM03IideZE/8G6RrW+hPYRmHOym9VEp4OmAp9SwcFw57ijAOXur1H/aA
\r
52 warQpYDOYx/6JtUOKIpz/KyJk6xidDbrtJGeIvwS+mRNB2u5eXMTyiRDCl4blv/7/GYDGL6pBAPx
\r
53 3RhxuHrpSpJU4PQlqFj9797wgsGhIeDBws4kvu4hgViYIJSOH7FelTFEA57OugCjQqJvq5XDlSi1
\r
54 S/CAqp6x6giLUpAadaOpLL7vzAlHz9Vt0lJbH3q7FSJEAvmcpRDg+DcXMCx8qKfWo/2nfeswSb/v
\r
55 XOidX4Ts4xdG+C13IyWeZaJClvAWyUAUCSYHhmge3quet8geXjZWRvaT/RbJ/nX/IFFm7SbdEzck
\r
56 901Ob2Iq9tC/Vh1lis0iI/S1HLwoHXf0
\r
57 X-Report-Abuse-To: spam@mx1.solardns.com
\r
58 X-Filter-Fingerprint:
\r
59 IFrWXGses7OKB5S5G8/dJdIz5bb8V0ykx8BnFBnunHBA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC
\r
60 mj99/u+Poh38tEMU4IgC4sNz49qn3HHnhRv/ZJ3kEy8bfiAr+Fb/UpndEJ0YoaLytXXo8BMTaVt0
\r
61 ARHRi6XGuAluI1udprGClI6bm+u9ssQgM5AHe3Zacv4uJct5wtJvPpZ2dlBHCwDSxr3Vz+LJ/RhM
\r
62 2JZ0ECN5dnq47RWft7iCyM9+PbHelB4qP9S6mTzNwoPraFy6ieiDqMHb2a0eZvGOvr7RaxKWGCKO
\r
64 X-Originating-IP: 213.129.84.218
\r
65 X-SpamExperts-Domain: out.solardns.com
\r
66 X-SpamExperts-Username: 213.129.84.218
\r
67 Authentication-Results: solardns.com;
\r
68 auth=pass smtp.auth=213.129.84.218@out.solardns.com
\r
69 X-SpamExperts-Outgoing-Class: ham
\r
70 X-SpamExperts-Outgoing-Evidence: Combined (0.21)
\r
71 X-Recommended-Action: accept
\r
72 X-BeenThere: notmuch@notmuchmail.org
\r
73 X-Mailman-Version: 2.1.20
\r
75 List-Id: "Use and development of the notmuch mail system."
\r
76 <notmuch.notmuchmail.org>
\r
77 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
78 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
79 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
80 List-Post: <mailto:notmuch@notmuchmail.org>
\r
81 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
82 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
83 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
84 X-List-Received-Date: Thu, 18 Feb 2016 21:27:06 -0000
\r
86 On Thu, 18 Feb 2016 16:30:34 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
87 > On Thu, Feb 18 2016, David Bremner <david@tethera.net> wrote:
\r
89 > > Eric J <eric@deptj.eu> writes:
\r
91 > >> However, if I do it twice, in different processes, at the same time, one
\r
92 > >> file is added and tagged properly, the other is not (totally unfindable
\r
93 > >> by notmuch search). Neither process reports any error, and they both log
\r
94 > >> their actions normally. Actually a third simultaneous process also fails
\r
95 > >> to leave any result in the database.
\r
97 > > It should be impossible for more than one process to open a Xapian
\r
98 > > database for writing at the same time. So if the processes are really
\r
99 > > running in parallel, you should be getting error codes from the later
\r
100 > > calls to notmuch_database_open{_verbose}. You claim that's not
\r
101 > > happening, which is puzzling. Maybe you can try to duplicate your
\r
102 > > problem with a tiny C program.
\r
104 > In addition to that (or even before), you could
\r
106 > 1) be able to reproduce the problem
\r
108 As I said in my response to David, I can do just the open, and see that
\r
109 there is no lock, and do the same open in another session without error.
\r
111 > 2) try to reproduce it prefixing the command with ltrace -tt
\r
113 Well, as you say below, no Xapian references. Even worse, ltracing the
\r
114 Tcl version sees no Notmuch references either.
\r
116 > 3) examine carefully the ltrace logs to figure out where the proble lies
\r
118 So all I can see is that the notmuch_database_open from notmuch new
\r
119 looks just like I think mine would look - if I could see it.
\r
121 (Adding -S to ltrace was not particularly informative either.)
\r
125 > Hmm, Interestingly when I run
\r
127 > LD_LIBRARY_PATH=~/vc/ext/notmuch/lib ltrace -f -tt ~/vc/ext/notmuch/notmuch-shared new
\r
129 > I did not see any Xapian references, but when I did
\r
131 > ltrace -f -tt ~/vc/ext/notmuch/notmuch new
\r
133 > I did. Interestingly when using libnotmuch.so.4 the xapian interface
\r
134 > is hidden (is it baked inside ~/vc/ext/notmuch/lib/libnotmuch.so.4.3.0 :O)
\r
136 My latest piece of evidence suggests that this may not be a Notmuch
\r
137 problem, because opening a Xapian database via the Xapian-Tcl bindings
\r
140 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
\r
141 cat 2803 eric 5w REG 8,9 0 526601 /home/eric/omega/data/newsgroups/flintlock
\r
143 No lock here either (and this is not even a Notmuch database).
\r
145 Investigations will continue.
\r