[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
From: |
Stefan Monnier |
Subject: |
bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar |
Date: |
Fri, 15 Aug 2008 15:40:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>> I am using the new "newsticker tree view" under GNU/Linux and GTK+
>>>> 2.8.11. Very often I get a segmentation fault in the function
>>>> update_frame_tool_bar.
>>>
>>> Could you do two things:
>>>
>>> 1. Recompile without optimization (CFLAGS="-g" ./configure; make)
>>
>> Without optimization the problem disapears. See too bug number 601.
> Looks like a compiler bug. Upgrading to a newer version of gcc might
> fix it.
In 90% of the cases, if a program crashes when compiled with
optimization but runs fine when compiled without optimization, the
problem is actually not a compiler bug. It's just that the C language
has many "undefined" behaviors, and programmers tend to assume a lot
more than the language actually guarantees.
Stefan