From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Date: Mon, 5 Nov 2012 16:20:49 +0100 Message-ID: References: <87bofcuo12.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352128867 4349 80.91.229.3 (5 Nov 2012 15:21:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2012 15:21:07 +0000 (UTC) Cc: Dan Maftei , 11964@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 05 16:21:16 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 1TVOUF-0000E7-1J for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2012 16:21:15 +0100 Original-Received: from localhost ([::1]:38509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVOU6-0003Zb-6v for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2012 10:21:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVOTy-0003ZI-Nf for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 10:21:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVOTx-0002ot-6e for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 10:20:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVOTx-0002oo-3b for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 10:20:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TVOWw-0004cQ-63 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 10:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2012 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135212904117747 (code B ref 11964); Mon, 05 Nov 2012 15:24:02 +0000 Original-Received: (at 11964) by debbugs.gnu.org; 5 Nov 2012 15:24:01 +0000 Original-Received: from localhost ([127.0.0.1]:50695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVOWu-0004cB-A3 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 10:24:00 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:64761) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVOWr-0004c3-O8 for 11964@debbugs.gnu.org; Mon, 05 Nov 2012 10:23:59 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 1F7C39ED8 for <11964@debbugs.gnu.org>; Mon, 5 Nov 2012 16:20:50 +0100 (CET) Original-Received: (qmail 15052 invoked by uid 89); 5 Nov 2012 15:20:49 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 5 Nov 2012 15:20:49 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 7622A7FA05E; Mon, 5 Nov 2012 16:20:49 +0100 (CET) In-Reply-To: <87bofcuo12.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) 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.x 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:66480 Archived-At: Hello. 5 nov 2012 kl. 15:23 skrev Chong Yidong : > Dan Maftei writes: >=20 >> GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) >>=20 >> emacs -Q -nw >> n C-x 8 0303 C-b C-u C-x =3D >>=20 >> This crashes emacs. I am returned to bash. "Fatal error (10)" is >> written to the screen. After about 3 seconds, "Abort trap: 6" is >> appended to the same line, and I am returned to the prompt. >=20 > I could on reproduce this on x86_64-unknown-linux-gnu with either = Emacs > 24.1 or latest emacs-24 branch. This may be Mac-only; could someone > running on Mac OS please check? Here is a backtrace. The fontdriver does not have an encode_char = function (it is NULL). But I don't know which driver this is. Lisp backtrace is broken it = seems. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00000001002b0f6a in Finternal_char_font (position=3D4320145466, = ch=3D3084) at fontset.c:1886 #2 0x0000000100202c18 in Ffuncall (nargs=3D3, args=3D0x7fff5fbfc788) at = eval.c:2777 #3 0x000000010026a75b in exec_byte_code (bytestr=3D4309734321, = vector=3D4322711389, maxdepth=3D28, args_template=3D4320145466, nargs=3D0,= args=3D0x0) at bytecode.c:899 #4 0x0000000100203ad6 in funcall_lambda (fun=3D4322711477, nargs=3D1, = arg_vector=3D0x7fff5fbfce30) at eval.c:3006 #5 0x0000000100202fe6 in Ffuncall (nargs=3D2, args=3D0x7fff5fbfce28) at = eval.c:2823 #6 0x0000000100202251 in call1 (fn=3D4362368306, arg1=3D3084) at = eval.c:2568 #7 0x000000010021097b in mapcar1 (leni=3D1, vals=3D0x7fff5fbfcf60, = fn=3D4362368306, seq=3D4307596089) at fns.c:2302 #8 0x0000000100210c80 in Fmapconcat (function=3D4362368306, = sequence=3D4307596089, separator=3D4298596513) at fns.c:2348 #9 0x0000000100202c61 in Ffuncall (nargs=3D4, args=3D0x7fff5fbfd178) at = eval.c:2781 #10 0x000000010026a75b in exec_byte_code (bytestr=3D4309737345, = vector=3D4322715781, maxdepth=3D36, args_template=3D4320145466, nargs=3D0,= args=3D0x0) at bytecode.c:899 #11 0x00000001002695d6 in Fbyte_code (bytestr=3D4309737345, = vector=3D4322715781, maxdepth=3D36) at bytecode.c:474 #12 0x0000000100200cfd in eval_sub (form=3D4354262198) at eval.c:2145 #13 0x00000001001fddaa in internal_catch (tag=3D4346014154, = func=3D0x1002004d0 , arg=3D4354262198) at eval.c:1059 #14 0x000000010026bbf2 in exec_byte_code (bytestr=3D4309735793, = vector=3D4362397189, maxdepth=3D84, args_template=3D4320145466, nargs=3D0,= args=3D0x0) at bytecode.c:1080 #15 0x0000000100203ad6 in funcall_lambda (fun=3D4322720557, nargs=3D1, = arg_vector=3D0x7fff5fbfe0d0) at eval.c:3006 #16 0x0000000100202fe6 in Ffuncall (nargs=3D2, args=3D0x7fff5fbfe0c8) at = eval.c:2823 #17 0x000000010026a75b in exec_byte_code (bytestr=3D4299500689, = vector=3D4299500725, maxdepth=3D52, args_template=3D4320145466, nargs=3D0,= args=3D0x0) at bytecode.c:899 #18 0x0000000100203ad6 in funcall_lambda (fun=3D4299500597, nargs=3D1, = arg_vector=3D0x7fff5fbfe7b8) at eval.c:3006 #19 0x0000000100202fe6 in Ffuncall (nargs=3D2, args=3D0x7fff5fbfe7b0) at = eval.c:2823 #20 0x00000001001fb382 in Fcall_interactively (function=3D4345551946, = record_flag=3D4320145466, keys=3D4320195981) at callint.c:852 #21 0x0000000100202c61 in Ffuncall (nargs=3D4, args=3D0x7fff5fbfed88) at = eval.c:2781 #22 0x0000000100202339 in call3 (fn=3D4345319866, arg1=3D4345551946, = arg2=3D4320145466, arg3=3D4320145466) at eval.c:2599 #23 0x0000000100143fa3 in Fcommand_execute (cmd=3D4345551946, = record_flag=3D4320145466, keys=3D4320145466, special=3D4320145466) at = keyboard.c:10233 #24 0x000000010012ce06 in command_loop_1 () at keyboard.c:1586 #25 0x00000001001fe51a in internal_condition_case (bfun=3D0x10012c280 = , handlers=3D4320212234, hfun=3D0x10012b7c0 ) = at eval.c:1288 #26 0x000000010012bdaf in command_loop_2 (ignore=3D4320145466) at = keyboard.c:1167 #27 0x00000001001fddaa in internal_catch (tag=3D4320208330, = func=3D0x10012bd80 , arg=3D4320145466) at eval.c:1059 #28 0x000000010012bd32 in command_loop () at keyboard.c:1146 #29 0x000000010012b137 in recursive_edit_1 () at keyboard.c:778 #30 0x000000010012b38a in Frecursive_edit () at keyboard.c:842 #31 0x000000010012885f in main (argc=3D3, argv=3D0x7fff5fbff8d8) at = emacs.c:1566 Lisp Backtrace: No symbol "GCTYPEBITS" in current context. (gdb) up #1 0x00000001002b0f6a in Finternal_char_font (position=3D4320145466, = ch=3D3084) at fontset.c:1886 (gdb) l 1881 return Qnil; 1882 face_id =3D FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, = pos, Qnil); 1883 face =3D FACE_FROM_ID (f, face_id); 1884 if (face->font) 1885 { 1886 unsigned code =3D face->font->driver->encode_char = (face->font, c); 1887 Lisp_Object font_object; 1888=09 1889 if (code =3D=3D FONT_INVALID_CODE) 1890 return Qnil; (gdb) p face->font->driver->encode_char $1 =3D (unsigned int (*)(struct font *, int)) 0 Jan D.