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#11416: 24.1.50; Abort in Fadd_text_properties on Windows Date: Sun, 06 May 2012 22:31:22 +0300 Message-ID: <83zk9l2jjp.fsf@gnu.org> References: <4FA6C250.7010905@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1336332858 10832 80.91.229.3 (6 May 2012 19:34:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 May 2012 19:34:18 +0000 (UTC) Cc: 11416@debbugs.gnu.org To: Christoph Scholtes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 06 21:34:17 2012 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 1SR7Df-0005sO-Tc for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 21:34:12 +0200 Original-Received: from localhost ([::1]:58781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SR7Df-0002wy-9x for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 15:34:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SR7Dc-0002vT-2d for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 15:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SR7Da-0004J7-5L for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 15:34:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SR7DZ-0004Is-Dd for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 15:34:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SR7FR-0008Km-I5 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 15:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 May 2012 19:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11416 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11416-submit@debbugs.gnu.org id=B11416.133633295632025 (code B ref 11416); Sun, 06 May 2012 19:36:01 +0000 Original-Received: (at 11416) by debbugs.gnu.org; 6 May 2012 19:35:56 +0000 Original-Received: from localhost ([127.0.0.1]:38845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SR7FL-0008KT-Tg for submit@debbugs.gnu.org; Sun, 06 May 2012 15:35:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49780) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SR7FH-0008KF-Vm for 11416@debbugs.gnu.org; Sun, 06 May 2012 15:35:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3M008008TS4400@a-mtaout22.012.net.il> for 11416@debbugs.gnu.org; Sun, 06 May 2012 22:33:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3M007R18ZI4IJ0@a-mtaout22.012.net.il>; Sun, 06 May 2012 22:33:19 +0300 (IDT) In-reply-to: <4FA6C250.7010905@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59824 Archived-At: > Date: Sun, 06 May 2012 12:26:24 -0600 > From: Christoph Scholtes > CC: 11416@debbugs.gnu.org > > Eli Zaretskii writes: > > > What is 'object' in frame #2? > > from bt full: > > #2 0x01263a6c in Fadd_text_properties (start=1232, end=1236, > properties=280626054, object=283151365) at textprop.c:129 > i = (INTERVAL) 0x0 > unchanged = (INTERVAL) 0x88c374 > s = 308 > len = 1 > modified = 0 > gcpro1 = { > next = 0x2, > var = 0x88c150, > nvars = 58206234 Sorry, I should have been more clear. I meant this: (gdb) p object (gdb) xtype If "xtype" says it's a symbol, follow immediately by "xsymbol" to see which symbol it is. Other Lisp data types have their respective xFOO commands to do similar things. Btw, is this an optimized build? I didn't pay attention before, but I see now that the C backtrace is entirely bogus: almost all frames there are "at eval.c:175", which is obviously nonsense, since the function names are different. The place where abort was called, claimed to be textprop.c:129, is also a lie, as nothing around that line can ever call abort (unless I'm missing something). I'm guessing it actually aborted at line 1194: if (i == 0) abort (); Not sure what that means, though. And what versions of GCC and GDB did you use? > Lisp Backtrace: > "add-text-properties" (0x88c284) > "let" (0x88c49c) > "org-indent-set-line-properties" (0x88c590) > "let*" (0x88c82c) > "cond" (0x88c97c) > "while" (0x88cadc) > "progn" (0x88cbfc) > "unwind-protect" (0x88cd1c) > "let*" (0x88ce9c) > "with-silent-modifications" (0x88cf8c) > "let*" (0x88d10c) > "save-restriction" (0x88d25c) > "save-excursion" (0x88d3ac) > "org-with-wide-buffer" (0x88d49c) > "progn" (0x88d5bc) > "unwind-protect" (0x88d6dc) > "let" (0x88d89c) > "save-match-data" (0x88d98c) > "org-indent-add-properties" (0x88da80) > "let" (0x88dd5c) > "if" (0x88de7c) > "progn" (0x88df9c) > "unwind-protect" (0x88e0bc) > "let" (0x88e27c) > "save-match-data" (0x88e36c) > "progn" (0x88e48c) > "if" (0x88e5ac) > "when" (0x88e69c) > "org-indent-refresh-maybe" (0x88e8e8) > "insert" (0x88e9f0) > "progn" (0x88ebac) > "if" (0x88eccc) > "let" (0x88ee9c) > "org-align-tags-here" (0x88ef90) > "progn" (0x88f1cc) > "if" (0x88f2ec) > "when" (0x88f3dc) > "org-fix-tags-on-the-fly" (0x88f4d0) > "cond" (0x88f72c) > "org-self-insert-command" (0x88f914) > "call-interactively" (0x88fb44) Any hope of you remembering what you did at that point?