unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Johannes Weiner <hannes@saeurebad.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs Development Mailing List <emacs-devel@gnu.org>
Subject: Re: [BUG] Finternal_merge_in_global_face segfault
Date: Sat, 05 Jul 2008 17:23:37 +0000	[thread overview]
Message-ID: <87abgws0rq.fsf@saeurebad.de> (raw)
In-Reply-To: <87k5g0z7x2.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 05 Jul 2008 11:07:21 -0400")

Hi,

Chong Yidong <cyd@stupidchicken.com> writes:

> Johannes Weiner <hannes@saeurebad.de> writes:
>
>> this change
>>
>> 2008-06-30  Chong Yidong  <cyd@stupidchicken.com>
>>
>>         * xfaces.c (Finternal_merge_in_global_face): If default face was
>>         modified, realize it again.  Update the font face attribute.
>>
>> makes Emacs segfault in batch mode.
>>
>> The culprit is the bcopy(oldface->lface, ...) according to the
>> stacktrace.  I couldn't get gdb to let me inspect oldface (any hints?).
>
> It's probably optimized out.  You should recompile Emacs without
> optimization (CFLAGS='-g' ./configure; make) and try again.

I did that (-O0 -g) and could inspect other stuff in this context, not
this.  Weird.

> Please provide a recipe to reproduce this segfault.

emacs -batch -f format

	Hannes




  reply	other threads:[~2008-07-05 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 13:34 [BUG] Finternal_merge_in_global_face segfault Johannes Weiner
2008-07-05 15:07 ` Chong Yidong
2008-07-05 17:23   ` Johannes Weiner [this message]
2008-07-05 21:16     ` Chong Yidong
2008-07-06  2:15       ` Johannes Weiner

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abgws0rq.fsf@saeurebad.de \
    --to=hannes@saeurebad.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).