Re: segmention fault without -O flag?
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Subject: Re: segmention fault without -O flag?
- Date: 16 Aug 1999 11:58:50 -0400
Rasca Gmelch <thron@gmx.de> writes:
> hi,
>
> if i compile my program without the -O flag the program receives
> a seg. fault on startup. i use the egcs 2.91.66 with linux
> kernel 2.2.11 and gtk+ 1.2.3. any ideas? the gdb trace is below:
It is very unlikely that changing the optimization flags
for your program (not GTK+) would cause a segfault
this far inside of GTK+ unless you are corruptiing memory,
or the stack. This kind of problem can be hard to track
down, but one thing you can do is try commenting out
parts of your program and seeing when the problem
disappears.
If it is a GTK+ problem, we would need to see a stack trace
from a GTK+ built with debugging, or better, source
code that reproduces the problem to have any hope
of tracking down the problem. GtkImage is admittedly
not a very commonly used widget, though I can't see
anything in gtk_image_expose() that would cause this
type of problem.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]