From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Dan Maftei Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jul 2012 21:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11964@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134256053831162 (code B ref -1); Tue, 17 Jul 2012 21:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jul 2012 21:28:58 +0000 Received: from localhost ([127.0.0.1]:46870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrFKE-00086X-88 for submit@debbugs.gnu.org; Tue, 17 Jul 2012 17:28:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47003) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SquF2-0008QW-Ki for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:58:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Squ9G-0003X8-QS for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:52:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:59369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9G-0003X4-NG for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:52:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9E-0006s1-Kr for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Squ9D-0003WW-Gz for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:12 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:56027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9D-0003WS-9A for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:11 -0400 Received: by vcbfl10 with SMTP id fl10so4842318vcb.0 for ; Mon, 16 Jul 2012 15:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=LD0i1sQb1myZEc2JiAPQSBSVC3qTTyrdApqyReEFdQc=; b=0F1sizvTZf9GtlPNu+zWRqbgaN1X84AzFHiFZQueprYG4wnWDJKXsS5mep3Sw1aiM6 /esu4E0Os800C2ETGVK4wYav6UWPHpa//1G5nqBjeurSQ6mNhuXQHOWJoGd/6O/okqJf m1DDkO75gbocezTPI+oGlC77ik0E5WUDXiT9UHaJmqjIITU48xnrWIzavRy5iZuBNyhG fQYgRjYRGQTMfIfSXukHVHNfjqvLQlPhCu8ogUgd6iDBQOLQuwzOQjiK0ZmIoerA4J1z cAYS+9ZZpN1CLOyrotlny5NetqjDFHnGIg0yjOmSMCg/TUwGYLS4jLYmkzgncsZ/1I2O 3FgA== Received: by 10.52.32.34 with SMTP id f2mr65442vdi.76.1342479130684; Mon, 16 Jul 2012 15:52:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.187.197 with HTTP; Mon, 16 Jul 2012 15:51:50 -0700 (PDT) From: Dan Maftei Date: Mon, 16 Jul 2012 23:51:50 +0100 Message-ID: Content-Type: multipart/alternative; boundary=bcaec51d2b80b3ec4e04c4fa4794 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Tue, 17 Jul 2012 17:28:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --bcaec51d2b80b3ec4e04c4fa4794 Content-Type: text/plain; charset=UTF-8 GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) emacs -Q -nw n C-x 8 0303 C-b C-u C-x = 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. This does not happen in the windowed version (Emacs.app) every locale variable is en_GB.UTF-8 TERM is dumb. This (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9172) might be of use. It describes a similar bug on emacs 23.3 running on an xterm, but the program does not crash. Cheers, Dan --bcaec51d2b80b3ec4e04c4fa4794 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47)
<= br>
emacs -Q -nw
n C-x 8 <RET> 0303 <RET&= gt; C-b C-u C-x =3D

This crashes = emacs. I am returned to bash. "Fatal error (10)" is written to th= e screen. After about 3 seconds, "Abort trap: 6" is appended to t= he same line, and I am returned to the prompt.

This does not happen in the windowed version (Emacs.app= )

every locale variable is en_GB.UTF-8

TERM is dumb.

This (http://debbug= s.gnu.org/cgi/bugreport.cgi?bug=3D9172) might be of use. It describes a= similar bug on emacs 23.3 running on an xterm, but the program does not cr= ash.

Cheers,
Dan
--bcaec51d2b80b3ec4e04c4fa4794-- From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2012 14:27: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: To: Dan Maftei Cc: 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13521255965781 (code B ref 11964); Mon, 05 Nov 2012 14:27:02 +0000 Received: (at 11964) by debbugs.gnu.org; 5 Nov 2012 14:26:36 +0000 Received: from localhost ([127.0.0.1]:49995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVNdL-0001VC-QD for submit@debbugs.gnu.org; Mon, 05 Nov 2012 09:26:36 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:52725) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVNdI-0001V4-Vg for 11964@debbugs.gnu.org; Mon, 05 Nov 2012 09:26:34 -0500 Received: by mail-pb0-f44.google.com with SMTP id ro8so3965381pbb.3 for <11964@debbugs.gnu.org>; Mon, 05 Nov 2012 06:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ICTVClbwxjrY0qTatfvBNckGLcszQ3+1x2Ntqc0o9F4=; b=yS98obUdyNw7yE/Rd/AMHjtBjgPfTWAJ8QVxwmPXkQ/3RTqayxaQgi64oOOpgJLGFr 5/0Pt+CoT4qmLYEjTgcD4WxBVi73Lf1Rtt/a7PoEhwHrtGdhzg1/F9BScekNYDC0Hxzu bwNTtZ9Gvorl8kvsLVBSt2vk9R8MMI7dwc6TxcPxRCpMqnv/uDCoakCAn7nHX3E7DbDZ mbwTZBaHSCX8poRjVqZQ4Kf8KkTrX7tqfRgLbklWk+MaUs7UTDVxqngQ1H5nL30Wd0n2 aY636n8SsIy+799b7GaEAA2RxLAeDTJslZ0To5m/Gn+P9sbJ0DayL5tGVlMTMx66vZE+ Tqxw== Received: by 10.68.213.6 with SMTP id no6mr30494592pbc.113.1352125406612; Mon, 05 Nov 2012 06:23:26 -0800 (PST) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id k9sm10721063paz.22.2012.11.05.06.23.23 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 06:23:25 -0800 (PST) From: Chong Yidong References: Date: Mon, 05 Nov 2012 22:23:21 +0800 In-Reply-To: (Dan Maftei's message of "Mon, 16 Jul 2012 23:51:50 +0100") Message-ID: <87bofcuo12.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Dan Maftei writes: > GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) > > emacs -Q -nw > n C-x 8 0303 C-b C-u C-x = > > 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. 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? From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode 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: To: Chong Yidong Cc: Dan Maftei , 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135212904117747 (code B ref 11964); Mon, 05 Nov 2012 15:24:02 +0000 Received: (at 11964) by debbugs.gnu.org; 5 Nov 2012 15:24:01 +0000 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 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 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) Received: (qmail 15052 invoked by uid 89); 5 Nov 2012 15:20:49 -0000 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 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) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-Reply-To: <87bofcuo12.fsf@gnu.org> Date: Mon, 5 Nov 2012 16:20:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87bofcuo12.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) 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. From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Dan Maftei Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2012 18:56:01 +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: To: Chong Yidong Cc: 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13521417357095 (code B ref 11964); Mon, 05 Nov 2012 18:56:01 +0000 Received: (at 11964) by debbugs.gnu.org; 5 Nov 2012 18:55:35 +0000 Received: from localhost ([127.0.0.1]:50965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVRpe-0001qO-R8 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 13:55:35 -0500 Received: from mail-la0-f44.google.com ([209.85.215.44]:59868) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVRpc-0001qG-Cy for 11964@debbugs.gnu.org; Mon, 05 Nov 2012 13:55:33 -0500 Received: by mail-la0-f44.google.com with SMTP id b11so4713463lam.3 for <11964@debbugs.gnu.org>; Mon, 05 Nov 2012 10:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+bh84zaf5eizwhpXRLbcUg2t48vf9sZ9MZBYHmQfII8=; b=r2NQkmc9QeYe3bYlRZHUvYbtlRoiOsvR2k80OTGQCCp85knSkkk4jX6xg4Nq7e5fmd R0j7C2RsllkMBgnD0Gf6gbhH11U0WrTpNISAKgzMy7wpdI1Yg7jgIXj63he02gt1GGKT /ue8ZUdXJ3w7CZaCPFtYRlTAwp4hnDkmg6xyF8p9vGb2iF8ohl17+ct5nfTlYo8Hkv6q 9Rx1vgMHSiD4KfhicTR1s/Fd0xiLVOEVAELqAG0//EMHOO3rcvbix3aoj9VfqgiXusbU oX03umGGV5E3Rq99gqabUe3Zs9CXB6h2PH+imp9DcEz7UyrCZdlPxrS1Dv0rfgmXVQdR FPrg== Received: by 10.152.105.33 with SMTP id gj1mr9995548lab.49.1352141544228; Mon, 05 Nov 2012 10:52:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.112.195 with HTTP; Mon, 5 Nov 2012 10:52:03 -0800 (PST) In-Reply-To: <87bofcuo12.fsf@gnu.org> References: <87bofcuo12.fsf@gnu.org> From: Dan Maftei Date: Mon, 5 Nov 2012 13:52:03 -0500 Message-ID: Content-Type: multipart/alternative; boundary=f46d040716e36e07fa04cdc3fc0d X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) --f46d040716e36e07fa04cdc3fc0d Content-Type: text/plain; charset=UTF-8 The but is not reproducible on the following Mac build: GNU Emacs 24.1.1 (x86_64-apple-darwin12.0.0, Carbon Version 1.6.0 AppKit 1187). Dan On Mon, Nov 5, 2012 at 9:23 AM, Chong Yidong wrote: > Dan Maftei writes: > > > GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) > > > > emacs -Q -nw > > n C-x 8 0303 C-b C-u C-x = > > > > 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. > > 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? > --f46d040716e36e07fa04cdc3fc0d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The but is not reproducible on the following Mac build:=C2=A0GNU Emacs 24.1= .1 (x86_64-apple-darwin12.0.0, Carbon Version 1.6.0 AppKit 1187).

<= /div>
Dan

On Mon, Nov 5, 20= 12 at 9:23 AM, Chong Yidong <cyd@gnu.org> wrote:
Dan Maftei <ninestraycats@gmail.com> writes:

> GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47)<= br> >
> emacs -Q -nw
> n C-x 8 <RET> 0303 <RET> C-b C-u C-x =3D
>
> 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.

I could on reproduce this on x86_64-unknown-linux-gnu with either Emacs
24.1 or latest emacs-24 branch. =C2=A0This may be Mac-only; could someone running on Mac OS please check?

--f46d040716e36e07fa04cdc3fc0d-- From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2012 06:29: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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: Dan Maftei , 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13536520899255 (code B ref 11964); Fri, 23 Nov 2012 06:29:02 +0000 Received: (at 11964) by debbugs.gnu.org; 23 Nov 2012 06:28:09 +0000 Received: from localhost ([127.0.0.1]:33838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tbmk5-0002Ot-LC for submit@debbugs.gnu.org; Fri, 23 Nov 2012 01:28:08 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:65039) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tbmjx-0002Oa-5O for 11964@debbugs.gnu.org; Fri, 23 Nov 2012 01:27:58 -0500 Received: by mail-pb0-f44.google.com with SMTP id uo1so6013606pbc.3 for <11964@debbugs.gnu.org>; Thu, 22 Nov 2012 22:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=CTrw/lm6zmPiySoKPdcS70CQtHJSuQ30wu+2C6xZnbA=; b=RfBrB8r6GPdwjNMageG8B8XKURPnSH7UKxT8b1CjLTNfgGb3dp90BZIVemU5kJ2e5I H3G3yA1PU3jwP8+vx+xH9aNbdui8Jsrfr2TKV4WpANhbLEu+tFyl/vfO9HBKnHNTI3k+ 9E9IcnteyeY8QdzbypZzOHXf3RED6V8XJ1Am2DCbPJRKgmIWEJtjBI+iJ6f+wmgDzC91 YTPo4dlcKBz2XAtCgCvnOHIgMMTln12hf93eAG7dM5D1uBudat13uUOPBmnvtRJD4bo1 /8Il6+10Br2t0Ml4jbz6Pz2ibQR9uupPFC6CljRjZYJ6b1J+IUSgsr+HI2RyNLjyQpeP gTaw== Received: by 10.66.79.167 with SMTP id k7mr7961429pax.24.1353651988116; Thu, 22 Nov 2012 22:26:28 -0800 (PST) Received: from ulysses ([155.69.19.206]) by mx.google.com with ESMTPS id l4sm3170398paw.15.2012.11.22.22.26.24 (version=SSLv3 cipher=OTHER); Thu, 22 Nov 2012 22:26:27 -0800 (PST) From: Chong Yidong References: <87bofcuo12.fsf@gnu.org> Date: Fri, 23 Nov 2012 14:26:21 +0800 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Mon, 5 Nov 2012 16:20:49 +0100") Message-ID: <87haogkf76.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Jan Dj=C3=A4rv writes: > 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. Could you do f 1 pp face->font->driver->type and see what font driver it is (or if there is one)? From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode 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: Fri, 23 Nov 2012 07:10: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: To: Chong Yidong Cc: Dan Maftei , 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135365456812876 (code B ref 11964); Fri, 23 Nov 2012 07:10:02 +0000 Received: (at 11964) by debbugs.gnu.org; 23 Nov 2012 07:09:28 +0000 Received: from localhost ([127.0.0.1]:33860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbnO7-0003LZ-Vb for submit@debbugs.gnu.org; Fri, 23 Nov 2012 02:09:27 -0500 Received: from mailout.melmac.se ([62.20.26.67]:50759) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbnO3-0003LN-34 for 11964@debbugs.gnu.org; Fri, 23 Nov 2012 02:09:22 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id BABB19C36 for <11964@debbugs.gnu.org>; Fri, 23 Nov 2012 08:07:51 +0100 (CET) Received: (qmail 13106 invoked by uid 89); 23 Nov 2012 07:07:51 -0000 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; 23 Nov 2012 07:07:51 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 3F3827FA05E; Fri, 23 Nov 2012 08:07:51 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-Reply-To: <87haogkf76.fsf@gnu.org> Date: Fri, 23 Nov 2012 08:07:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 23 nov 2012 kl. 07:26 skrev Chong Yidong : > Jan =?UTF-8?Q?Dj=E4rv?= writes: > >> 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. > > Could you do > > f 1 > pp face->font->driver->type > > and see what font driver it is (or if there is one)? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 23 nov 2012 kl. 07:26 skrev Chong Yidong : > Jan =?UTF-8?Q?Dj=E4rv?= writes: > >> 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. > > Could you do > > f 1 > pp face->font->driver->type > > and see what font driver it is (or if there is one)? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4982] Hello. 23 nov 2012 kl. 07:26 skrev Chong Yidong : > Jan Dj=E4rv writes: >=20 >> 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. >=20 > Could you do >=20 > f 1 > pp face->font->driver->type >=20 > and see what font driver it is (or if there is one)? Basically no, because p face->font->driver $3 =3D (struct font_driver *) 0x3 Uninitialized memory? Jan D. From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2012 09:30: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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: Dan Maftei , 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13536629991039 (code B ref 11964); Fri, 23 Nov 2012 09:30:02 +0000 Received: (at 11964) by debbugs.gnu.org; 23 Nov 2012 09:29:59 +0000 Received: from localhost ([127.0.0.1]:34110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tbpa6-0000GY-Ik for submit@debbugs.gnu.org; Fri, 23 Nov 2012 04:29:59 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:50952) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tbpa1-0000GG-EV for 11964@debbugs.gnu.org; Fri, 23 Nov 2012 04:29:53 -0500 Received: by mail-pb0-f44.google.com with SMTP id uo1so6103174pbc.3 for <11964@debbugs.gnu.org>; Fri, 23 Nov 2012 01:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=kbNStaZMn/pIMSYSWSxElSQcnRryTRtcKxy8LlPmLyA=; b=Mr4OJMdVpWSz1/mGfz4LA7wiFTwldqDeTXKf6BeorAJ6Say3zODK5ZtoZpyEantgDz qURM9xT+Om52pAYukDcZVkxUgB+l95tWgpKnIFaUFqQe8V81rjm+HxaxP6tVntN5vMbv N0V9v6o579FXcQAIz9Pu3tvIbcdutgzwqtMxuRoUaulLN5TbVahBP5zMTvJkPX/6/OWD z6jvZbqGoflHTavhJ8BX4jKMBnnujNxqzIndi6GCtBsadfrVQyPRkrenlHOgsG/sigba EMnCxsRL2WR7P40K9Y0QjeHUtAQC+/XRJ7EZFA9oYLCh8r+TI4PYaUdnYvk1CSskGBmC +TUg== Received: by 10.66.87.226 with SMTP id bb2mr8832782pab.57.1353662902384; Fri, 23 Nov 2012 01:28:22 -0800 (PST) Received: from ulysses ([155.69.19.206]) by mx.google.com with ESMTPS id tm5sm3538194pbc.64.2012.11.23.01.28.18 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 01:28:20 -0800 (PST) From: Chong Yidong References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> Date: Fri, 23 Nov 2012 17:28:14 +0800 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Fri, 23 Nov 2012 08:07:51 +0100") Message-ID: <87a9u84qj5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) Jan Dj=C3=A4rv writes: > Basically no, because > > p face->font->driver > $3 =3D (struct font_driver *) 0x3 > > Uninitialized memory? Yeah. Could you try to debug this by stepping through face_for_char when it is called via Finternal_char_font? You should be able to do this by doing b Finternal_char_font r [Do the recipe] b face_for_char c Then, when the debugger hits the face_for_char breakpoint, step through that function. When the variables rfont_def and font_object get assigned values, use pp to view their contents and see if they are valid. Thanks. From unknown Fri Sep 05 22:44:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dan Maftei Subject: bug#11964: closed (Re: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode) Message-ID: References: <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> X-Gnu-PR-Message: they-closed 11964 X-Gnu-PR-Package: emacs Reply-To: 11964@debbugs.gnu.org Date: Sat, 24 Nov 2012 18:02:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1353780123-5610-1" This is a multi-part message in MIME format... ------------=_1353780123-5610-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11964: describe-char causes a fatal error (abort trap: 6) in non-windowed = mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 11964@debbugs.gnu.org. --=20 11964: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11964 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1353780123-5610-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11964-done) by debbugs.gnu.org; 24 Nov 2012 18:01:38 +0000 Received: from localhost ([127.0.0.1]:36900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcK2r-0001Rv-Qi for submit@debbugs.gnu.org; Sat, 24 Nov 2012 13:01:38 -0500 Received: from mailout.melmac.se ([62.20.26.67]:63159) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcK2m-0001Ri-I6 for 11964-done@debbugs.gnu.org; Sat, 24 Nov 2012 13:01:33 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 2BD799F0D for <11964-done@debbugs.gnu.org>; Sat, 24 Nov 2012 18:59:56 +0100 (CET) Received: (qmail 8529 invoked by uid 89); 24 Nov 2012 17:59:55 -0000 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; 24 Nov 2012 17:59:55 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id E01287FA05E; Sat, 24 Nov 2012 18:59:54 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: Date: Sat, 24 Nov 2012 18:59:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> To: Chong Yidong X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. This has been fixed in the trunk. The problem was that ns-win created fontsets unconditionally during load and that lead to problems when running with -nw, in face_for_char. Shouldn't fontsets/font objects be ignored if the terminal is a non-GUI one? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 11964-done Cc: Dan Maftei , 11964-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. This has been fixed in the trunk. The problem was that ns-win created fontsets unconditionally during load and that lead to problems when running with -nw, in face_for_char. Shouldn't fontsets/font objects be ignored if the terminal is a non-GUI one? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4944] Hello. This has been fixed in the trunk. The problem was that ns-win created fontsets unconditionally during load = and that lead to problems when running with -nw, in face_for_char. = Shouldn't fontsets/font objects be ignored if the terminal is a non-GUI = one? Jan D. 23 nov 2012 kl. 08:07 skrev Jan Dj=E4rv : > Hello. >=20 > 23 nov 2012 kl. 07:26 skrev Chong Yidong : >=20 >> Jan Dj=E4rv writes: >>=20 >>> 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. >>=20 >> Could you do >>=20 >> f 1 >> pp face->font->driver->type >>=20 >> and see what font driver it is (or if there is one)? >=20 > Basically no, because >=20 > p face->font->driver > $3 =3D (struct font_driver *) 0x3 >=20 > Uninitialized memory? >=20 > Jan D. >=20 ------------=_1353780123-5610-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Jul 2012 21:28:58 +0000 Received: from localhost ([127.0.0.1]:46870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrFKE-00086X-88 for submit@debbugs.gnu.org; Tue, 17 Jul 2012 17:28:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47003) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SquF2-0008QW-Ki for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:58:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Squ9G-0003X8-QS for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:52:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:59369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9G-0003X4-NG for submit@debbugs.gnu.org; Mon, 16 Jul 2012 18:52:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9E-0006s1-Kr for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Squ9D-0003WW-Gz for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:12 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:56027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squ9D-0003WS-9A for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 18:52:11 -0400 Received: by vcbfl10 with SMTP id fl10so4842318vcb.0 for ; Mon, 16 Jul 2012 15:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=LD0i1sQb1myZEc2JiAPQSBSVC3qTTyrdApqyReEFdQc=; b=0F1sizvTZf9GtlPNu+zWRqbgaN1X84AzFHiFZQueprYG4wnWDJKXsS5mep3Sw1aiM6 /esu4E0Os800C2ETGVK4wYav6UWPHpa//1G5nqBjeurSQ6mNhuXQHOWJoGd/6O/okqJf m1DDkO75gbocezTPI+oGlC77ik0E5WUDXiT9UHaJmqjIITU48xnrWIzavRy5iZuBNyhG fQYgRjYRGQTMfIfSXukHVHNfjqvLQlPhCu8ogUgd6iDBQOLQuwzOQjiK0ZmIoerA4J1z cAYS+9ZZpN1CLOyrotlny5NetqjDFHnGIg0yjOmSMCg/TUwGYLS4jLYmkzgncsZ/1I2O 3FgA== Received: by 10.52.32.34 with SMTP id f2mr65442vdi.76.1342479130684; Mon, 16 Jul 2012 15:52:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.187.197 with HTTP; Mon, 16 Jul 2012 15:51:50 -0700 (PDT) From: Dan Maftei Date: Mon, 16 Jul 2012 23:51:50 +0100 Message-ID: Subject: describe-char causes a fatal error (abort trap: 6) in non-windowed mode To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=bcaec51d2b80b3ec4e04c4fa4794 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 17 Jul 2012 17:28:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --bcaec51d2b80b3ec4e04c4fa4794 Content-Type: text/plain; charset=UTF-8 GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) emacs -Q -nw n C-x 8 0303 C-b C-u C-x = 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. This does not happen in the windowed version (Emacs.app) every locale variable is en_GB.UTF-8 TERM is dumb. This (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9172) might be of use. It describes a similar bug on emacs 23.3 running on an xterm, but the program does not crash. Cheers, Dan --bcaec51d2b80b3ec4e04c4fa4794 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47)
<= br>
emacs -Q -nw
n C-x 8 <RET> 0303 <RET&= gt; C-b C-u C-x =3D

This crashes = emacs. I am returned to bash. "Fatal error (10)" is written to th= e screen. After about 3 seconds, "Abort trap: 6" is appended to t= he same line, and I am returned to the prompt.

This does not happen in the windowed version (Emacs.app= )

every locale variable is en_GB.UTF-8

TERM is dumb.

This (http://debbug= s.gnu.org/cgi/bugreport.cgi?bug=3D9172) might be of use. It describes a= similar bug on emacs 23.3 running on an xterm, but the program does not cr= ash.

Cheers,
Dan
--bcaec51d2b80b3ec4e04c4fa4794-- ------------=_1353780123-5610-1-- From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2012 18:21: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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, jan.h.d@swipnet.se Reply-To: Eli Zaretskii Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13537812417206 (code B ref 11964); Sat, 24 Nov 2012 18:21:02 +0000 Received: (at 11964) by debbugs.gnu.org; 24 Nov 2012 18:20:41 +0000 Received: from localhost ([127.0.0.1]:36911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcKLI-0001sA-Ne for submit@debbugs.gnu.org; Sat, 24 Nov 2012 13:20:40 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:41319) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcKLG-0001s1-FJ for 11964@debbugs.gnu.org; Sat, 24 Nov 2012 13:20:39 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME000H007U3B900@a-mtaout22.012.net.il> for 11964@debbugs.gnu.org; Sat, 24 Nov 2012 20:19:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME000HLW87NCS00@a-mtaout22.012.net.il>; Sat, 24 Nov 2012 20:19:01 +0200 (IST) Date: Sat, 24 Nov 2012 20:19:05 +0200 From: Eli Zaretskii In-reply-to: <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> Message-id: <83k3tazwx2.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan =?UTF-8?Q?Dj=E4rv?= > Date: Sat, 24 Nov 2012 18:59:54 +0100 > Cc: Dan Maftei , 11964-done@debbugs.gnu.org > > The problem was that ns-win created fontsets unconditionally during load and that lead to problems when running with -nw, in face_for_char. Shouldn't fontsets/font objects be ignored if the terminal is a non-GUI one? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4999] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan =?UTF-8?Q?Dj=E4rv?= > Date: Sat, 24 Nov 2012 18:59:54 +0100 > Cc: Dan Maftei , 11964-done@debbugs.gnu.org > > The problem was that ns-win created fontsets unconditionally during load and that lead to problems when running with -nw, in face_for_char. Shouldn't fontsets/font objects be ignored if the terminal is a non-GUI one? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4721] > From: Jan Dj=E4rv > Date: Sat, 24 Nov 2012 18:59:54 +0100 > Cc: Dan Maftei , 11964-done@debbugs.gnu.or= g >=20 > The problem was that ns-win created fontsets unconditionally during= load and that lead to problems when running with -nw, in face_for_ch= ar. Shouldn't fontsets/font objects be ignored if the terminal is a = non-GUI one? Indeed, it they should. How did the code arrive at internal-char-font in this case? The backtrace indicates it was from Lisp, so can you post a Lisp backtrace? From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Nov 2012 05:33:01 +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: To: Eli Zaretskii Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135382155114307 (code B ref 11964); Sun, 25 Nov 2012 05:33:01 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 05:32:31 +0000 Received: from localhost ([127.0.0.1]:37333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcUpS-0003ii-Mo for submit@debbugs.gnu.org; Sun, 25 Nov 2012 00:32:30 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:48795) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcUpQ-0003ib-PG for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 00:32:29 -0500 Received: by mail-pa0-f44.google.com with SMTP id hz11so5035225pad.3 for <11964@debbugs.gnu.org>; Sat, 24 Nov 2012 21:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=SNzfs2Kz/WiGhliJJulfkICi3VWoD30u0du0f/nUDUo=; b=jgbtzpc8bDP1kRf1lMwVO2n2VN/wvSPn7zt71PDigry3xA9BaJqRQmzLST1efIzXdm ujhjuuYz3iS5rO67e0UpZfIJLPSJSmzDMhY14mY6bLCkLQO0Qz1SmCeutQ3PPeUDUMMY EbftwV1AwDl9cvatTIuIOcT/X4pcfBQlbQUgugNKgjaVssOhyzipPRBUfrGkznK34ndN iJn2s53PJknAtblNDzIWCXzrHlmzzTSLlqmTRyO+6izhWhF0MVatNsd8i7etb4Tk92SB XbPbFy8f/cylmM2+1aXUCtUe1LAVdhQTbuSKKGwDPSbIpCOl9MDUP+uE7cyUnRgu2WwW /81A== Received: by 10.66.73.227 with SMTP id o3mr22918299pav.78.1353821452686; Sat, 24 Nov 2012 21:30:52 -0800 (PST) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id ni3sm6539970pbc.2.2012.11.24.21.30.49 (version=SSLv3 cipher=OTHER); Sat, 24 Nov 2012 21:30:51 -0800 (PST) From: Chong Yidong References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> Date: Sun, 25 Nov 2012 13:30:46 +0800 In-Reply-To: <83k3tazwx2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Nov 2012 20:19:05 +0200") Message-ID: <87fw3yb661.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Jan Dj=C3=A4rv writes: >> The problem was that ns-win created fontsets unconditionally during >> load and that lead to problems when running with -nw, in >> face_for_char. Shouldn't fontsets/font objects be ignored if the >> terminal is a non-GUI one? Yep. Thanks for finding and fixing the bug. Eli Zaretskii writes: > Indeed, it they should. > > How did the code arrive at internal-char-font in this case? The > backtrace indicates it was from Lisp, so can you post a Lisp > backtrace? See below. I'm not sure why describe-char-padded-string needs internal-char-font for, though. "internal-char-font" (0xffffafa0) "if" (0xffffb238) "describe-char-padded-string" (0xffffb478) "mapconcat" (0xffffb640) "concat" (0xffffb8b8) "setcar" (0xffffba38) "if" (0xffffbc08) "if" (0xffffbe28) "let" (0xffffc0e8) "catch" (0xffffc458) "or" (0xffffc628) "progn" (0xffffc7f8) "if" (0xffffc9c8) "let*" (0xffffcc58) "let" (0xffffcf08) "describe-char" (0xffffd120) "what-cursor-position" (0xffffd698) "call-interactively" (0xffffd9b8) From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode 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: Sun, 25 Nov 2012 12:21:01 +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: To: Chong Yidong Cc: ninestraycats@gmail.com, Eli Zaretskii , 11964@debbugs.gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135384601018356 (code B ref 11964); Sun, 25 Nov 2012 12:21:01 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 12:20:10 +0000 Received: from localhost ([127.0.0.1]:37615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcbBx-0004m1-QH for submit@debbugs.gnu.org; Sun, 25 Nov 2012 07:20:10 -0500 Received: from mailout.melmac.se ([62.20.26.67]:59340) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcbBw-0004lq-5G for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 07:20:09 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 5BB7D9AD0 for <11964@debbugs.gnu.org>; Sun, 25 Nov 2012 13:18:28 +0100 (CET) Received: (qmail 15061 invoked by uid 89); 25 Nov 2012 12:18:28 -0000 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; 25 Nov 2012 12:18:28 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B88CA7FA05E; Sun, 25 Nov 2012 13:18:27 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-Reply-To: <87fw3yb661.fsf@gnu.org> Date: Sun, 25 Nov 2012 13:18:28 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 25 nov 2012 kl. 06:30 skrev Chong Yidong : > Jan =?UTF-8?Q?Dj=E4rv?= writes: > >>> The problem was that ns-win created fontsets unconditionally during >>> load and that lead to problems when running with -nw, in >>> face_for_char. Shouldn't fontsets/font objects be ignored if the >>> terminal is a non-GUI one? > > Yep. Thanks for finding and fixing the bug. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4970] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 25 nov 2012 kl. 06:30 skrev Chong Yidong : > Jan =?UTF-8?Q?Dj=E4rv?= writes: > >>> The problem was that ns-win created fontsets unconditionally during >>> load and that lead to problems when running with -nw, in >>> face_for_char. Shouldn't fontsets/font objects be ignored if the >>> terminal is a non-GUI one? > > Yep. Thanks for finding and fixing the bug. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4201] Hello. 25 nov 2012 kl. 06:30 skrev Chong Yidong : > Jan Dj=E4rv writes: >=20 >>> The problem was that ns-win created fontsets unconditionally during >>> load and that lead to problems when running with -nw, in >>> face_for_char. Shouldn't fontsets/font objects be ignored if the >>> terminal is a non-GUI one? >=20 > Yep. Thanks for finding and fixing the bug. Actually it is not quite fixed, and not NS-specific either. On a X11-emacs, do this (tried with Gtk2, 3 and Lucid, no difference): % emacs -Q --daemon % emacsclient -c & % emacsclient -c -t In the second, non-GUI frame do (from this bug): u C-x 8 0303 C-b C-u C-x =3D The emacs daemon crashes, the same way as the original bug does. This is because the emacsclient -c creates fontsets, and emacsclient -c = -t tries to use them. So this is a more generic problem. The fix I made was to initialize = fontsets in ns-win.el the same way x-win.el does, but this just hides = the problem for the daemon case. Jan D. >=20 >=20 > Eli Zaretskii writes: >=20 >> Indeed, it they should. >>=20 >> How did the code arrive at internal-char-font in this case? The >> backtrace indicates it was from Lisp, so can you post a Lisp >> backtrace? >=20 > See below. I'm not sure why describe-char-padded-string needs > internal-char-font for, though. >=20 > "internal-char-font" (0xffffafa0) > "if" (0xffffb238) > "describe-char-padded-string" (0xffffb478) > "mapconcat" (0xffffb640) > "concat" (0xffffb8b8) > "setcar" (0xffffba38) > "if" (0xffffbc08) > "if" (0xffffbe28) > "let" (0xffffc0e8) > "catch" (0xffffc458) > "or" (0xffffc628) > "progn" (0xffffc7f8) > "if" (0xffffc9c8) > "let*" (0xffffcc58) > "let" (0xffffcf08) > "describe-char" (0xffffd120) > "what-cursor-position" (0xffffd698) > "call-interactively" (0xffffd9b8) From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Nov 2012 15:59:01 +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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, cyd@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13538590898824 (code B ref 11964); Sun, 25 Nov 2012 15:59:01 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 15:58:09 +0000 Received: from localhost ([127.0.0.1]:38332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcear-0002IC-8w for submit@debbugs.gnu.org; Sun, 25 Nov 2012 10:58:09 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:36756) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tceam-0002Hk-4L for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 10:58:04 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME100900W6N8H00@a-mtaout22.012.net.il> for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 17:55:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME1005NWW99RND1@a-mtaout22.012.net.il>; Sun, 25 Nov 2012 17:55:58 +0200 (IST) Date: Sun, 25 Nov 2012 17:56:06 +0200 From: Eli Zaretskii In-reply-to: <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> Message-id: <83ehjhznft.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan =?UTF-8?Q?Dj=E4rv?= > Date: Sun, 25 Nov 2012 13:18:28 +0100 > Cc: Eli Zaretskii , > ninestraycats@gmail.com, > 11964@debbugs.gnu.org > > Actually it is not quite fixed, and not NS-specific either. > On a X11-emacs, do this (tried with Gtk2, 3 and Lucid, no difference): > > % emacs -Q --daemon > % emacsclient -c & > % emacsclient -c -t > > In the second, non-GUI frame do (from this bug): > u C-x 8 0303 C-b C-u C-x = > > The emacs daemon crashes, the same way as the original bug does. > This is because the emacsclient -c creates fontsets, and emacsclient -c -t tries to use them. > > So this is a more generic problem. The fix I made was to initialize fontsets in ns-win.el the same way x-win.el does, but this just hides the problem for the daemon case. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4088] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Jan Dj=E4rv > Date: Sun, 25 Nov 2012 13:18:28 +0100 > Cc: Eli Zaretskii , > ninestraycats@gmail.com, > 11964@debbugs.gnu.org >=20 > Actually it is not quite fixed, and not NS-specific either. > On a X11-emacs, do this (tried with Gtk2, 3 and Lucid, no differenc= e): >=20 > % emacs -Q --daemon > % emacsclient -c & > % emacsclient -c -t >=20 > In the second, non-GUI frame do (from this bug): > u C-x 8 0303 C-b C-u C-x =3D >=20 > The emacs daemon crashes, the same way as the original bug does. > This is because the emacsclient -c creates fontsets, and emacsclien= t -c -t tries to use them. >=20 > So this is a more generic problem. The fix I made was to initializ= e fontsets in ns-win.el the same way x-win.el does, but this just hid= es the problem for the daemon case. It is wrong to call internal-char-font on a non-GUI frame; for starters, that function might not be compiled in, e.g. if Emacs was configured --without-x. All the other callers of that function are careful not to do that. Does the patch below fix the problem? I also think internal-char-font should not blindly call the font driver without checking that it isn't NULL first. =3D=3D=3D modified file 'lisp/descr-text.el' --- lisp/descr-text.el=092012-08-20 11:12:16 +0000 +++ lisp/descr-text.el=092012-11-25 15:46:44 +0000 @@ -354,7 +354,8 @@ This function is semi-obsolete. Use `ge ;; Return a string of CH with composition for padding on both sides. ;; It is displayed without overlapping with the left/right columns. (defsubst describe-char-padded-string (ch) - (if (internal-char-font nil ch) + (if (and (display-multi-font-p) +=09 (internal-char-font nil ch)) (compose-string (string ch) 0 1 (format "\t%c\t" ch)) (string ch))) =20 From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode 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: Sun, 25 Nov 2012 16:19:01 +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: To: Eli Zaretskii Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, cyd@gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135386028510707 (code B ref 11964); Sun, 25 Nov 2012 16:19:01 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 16:18:05 +0000 Received: from localhost ([127.0.0.1]:38378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TceuD-0002me-6m for submit@debbugs.gnu.org; Sun, 25 Nov 2012 11:18:05 -0500 Received: from mailout.melmac.se ([62.20.26.67]:36181) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tceu9-0002m7-JP for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 11:18:03 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id F385A9D71 for <11964@debbugs.gnu.org>; Sun, 25 Nov 2012 17:16:21 +0100 (CET) Received: (qmail 13351 invoked by uid 89); 25 Nov 2012 16:16:21 -0000 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; 25 Nov 2012 16:16:21 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 80C487FA05E; Sun, 25 Nov 2012 17:16:21 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-Reply-To: <83ehjhznft.fsf@gnu.org> Date: Sun, 25 Nov 2012 17:16:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> <83ehjhznft.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. Your patch fixes the problem. Jan D. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4798] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) Hello. Your patch fixes the problem. Jan D. 25 nov 2012 kl. 16:56 skrev Eli Zaretskii : >> From: Jan Dj=E4rv >> Date: Sun, 25 Nov 2012 13:18:28 +0100 >> Cc: Eli Zaretskii , >> ninestraycats@gmail.com, >> 11964@debbugs.gnu.org >>=20 >> Actually it is not quite fixed, and not NS-specific either. >> On a X11-emacs, do this (tried with Gtk2, 3 and Lucid, no = difference): >>=20 >> % emacs -Q --daemon >> % emacsclient -c & >> % emacsclient -c -t >>=20 >> In the second, non-GUI frame do (from this bug): >> u C-x 8 0303 C-b C-u C-x =3D >>=20 >> The emacs daemon crashes, the same way as the original bug does. >> This is because the emacsclient -c creates fontsets, and emacsclient = -c -t tries to use them. >>=20 >> So this is a more generic problem. The fix I made was to initialize = fontsets in ns-win.el the same way x-win.el does, but this just hides = the problem for the daemon case. >=20 > It is wrong to call internal-char-font on a non-GUI frame; for > starters, that function might not be compiled in, e.g. if Emacs was > configured --without-x. All the other callers of that function are > careful not to do that. Does the patch below fix the problem? >=20 > I also think internal-char-font should not blindly call the font > driver without checking that it isn't NULL first. >=20 > =3D=3D=3D modified file 'lisp/descr-text.el' > --- lisp/descr-text.el 2012-08-20 11:12:16 +0000 > +++ lisp/descr-text.el 2012-11-25 15:46:44 +0000 > @@ -354,7 +354,8 @@ This function is semi-obsolete. Use `ge > ;; Return a string of CH with composition for padding on both sides. > ;; It is displayed without overlapping with the left/right columns. > (defsubst describe-char-padded-string (ch) > - (if (internal-char-font nil ch) > + (if (and (display-multi-font-p) > + (internal-char-font nil ch)) > (compose-string (string ch) 0 1 (format "\t%c\t" ch)) > (string ch))) >=20 From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Nov 2012 16:36: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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, cyd@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135386135412246 (code B ref 11964); Sun, 25 Nov 2012 16:36:02 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 16:35:54 +0000 Received: from localhost ([127.0.0.1]:38390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcfBS-0003BT-63 for submit@debbugs.gnu.org; Sun, 25 Nov 2012 11:35:54 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:47097) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcfBP-0003BL-Mt for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 11:35:52 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME100900XX4KQ00@a-mtaout22.012.net.il> for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 18:33:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME1009S5Y0JF840@a-mtaout22.012.net.il>; Sun, 25 Nov 2012 18:33:55 +0200 (IST) Date: Sun, 25 Nov 2012 18:34:04 +0200 From: Eli Zaretskii In-reply-to: Message-id: <838v9pzloj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> <83ehjhznft.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan =?UTF-8?Q?Dj=E4rv?= > Date: Sun, 25 Nov 2012 17:16:23 +0100 > Cc: cyd@gnu.org, > ninestraycats@gmail.com, > 11964@debbugs.gnu.org > > Your patch fixes the problem. Thanks, installed on the emacs-24 branch. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4662] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Jan Dj=E4rv > Date: Sun, 25 Nov 2012 17:16:23 +0100 > Cc: cyd@gnu.org, > ninestraycats@gmail.com, > 11964@debbugs.gnu.org >=20 > Your patch fixes the problem. Thanks, installed on the emacs-24 branch. Can this bug be closed now? (I didn't track all its discussions.) From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode 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: Sun, 25 Nov 2012 17:20:01 +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: To: Eli Zaretskii Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, cyd@gnu.org Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135386397916117 (code B ref 11964); Sun, 25 Nov 2012 17:20:01 +0000 Received: (at 11964) by debbugs.gnu.org; 25 Nov 2012 17:19:39 +0000 Received: from localhost ([127.0.0.1]:38420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcfrm-0004Bt-SS for submit@debbugs.gnu.org; Sun, 25 Nov 2012 12:19:39 -0500 Received: from mailout.melmac.se ([62.20.26.67]:46770) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcfrk-0004Bl-Eb for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 12:19:37 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 07BA89E13 for <11964@debbugs.gnu.org>; Sun, 25 Nov 2012 18:17:56 +0100 (CET) Received: (qmail 14040 invoked by uid 89); 25 Nov 2012 17:17:55 -0000 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; 25 Nov 2012 17:17:55 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 90B867FA05E; Sun, 25 Nov 2012 18:17:53 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-Reply-To: <838v9pzloj.fsf@gnu.org> Date: Sun, 25 Nov 2012 18:17:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> <83ehjhznft.fsf@gnu.org> <838v9pzloj.fsf@gnu.org> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi. It is closed. Jan D. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4931] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) Hi. It is closed. Jan D. 25 nov 2012 kl. 17:34 skrev Eli Zaretskii : >> From: Jan Dj=E4rv >> Date: Sun, 25 Nov 2012 17:16:23 +0100 >> Cc: cyd@gnu.org, >> ninestraycats@gmail.com, >> 11964@debbugs.gnu.org >>=20 >> Your patch fixes the problem. >=20 > Thanks, installed on the emacs-24 branch. >=20 > Can this bug be closed now? (I didn't track all its discussions.) From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Nov 2012 03:58:01 +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: To: Eli Zaretskii Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.135390224615426 (code B ref 11964); Mon, 26 Nov 2012 03:58:01 +0000 Received: (at 11964) by debbugs.gnu.org; 26 Nov 2012 03:57:26 +0000 Received: from localhost ([127.0.0.1]:38905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcpoy-00040j-Op for submit@debbugs.gnu.org; Sun, 25 Nov 2012 22:57:26 -0500 Received: from mail-da0-f44.google.com ([209.85.210.44]:36355) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcpou-00040Z-Nc for 11964@debbugs.gnu.org; Sun, 25 Nov 2012 22:57:22 -0500 Received: by mail-da0-f44.google.com with SMTP id z20so1900382dae.3 for <11964@debbugs.gnu.org>; Sun, 25 Nov 2012 19:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9Ntnn1J/IjB63z3Jj/1S+8Cbj0mTT2/AG14clQ1+WTY=; b=XzJopVEJjYedYkoj5z6CjlLuXWQh8kIXjYYz2YBAQkVDpGYtk6v93RHGGrkIHB01W/ EQ1/LeheQm3OT9r3M9R8QvreUxfcSyEi9dmhyu+s/wwWekQJnRutG2lxGm/XmW2vuI0l 11/V2fhfx794LsnKwr/7z1sMlAzmFD7YBUUxcQv9NPgDrcae3Hxg2Ryxvt07yUNyO7ng 5ltXwPS4dce0QSw9zfWjHymZJg0NvZA8lk8DYLTd3uNWZYg68lnCtu39WX8oh0xrf2Sd S9i+XYBHC4ny+Xaks97Ue6FASiRgYx5STZOyhetkZlHXr+0Y1dWQl19bPmsm2kdOAm80 zZsg== Received: by 10.66.83.201 with SMTP id s9mr29038784pay.74.1353902139118; Sun, 25 Nov 2012 19:55:39 -0800 (PST) Received: from ulysses ([155.69.17.27]) by mx.google.com with ESMTPS id uk9sm8000243pbc.63.2012.11.25.19.55.35 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2012 19:55:37 -0800 (PST) From: Chong Yidong References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> <83ehjhznft.fsf@gnu.org> Date: Mon, 26 Nov 2012 11:55:32 +0800 In-Reply-To: <83ehjhznft.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Nov 2012 17:56:06 +0200") Message-ID: <87k3t92f2j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > It is wrong to call internal-char-font on a non-GUI frame; for > starters, that function might not be compiled in, e.g. if Emacs was > configured --without-x. All the other callers of that function are > careful not to do that. Does the patch below fix the problem? > > I also think internal-char-font should not blindly call the font > driver without checking that it isn't NULL first. Thanks for the patch. But I'm not sure this is 100% fixed yet: calling internal-char-font on a tty should not crash Emacs, since Lisp calls should never cause a crash. So I think internal-char-font should return nil if the seleced frame is non-graphical. From unknown Fri Sep 05 22:44:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Nov 2012 17:51: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: To: Chong Yidong Cc: ninestraycats@gmail.com, 11964@debbugs.gnu.org, jan.h.d@swipnet.se Reply-To: Eli Zaretskii Received: via spool by 11964-submit@debbugs.gnu.org id=B11964.13539522558729 (code B ref 11964); Mon, 26 Nov 2012 17:51:02 +0000 Received: (at 11964) by debbugs.gnu.org; 26 Nov 2012 17:50:55 +0000 Received: from localhost ([127.0.0.1]:40385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td2pa-0002Gk-Q9 for submit@debbugs.gnu.org; Mon, 26 Nov 2012 12:50:55 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:48934) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td2pX-0002Gb-RR for 11964@debbugs.gnu.org; Mon, 26 Nov 2012 12:50:53 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ME300300VZ01M00@a-mtaout20.012.net.il> for 11964@debbugs.gnu.org; Mon, 26 Nov 2012 19:47:50 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME30024KW3OSI70@a-mtaout20.012.net.il>; Mon, 26 Nov 2012 19:47:48 +0200 (IST) Date: Mon, 26 Nov 2012 19:47:59 +0200 From: Eli Zaretskii In-reply-to: <87k3t92f2j.fsf@gnu.org> Message-id: <83pq30xnlc.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87bofcuo12.fsf@gnu.org> <87haogkf76.fsf@gnu.org> <97BC8D6C-F53B-4E18-9089-B4F8D7E39372@swipnet.se> <83k3tazwx2.fsf@gnu.org> <87fw3yb661.fsf@gnu.org> <3BA11CAB-DDBC-4F9A-9DBA-7BDA5F2182E2@swipnet.se> <83ehjhznft.fsf@gnu.org> <87k3t92f2j.fsf@gnu.org> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Chong Yidong > Cc: Jan Dj=E4rv , > ninestraycats@gmail.com, 11964@debbugs.gnu.org > Date: Mon, 26 Nov 2012 11:55:32 +0800 >=20 > Thanks for the patch. But I'm not sure this is 100% fixed yet: cal= ling > internal-char-font on a tty should not crash Emacs, since Lisp call= s > should never cause a crash. So I think internal-char-font should r= eturn > nil if the seleced frame is non-graphical. Done in revision 110962 on the emacs-24 branch.