From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23704: 25.1.50; Emacs crash in syntax.c Date: Mon, 06 Jun 2016 21:45:54 +0300 Message-ID: <834m96tau5.fsf@gnu.org> References: <84k2i2fg6d.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1465238792 12009 80.91.229.3 (6 Jun 2016 18:46:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 18:46:32 +0000 (UTC) Cc: 23704@debbugs.gnu.org To: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 20:46:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b9zXR-0005xh-MQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 20:46:13 +0200 Original-Received: from localhost ([::1]:44537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9zXQ-00053e-S4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 14:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9zXL-00053V-Ro for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 14:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9zXG-0000xY-PP for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 14:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9zXG-0000xU-LZ for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 14:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b9zXG-0006xT-EK for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 14:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2016 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23704 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23704-submit@debbugs.gnu.org id=B23704.146523874426720 (code B ref 23704); Mon, 06 Jun 2016 18:46:02 +0000 Original-Received: (at 23704) by debbugs.gnu.org; 6 Jun 2016 18:45:44 +0000 Original-Received: from localhost ([127.0.0.1]:57022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9zWy-0006wu-Ik for submit@debbugs.gnu.org; Mon, 06 Jun 2016 14:45:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9zWw-0006wh-CN for 23704@debbugs.gnu.org; Mon, 06 Jun 2016 14:45:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9zWm-0000he-Qy for 23704@debbugs.gnu.org; Mon, 06 Jun 2016 14:45:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9zWm-0000gI-NK; Mon, 06 Jun 2016 14:45:32 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4142 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b9zWk-0001vO-71; Mon, 06 Jun 2016 14:45:31 -0400 In-reply-to: <84k2i2fg6d.fsf@gmail.com> (vincent.belaiche@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119172 Archived-At: > From: vincent.belaiche@gmail.com (Vincent Belaïche) > Cc: Vincent Belaïche > Date: Mon, 06 Jun 2016 18:14:18 +0200 > > (gdb) p PT_ADDR > $1 = (unsigned char *) 0x521073e " long as we don't have any longer the \\NEWLINE the problem is solved. So it could be:\n\n\n\n--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----\n in_input_funnies=`echo \"$in_input\" \\\n "... > (gdb) p GPT_ADDR > $2 = (unsigned char *) 0x5210677 "" > (gdb) p GPT > $3 = 1651 Not exactly what I expected, which might mean my theory about the crash reasons is incorrect (although the code is still unsafe). Hmm... > The PT_ADDR seems to be pointing at the content of an email that I was > editing when the crash occurred --- fortunately nothing confidential > -)), some discussion in Texinfo bug mailing list, concerning support for > spaces in filenames. If you are interested the thread is titled: > > REVIEW REQUEST - user manual generation > > I have also attached a screen capture of crashed Emacs, that may help > you see what the content of the edited buffer was when the crash > occurred. It seems that the crash occurred while I was editing the > sentence « So it could be: ... ». PT_ADDR is the address of point in buffer text, so you were editing the sentence where it points, i.e. the sentence before that.