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#8790: 24.0.50; abort Date: Sat, 04 Jun 2011 10:21:11 +0300 Message-ID: <8362omdpug.fsf@gnu.org> References: <83zkm0djz8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1307172148 12935 80.91.229.12 (4 Jun 2011 07:22:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 07:22:28 +0000 (UTC) Cc: 8790@debbugs.gnu.org To: Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 04 09:22:22 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlBc-0000CS-S5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 09:22:20 +0200 Original-Received: from localhost ([::1]:59408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlBa-0002YZ-Hr for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 03:22:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlBL-0002YR-Nl for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 03:22:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSlBK-0001C9-R3 for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 03:22:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlBK-0001C5-OF for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 03:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QSlBK-0001pQ-7l; Sat, 04 Jun 2011 03:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jun 2011 07:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8790 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8790-submit@debbugs.gnu.org id=B8790.13071720676967 (code B ref 8790); Sat, 04 Jun 2011 07:22:02 +0000 Original-Received: (at 8790) by debbugs.gnu.org; 4 Jun 2011 07:21:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlAR-0001oK-GX for submit@debbugs.gnu.org; Sat, 04 Jun 2011 03:21:07 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlAO-0001nm-Qe for 8790@debbugs.gnu.org; Sat, 04 Jun 2011 03:21:05 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LM900K0083K8V00@a-mtaout20.012.net.il> for 8790@debbugs.gnu.org; Sat, 04 Jun 2011 10:20:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.223.140]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LM900KU08EX7D20@a-mtaout20.012.net.il>; Sat, 04 Jun 2011 10:20:59 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Jun 2011 03:22:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:46949 Archived-At: > Date: Fri, 3 Jun 2011 18:10:30 -0400 > From: Sam Steingold > Cc: 8790@debbugs.gnu.org > > (gdb) up > #1 0x000000000055eae6 in internal_condition_case_n ( > bfun=0x55d210 , nargs=3, args=0x7fffbed6d3d0, > handlers=11763538, hfun=0x435920 ) > at /home/sds/src/emacs/trunk/src/eval.c:1625 > 1625 abort (); > (gdb) p coding_s > coding_set_destination coding_system > coding_set_source coding_system_charset_list > (gdb) p coding_system > No symbol "coding_system" in current context. > (gdb) xsymbol coding_system > The history is empty. > (gdb) down > #0 abort () at /home/sds/src/emacs/trunk/src/emacs.c:374 > 374 { > (gdb) down > Bottom (innermost) frame selected; you cannot go down. > (gdb) xsymbol coding_system > The history is empty. > (gdb) p coding_system > No symbol "coding_system" in current context. > (gdb) local > Undefined command: "local". Try "help". > (gdb) up > #1 0x000000000055eae6 in internal_condition_case_n ( > bfun=0x55d210 , nargs=3, args=0x7fffbed6d3d0, > handlers=11763538, hfun=0x435920 ) > at /home/sds/src/emacs/trunk/src/eval.c:1625 > 1625 abort (); > (gdb) up > #2 0x000000000042ca92 in safe_call (nargs=3, args=0x7fffbed6d3d0) > at /home/sds/src/emacs/trunk/src/xdisp.c:2156 > 2156 val = internal_condition_case_n (Ffuncall, nargs, args, Qt, > (gdb) up > #3 0x0000000000489cdc in encode_coding_object (coding=0x7fffbed6d450, > src_object=185324785, from=0, from_byte=0, to=9, to_byte=9, > dst_object=11763538) at /home/sds/src/emacs/trunk/src/coding.c:7826 > 7826 safe_call (3, args); > (gdb) p coding > $1 = (struct coding_system *) 0x7fffbed6d450 No, I mean the Lisp object (a symbol) that specifies the coding-system. In this crash, it's in frame #4: > #4 0x000000000048ac28 in code_convert_string (string=185324785, > coding_system=12118818, dst_object=11763538, encodep=1, > nocopy=, norecord=1) > at /home/sds/src/emacs/trunk/src/coding.c:8940 Use "p coding_system" followed by "xsymbol". Also, can you show the value of x_error_message->string? That seems to be the immediate cause of the crash, because Emacs aborts here: if (x_catching_errors ()) abort ();