GNU bug report logs - #8217
23.3; Runtime segmentation fault when compiled with -O2 on GNU/Linux

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Thu, 10 Mar 2011 08:36:02 UTC

Severity: normal

Tags: unreproducible

Found in version 23.3

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #26 received at 8217 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Ulrich Mueller <ulm <at> gentoo.org>, 8217 <at> debbugs.gnu.org
Subject: Re: bug#8217: 23.3;
	Runtime segmentation fault when compiled with -O2 on GNU/Linux
Date: Thu, 24 Mar 2011 21:17:02 -0400
> By the way, I notice that x_scroll_bar_create has

>   struct scroll_bar *bar
>     = ALLOCATE_PSEUDOVECTOR (struct scroll_bar, x_window, PVEC_OTHER);

> I don't know if the former is correct (it was introduced back in
> revision 82084 by Stefan),

It should be.  It should allocate a vector large enough for `struct
scroll_bar' and with all fields up to x_window of type Lisp_Object and
traceable by the GC.

> but it means the SCROLL_BAR_VEC_SIZE macro defined in xterm.h is
> unused, which looks odd.

Looks like a left over I failed to remove.

> In comparison, w32term.c has

>   struct scroll_bar *bar
>     = XSCROLL_BAR (Fmake_vector (make_number (SCROLL_BAR_VEC_SIZE), Qnil));

Looks like I also failed to apply my change to w32term.c.


        Stefan




This bug report was last modified 8 years and 294 days ago.

Previous Next


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