From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs trunk crash Date: Sun, 22 Mar 2015 22:13:08 +0200 Message-ID: <838ueossdn.fsf@gnu.org> References: <834mpevkao.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427055227 26511 80.91.229.3 (22 Mar 2015 20:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2015 20:13:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 22 21:13:37 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YZmFb-0001EX-K3 for ged-emacs-devel@m.gmane.org; Sun, 22 Mar 2015 21:13:35 +0100 Original-Received: from localhost ([::1]:52224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZmFa-0002zh-QF for ged-emacs-devel@m.gmane.org; Sun, 22 Mar 2015 16:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZmFX-0002zI-2q for emacs-devel@gnu.org; Sun, 22 Mar 2015 16:13:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZmFT-0002FY-9m for emacs-devel@gnu.org; Sun, 22 Mar 2015 16:13:31 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:62106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZmFT-0002Ey-1z for emacs-devel@gnu.org; Sun, 22 Mar 2015 16:13:27 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NLM00700QDJED00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 22 Mar 2015 22:13:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLM0079EQUCER10@a-mtaout21.012.net.il>; Sun, 22 Mar 2015 22:13:24 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184125 Archived-At: > From: Fabrice Popineau > Date: Sun, 22 Mar 2015 19:59:41 +0000 (UTC) > > > Also, can you show the Lisp object being read here? > > I take any instruction to dig any further. > I am a bit stuck on how to print even the lisp form that is evaluated. The text being read is in current_buffer. current_buffer->text->beg points to the beginning of the text as a C string, and current_buffer->pt_byte is the byte offset of point in that string. If point is after the gap (whose value is current_buffer->text->gpt), then it is more convenient to use BYTE_POS_ADDR to find the text where point is. That place is where you will find the offending Lisp object. Or just print the value of PT and then look inside the file at that position. Thanks for the backtraces, I hope someone will be able to use them to figure out the problem.