Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / d4 / 9f1ae65fc9ebb1eb1b881cc1891987d2e2bf38
1 Return-Path: <sojkam1@fel.cvut.cz>\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 32A4D40B96B\r
6         for <notmuch@notmuchmail.org>; Sun, 18 Jul 2010 08:00:43 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 3dwNuqvoLpAy for <notmuch@notmuchmail.org>;\r
16         Sun, 18 Jul 2010 08:00:29 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 4654D40B963\r
19         for <notmuch@notmuchmail.org>; Sun, 18 Jul 2010 08:00:29 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id B5D9319F33C9;\r
22         Sun, 18 Jul 2010 17:00:26 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id FKdPl2Nr4eoN; Sun, 18 Jul 2010 17:00:25 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 2E0A019F33B4;\r
30         Sun, 18 Jul 2010 17:00:25 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (unknown [213.29.198.144])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 243EBFA003;\r
34         Sun, 18 Jul 2010 17:00:23 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1OaVLq-0004Ht-Ju; Sun, 18 Jul 2010 17:00:22 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
40 Subject: Re: [PATCH] emacs: Fix stack overflow in notmuch-wash-tidy-citations\r
41 In-Reply-To: <87eif2tja1.fsf@gmail.com>\r
42 References: <1279279955-3110-1-git-send-email-sojkam1@fel.cvut.cz>\r
43         <87eif2tja1.fsf@gmail.com>\r
44 User-Agent: Notmuch/0.3.1-80-g86b7c46 (http://notmuchmail.org) Emacs/23.2.1\r
45         (x86_64-pc-linux-gnu)\r
46 Date: Sun, 18 Jul 2010 17:00:22 +0200\r
47 Message-ID: <87pqykomwp.fsf@steelpick.2x.cz>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 18 Jul 2010 15:00:43 -0000\r
63 \r
64 Hi Dmitry,\r
65 \r
66 On Sat, 17 Jul 2010, Dmitry Kurochkin wrote:\r
67 > I have 2 messages that cause emacs segfault.\r
68 \r
69 My patch didn't fix a segfault but stack overflow which was reported by\r
70 emacs in its *Messages* buffer without crashing.\r
71 \r
72 > Both are notifications from svn. One is 37933 lines, 1,2M. Another is\r
73 > huge - 963179 lines, 31M. I believe the root cause is the same for\r
74 > both segfaults.\r
75\r
76 > Your patch does not fix the problem, unfortunately. Can you advise how\r
77 > to debug this segfault? Build emacs with debug symbols and get backtrace\r
78 > from gdb?\r
79 \r
80 I'm more Emacs user then developer so I cannot give you much detailed\r
81 information. First, try to check\r
82 http://mid.gmane.org/87pr0t5h1q.fsf@yoom.home.cworth.org and Emacs\r
83 bug#6214. There may by a fix your problem.\r
84 \r
85 \r
86 > Debug notmuch lisp code (how?)? Enable some verbose logging in emacs?\r
87 \r
88 To debug elisp code I open the source in Emacs, move the point to the\r
89 function I'm interested in and press C-u C-M-x. This instruments the\r
90 function code so that the next time the function is invoked, elisp\r
91 debugger appears and you can execute the function step by step and\r
92 inspect variables.\r
93 \r
94 Maybe, some Emacs guru can give you a better advice.\r
95 \r
96 Bye\r
97 Michal\r