GNU bug report logs - #773
23.0.60; Segfault when opening a file

Previous Next

Package: emacs;

Reported by: "Christian Faulhammer" <gentoo <at> faulhammer.org>

Date: Mon, 25 Aug 2008 15:10:04 UTC

Severity: normal

Merged with 774

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 773 in the body.
You can then email your comments to 773 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Christian Faulhammer" <gentoo <at> faulhammer.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Christian Faulhammer" <gentoo <at> faulhammer.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Segfault when opening a file
Date: Mon, 25 Aug 2008 17:03:57 +0200 (MEST)
[Message part 1 (text/plain, inline)]
Hi,

when opening the attached TeX file (stripped to the lines that cause the crash), my Emacs segfaults.  Compiled from HEAD this morning 1000 CEST, although I have this problem for two weeks now.

In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)
 of 2008-08-25 on sol
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=athlon-xp -pipe' 'LDFLAGS=-Wl,--as-needed''

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: de_DE.utf8
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: de_DE.utf8
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

[segfault-faulhammer.tex (application/octet-stream, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs-devel <at> gnu.org
Cc: "Christian Faulhammer" <gentoo <at> faulhammer.org>,
        773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Mon, 25 Aug 2008 11:47:09 -0400
Can anyone reproduce this bug?  I can't.


"Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:

> when opening the attached TeX file (stripped to the lines that cause
> the crash), my Emacs segfaults.  Compiled from HEAD this morning 1000
> CEST, although I have this problem for two weeks now.
>
> In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)

--- segfault-faulhammer.tex begins here ---
 & \textbf{Autor(en)/Künstler} &  \textbf{Titel} & \textbf{ISBN} & \textbf{Preis} (ca.) \\\midrule
--- segfault-faulhammer.tex ends here ---




Merged 773 774 775. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 25 Aug 2008 17:00:04 GMT) Full text and rfc822 format available.

Disconnected #775 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 25 Aug 2008 17:15:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #19 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Christian Faulhammer" <gentoo <at> faulhammer.org>
Cc: 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 28 Aug 2008 16:14:56 -0400
> when opening the attached TeX file (stripped to the lines that cause
> the crash), my Emacs segfaults.  Compiled from HEAD this morning 1000
> CEST, although I have this problem for two weeks now.

Could you please provide a precise recipe for reproducing this bug,
beginning with `emacs -Q'?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #24 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Fri, 29 Aug 2008 12:03:09 +0200
[Message part 1 (text/plain, inline)]
Hi,

Chong Yidong <cyd <at> stupidchicken.com>:

> > when opening the attached TeX file (stripped to the lines that cause
> > the crash), my Emacs segfaults.  Compiled from HEAD this morning
> > 1000 CEST, although I have this problem for two weeks now.
> 
> Could you please provide a precise recipe for reproducing this bug,
> beginning with `emacs -Q'?

 C-x C-f <filename> -> crash

 That's all.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #29 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: emacs-devel <at> gnu.org, 773 <at> debbugs.gnu.org, gentoo <at> faulhammer.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 11 Sep 2008 11:14:58 +0900
In article <87bpzh9jwi.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:

> Can anyone reproduce this bug?  I can't.
> "Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:

> > when opening the attached TeX file (stripped to the lines that cause
> > the crash), my Emacs segfaults.  Compiled from HEAD this morning 1000
> > CEST, although I have this problem for two weeks now.
> >
> > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)

> --- segfault-faulhammer.tex begins here ---
>  & \textbf{Autor(en)/K$(D+d(Bnstler} &  \textbf{Titel} & \textbf{ISBN} & \textbf{Preis} (ca.) \\\midrule
> --- segfault-faulhammer.tex ends here ---

I can't reproduce that bug with the latest code.  Can you?

---
Kenichi Handa
handa <at> ni.aist.go.jp




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #34 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, emacs-devel <at> gnu.org,
        773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Sun, 14 Sep 2008 09:38:52 +0200
[Message part 1 (text/plain, inline)]
Hi,

Kenichi Handa <handa <at> m17n.org>:

> In article <87bpzh9jwi.fsf <at> cyd.mit.edu>, Chong Yidong
> <cyd <at> stupidchicken.com> writes:
> 
> > Can anyone reproduce this bug?  I can't.
> > "Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:
> 
> > > when opening the attached TeX file (stripped to the lines that
> > > cause the crash), my Emacs segfaults.  Compiled from HEAD this
> > > morning 1000 CEST, although I have this problem for two weeks now.
> > >
> > > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)
> 
> > --- segfault-faulhammer.tex begins here ---
> >  & \textbf{Autor(en)/Künstler} &  \textbf{Titel} & \textbf{ISBN} &
> > \textbf{Preis} (ca.) \\\midrule --- segfault-faulhammer.tex ends
> > here ---
> 
> I can't reproduce that bug with the latest code.  Can you?

 Yes, still.  Maybe it has to do with some Emacs unrelated setting (Xft
or whatever Gtk+ setting), so I still debug to see which files are read
and relevant.  I updated to the latest Gtk+ version (2.12.11), but no
difference.  I will report back.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #39 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, emacs-devel <at> gnu.org,
        773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Tue, 16 Sep 2008 21:32:30 +0200
[Message part 1 (text/plain, inline)]
Hi,

Kenichi Handa <handa <at> m17n.org>:
> In article <87bpzh9jwi.fsf <at> cyd.mit.edu>, Chong Yidong
> <cyd <at> stupidchicken.com> writes:
> 
> > Can anyone reproduce this bug?  I can't.
> > "Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:
> 
> > > when opening the attached TeX file (stripped to the lines that
> > > cause the crash), my Emacs segfaults.  Compiled from HEAD this
> > > morning 1000 CEST, although I have this problem for two weeks now.
> > >
> > > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)
> 
> > --- segfault-faulhammer.tex begins here ---
> >  & \textbf{Autor(en)/Künstler} &  \textbf{Titel} & \textbf{ISBN} &
> > \textbf{Preis} (ca.) \\\midrule --- segfault-faulhammer.tex ends
> > here ---
> 
> I can't reproduce that bug with the latest code.  Can you?

 Something new:  When starting with -fn fontset-standard everything is
ok, no segfaults anymore.  Anything more I can do to debug this?  I
already straced for file calls and tried to disable all settings from
Gtk+ or X, but I now suspect Xft, this is also related to my bug 775,
which also disappears with standard fontset.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #44 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Christian Faulhammer <opfer <at> gentoo.org>
Cc: cyd <at> stupidchicken.com, emacs-devel <at> gnu.org, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Wed, 17 Sep 2008 20:40:56 +0900
In article <20080916213230.2ac6952f <at> terra.solaris>, Christian Faulhammer <opfer <at> gentoo.org> writes:

> [1  <text/plain; ISO-8859-1 (quoted-printable)>]
> Hi,

> Kenichi Handa <handa <at> m17n.org>:
> > In article <87bpzh9jwi.fsf <at> cyd.mit.edu>, Chong Yidong
> > <cyd <at> stupidchicken.com> writes:
> > 
> > > Can anyone reproduce this bug?  I can't.
> > > "Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:
> > 
> > > > when opening the attached TeX file (stripped to the lines that
> > > > cause the crash), my Emacs segfaults.  Compiled from HEAD this
> > > > morning 1000 CEST, although I have this problem for two weeks now.
> > > >
> > > > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)
> > 
> > > --- segfault-faulhammer.tex begins here ---
> > >  & \textbf{Autor(en)/K$(D+d(Bnstler} &  \textbf{Titel} & \textbf{ISBN} &
> > > \textbf{Preis} (ca.) \\\midrule --- segfault-faulhammer.tex ends
> > > here ---
> > 
> > I can't reproduce that bug with the latest code.  Can you?

>  Something new:  When starting with -fn fontset-standard everything is
> ok, no segfaults anymore.  Anything more I can do to debug this?  I
> already straced for file calls and tried to disable all settings from
> Gtk+ or X, but I now suspect Xft, this is also related to my bug 775,
> which also disappears with standard fontset.

Please run Emacs under gdb, and find at which point Emacs
crashes.

---
Kenichi Handa
handa <at> ni.aist.go.jp




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #49 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: cyd <at> stupidchicken.com, emacs-devel <at> gnu.org, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 18 Sep 2008 19:25:01 +0200
[Message part 1 (text/plain, inline)]
Hi,

Kenichi Handa <handa <at> m17n.org>:

> In article <20080916213230.2ac6952f <at> terra.solaris>, Christian
> Faulhammer <opfer <at> gentoo.org> writes:
> 
> > [1  <text/plain; ISO-8859-1 (quoted-printable)>]
> > Hi,
> 
> > Kenichi Handa <handa <at> m17n.org>:
> > > In article <87bpzh9jwi.fsf <at> cyd.mit.edu>, Chong Yidong
> > > <cyd <at> stupidchicken.com> writes:
> > > 
> > > > Can anyone reproduce this bug?  I can't.
> > > > "Christian Faulhammer" <gentoo <at> faulhammer.org> wrote:
> > > 
> > > > > when opening the attached TeX file (stripped to the lines that
> > > > > cause the crash), my Emacs segfaults.  Compiled from HEAD this
> > > > > morning 1000 CEST, although I have this problem for two weeks
> > > > > now.
> > > > >
> > > > > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version
> > > > > 2.12.10)
> > > 
> > > > --- segfault-faulhammer.tex begins here ---
> > > >  & \textbf{Autor(en)/Künstler} &  \textbf{Titel} &
> > > > \textbf{ISBN} & \textbf{Preis} (ca.) \\\midrule ---
> > > > segfault-faulhammer.tex ends here ---
> > > 
> > > I can't reproduce that bug with the latest code.  Can you?
> 
> >  Something new:  When starting with -fn fontset-standard everything
> > is ok, no segfaults anymore.  Anything more I can do to debug
> > this?  I already straced for file calls and tried to disable all
> > settings from Gtk+ or X, but I now suspect Xft, this is also
> > related to my bug 775, which also disappears with standard fontset.
> 
> Please run Emacs under gdb, and find at which point Emacs
> crashes.

 I provided a back trace in my original report.  Isn't it enough?

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #54 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Christian Faulhammer <opfer <at> gentoo.org>
Cc: Kenichi Handa <handa <at> m17n.org>, emacs-devel <at> gnu.org,
        773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 18 Sep 2008 15:05:31 -0400
Christian Faulhammer <opfer <at> gentoo.org> writes:

>> Please run Emacs under gdb, and find at which point Emacs
>> crashes.
>
>  I provided a back trace in my original report.  Isn't it enough?

The backtrace you provided looks like it has symbols stripped.  Could
you recompile with CFLAGS="-g", generate a new backtrace, and post it?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #59 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Christian Faulhammer <opfer <at> gentoo.org>
Cc: Kenichi Handa <handa <at> m17n.org>, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Tue, 23 Sep 2008 13:25:57 -0400
Christian Faulhammer <opfer <at> gentoo.org> writes:

>> Please run Emacs under gdb, and find at which point Emacs
>> crashes.
>
>  I provided a back trace in my original report.  Isn't it enough?

The backtrace you provided looks like it has symbols stripped.  Could
you recompile with CFLAGS="-g", generate a new backtrace, and post it?

Thanks.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #64 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Kenichi Handa <handa <at> m17n.org>, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Tue, 23 Sep 2008 21:55:13 +0200
[Message part 1 (text/plain, inline)]
Chong Yidong <cyd <at> stupidchicken.com>:

> Christian Faulhammer <opfer <at> gentoo.org> writes:
> 
> >> Please run Emacs under gdb, and find at which point Emacs
> >> crashes.
> >
> >  I provided a back trace in my original report.  Isn't it enough?
> 
> 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.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[backtrace (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #69 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Christian Faulhammer <opfer <at> gentoo.org>
Cc: Kenichi Handa <handa <at> m17n.org>, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Mon, 29 Sep 2008 13:43:12 -0400
Christian Faulhammer <opfer <at> 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;




bug closed, send any further explanations to "Christian Faulhammer" <gentoo <at> faulhammer.org> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Wed, 08 Oct 2008 23:05:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Christian Faulhammer <opfer <at> gentoo.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #76 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Christian Faulhammer <opfer <at> gentoo.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Kenichi Handa <handa <at> m17n.org>, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 16 Oct 2008 18:36:09 +0200
[Message part 1 (text/plain, inline)]
Hi,

Chong Yidong <cyd <at> stupidchicken.com>:

> Christian Faulhammer <opfer <at> 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?

 The current HEAD does not show the segfault anymore, though bug 775
still exists, which went away with -fn fontset-standard.  You need an
update there?

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#773; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #81 received at 773 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Christian Faulhammer <opfer <at> gentoo.org>
Cc: Kenichi Handa <handa <at> m17n.org>, 773 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Segfault when opening a file
Date: Thu, 16 Oct 2008 13:06:08 -0400
Christian Faulhammer <opfer <at> gentoo.org> writes:

> bug 775 still exists, which went away with -fn fontset-standard.  You
> need an update there?

Yes, could you try to investigate please?




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 14 Nov 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.