segmention fault without -O flag?



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:

(gdb) run
Starting program: /opt/home/rasca/studium/Diplom/diplom/pano/xcam/xcam 

Program received signal SIGSEGV, Segmentation fault.
0x1 in ?? ()
(gdb) where
#0  0x1 in ?? ()
#1  0x9cd6426 in gtk_image_expose () from /usr/local/X11/lib/libgtk-1.2.so.0
#2  0x9d4ca81 in gtk_marshal_BOOL__POINTER ()
   from /usr/local/X11/lib/libgtk-1.2.so.0
#3  0x9d12487 in gtk_signal_real_emit ()
   from /usr/local/X11/lib/libgtk-1.2.so.0
#4  0x9d10685 in gtk_signal_emit () from /usr/local/X11/lib/libgtk-1.2.so.0
#5  0x9d44618 in gtk_widget_event () from /usr/local/X11/lib/libgtk-1.2.so.0
#6  0x9d3ae9b in gtk_viewport_expose () from /usr/local/X11/lib/libgtk-1.2.so.0
#7  0x9d4ca81 in gtk_marshal_BOOL__POINTER ()
   from /usr/local/X11/lib/libgtk-1.2.so.0
#8  0x9d12487 in gtk_signal_real_emit ()
   from /usr/local/X11/lib/libgtk-1.2.so.0
#9  0x9d10685 in gtk_signal_emit () from /usr/local/X11/lib/libgtk-1.2.so.0
#10 0x9d44618 in gtk_widget_event () from /usr/local/X11/lib/libgtk-1.2.so.0
#11 0x9ce637a in gtk_main_do_event () from /usr/local/X11/lib/libgtk-1.2.so.0
#12 0x9d8d23b in gdk_event_dispatch () from /usr/local/X11/lib/libgdk-1.2.so.0
#13 0x9dbd67a in g_main_dispatch () from /usr/local/X11/lib/libglib-1.2.so.0
#14 0x9dbdc31 in g_main_iterate () from /usr/local/X11/lib/libglib-1.2.so.0
#15 0x9dbddb1 in g_main_run () from /usr/local/X11/lib/libglib-1.2.so.0
#16 0x9ce5d1d in gtk_main () from /usr/local/X11/lib/libgtk-1.2.so.0
#17 0x804edb0 in gui_main (verbose=0, devfile=0x805e1a6 "/dev/usb")
    at gui_main.c:816
#18 0x804c72f in main (argc=1, argv=0xbffff434) at main.c:56

cu
 rasca
-- 
 /#- Internet eMail: thron@gmx.de, FidoNet: 2:2410/304.5@fido -#\
<-#- Internet WWWeb: http://home.pages.de/~rasca/ -------------#->
 \#- please do NOT quote these lines or other useless stuff! --#/



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