GNU bug report logs - #12007
24.1.50; Crash in auto-revert-handler

Previous Next

Package: emacs;

Reported by: Christoph Scholtes <cschol2112 <at> googlemail.com>

Date: Sat, 21 Jul 2012 13:25:02 UTC

Severity: normal

Found in version 24.1.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Antipov <dmantipov <at> yandex.ru>, Jan Djärv <jan.h.d <at> swipnet.se>
Cc: cschol2112 <at> googlemail.com, 12007 <at> debbugs.gnu.org
Subject: bug#12007: 24.1.50; Crash in auto-revert-handler
Date: Wed, 15 Aug 2012 20:27:50 +0300
> Date: Wed, 15 Aug 2012 20:50:15 +0400
> From: Dmitry Antipov <dmantipov <at> yandex.ru>
> CC: cschol2112 <at> googlemail.com, 12007 <at> debbugs.gnu.org
> 
> > Today's trunk still crashes on startup.  Can this be fixed, please?
> 
> I don't know whether you have received my previous e-mail, but it was:
> 
> Eli, please review a fix.

Sorry, I wrote that before I saw you mail.

> This looks simple: it's wrong to look at with f->output_data.XXX without
> checking f->output_method first, so, FRAME_X_OUTPUT (f) may be non-zero
> for TTY frames, and segfault comes when xg_mark_data looks at initial
> ("F1") frame with non-zero f->output_data.tty member.

The patch works for me, and it seems to be the right one.  Jan, could
you take a look?  (I don't feel I know enough about the GTK build.)

> P.S. BTW, this is X/GTK bug rather that GC bug.

Right again, sorry for jumping the gun too soon.




This bug report was last modified 12 years and 332 days ago.

Previous Next


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