From: Chong Yidong <cyd@stupidchicken.com>
To: Christian Faulhammer <opfer@gentoo.org>
Cc: 773@emacsbugs.donarmstrong.com, Kenichi Handa <handa@m17n.org>
Subject: bug#773: 23.0.60; Segfault when opening a file
Date: Mon, 29 Sep 2008 13:43:12 -0400 [thread overview]
Message-ID: <87ljxa26hb.fsf@cyd.mit.edu> (raw)
In-Reply-To: <20080923215513.2e4abfe8@terra.solaris> (Christian Faulhammer's message of "Tue, 23 Sep 2008 21:55:13 +0200")
Christian Faulhammer <opfer@gentoo.org> writes:
>> The backtrace you provided looks like it has symbols stripped. Could
>> you recompile with CFLAGS="-g", generate a new backtrace, and post it?
>
> Here it is. As my failing system is offline and I seldomly sync the
> Emacs sources, I can only provide one for a relatively old check-out
> from 14 Sep 2008.
Does the following patch stop the segfault?
*** trunk/src/fontset.c.~1.145.~ 2008-08-29 11:16:15.000000000 -0400
--- trunk/src/fontset.c 2008-09-29 13:41:32.000000000 -0400
***************
*** 517,525 ****
{
Lisp_Object elt, vec, font_group;
int i;
! FRAME_PTR f = XFRAME (FONTSET_FRAME (fontset));
int charset_matched = -1;
font_group = fontset_get_font_group (fontset, fallback ? -1 : c);
if (! CONSP (font_group))
return Qnil;
--- 517,530 ----
{
Lisp_Object elt, vec, font_group;
int i;
! FRAME_PTR f;
int charset_matched = -1;
+ if (NILP (FONTSET_FRAME (fontset)))
+ f = XFRAME (selected_frame);
+ else
+ f = XFRAME (FONTSET_FRAME (fontset));
+
font_group = fontset_get_font_group (fontset, fallback ? -1 : c);
if (! CONSP (font_group))
return Qnil;
next prev parent reply other threads:[~2008-09-29 17:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 17:25 bug#773: 23.0.60; Segfault when opening a file Chong Yidong
2008-09-23 19:55 ` Christian Faulhammer
2008-09-29 17:43 ` Chong Yidong [this message]
2008-10-16 16:36 ` Christian Faulhammer
2008-10-16 17:06 ` Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2008-08-28 20:14 Chong Yidong
2008-08-29 10:03 ` Christian Faulhammer
2008-08-25 15:47 Chong Yidong
2008-09-11 2:14 ` bug#773: " Kenichi Handa
2008-09-11 2:14 ` Kenichi Handa
2008-09-14 7:38 ` bug#773: " Christian Faulhammer
2008-09-16 19:32 ` Christian Faulhammer
2008-09-16 19:32 ` Christian Faulhammer
2008-09-17 11:40 ` Kenichi Handa
2008-09-18 17:25 ` bug#773: " Christian Faulhammer
2008-09-18 17:25 ` Christian Faulhammer
2008-09-18 19:05 ` bug#773: " Chong Yidong
2008-09-17 11:40 ` Kenichi Handa
2008-08-25 15:47 Chong Yidong
2008-08-25 15:03 Christian Faulhammer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ljxa26hb.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=773@emacsbugs.donarmstrong.com \
--cc=handa@m17n.org \
--cc=opfer@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.