[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333118: Bug#333119: gcc-4.0: Segfaulting code generated for gtkboard-0.11pre0



reassign 333118 gtkboard
severity 333118 grave
thanks

On Tue, Oct 11, 2005 at 10:17:55AM +0530, R.Ramkumar wrote:
> > Why are you not using gcc-4.0 4.0.2-2, the current version of gcc-4.0 in
> > unstable?

> I generally go with the testing packages.. should I be reporting the
> bugs only with the unstable version?

When you are going to claim that a core package is broken to the point of
being unreleasable, it is very important to know what version of the package
is actually affected.  It's also pretty bold to claim that gcc is completely
unreleasable when most of the base system in unstable has been rebuilt with
gcc-4.0 and works fine; it seems equally as likely that gcc-4.0 is exposing
a bug in the gtkboard source.

Anyway, your bug is a gtkboard bug, in menu_start_game():

        GtkItemFactoryEntry help_items [3];

	[...]

        for (i=0; i<4; i++)
        {
                help_items[i].accelerator = NULL;
                help_items[i].callback = menu_show_game_doc;
                help_items[i].item_type = "";
        }

Yeah, this smashes the stack.  Just because it worked with gcc-3.3 doesn't
mean this is a gcc-4.0 bug.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: