[Gambas-devel] signal 11 when rendering graphics using gb.image

Kevin Fishburne kevinfishburne at ...590...
Sun Dec 19 00:11:41 CET 2010


On 12/18/2010 01:46 PM, Benoît Minisini wrote:
> I forgot an "="!
>
> $ make "CFLAGS=-O0 -g" "CXXFLAGS=-00 -g"
Thanks, that worked. I ran the app several times in gdb before it died, 
so here are the results:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4fc701d in g_type_name () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0  0x00007ffff4fc701d in g_type_name () from /usr/lib/libgobject-2.0.so.0
#1  0x00007ffff6847ba5 in gtk_rc_get_style_by_paths () from 
/usr/lib/libgtk-x11-2.0.so.0
#2  0x00007ffff6d258e4 in gt_get_style (name=0x7ffff6d63cb0 "GtkEntry", 
type=0) at gtools.cpp:1116
#3  0x00007ffff6d2c561 in gDesktop::fgColor () at gdesktop.cpp:180
#4  0x00007ffff6d2c219 in gDraw::connect (this=0x7fffe01e5e80, 
wid=0x7fffe0197e10) at gdraw.cpp:176
#5  0x00007ffff6d49ea8 in begin (d=0x7fffe0230138) at CDraw.cpp:60
#6  0x00007ffff05d3721 in DRAW_begin (device=0x7fffe0197d68) at CDraw.c:91
#7  0x00007ffff05d37d5 in CDRAW_begin (_object=0x0, _param=0x683f28) at 
CDraw.c:110
#8  0x0000000000410f9c in EXEC_native () at gbx_exec.c:1243
#9  0x000000000040feac in EXEC_native_check (defined=1 '\001') at 
gbx_exec.c:1035
#10 0x0000000000452eb8 in EXEC_loop () at gbx_exec_loop.c:970
#11 0x000000000040f51a in EXEC_function_loop () at gbx_exec.c:861
#12 0x000000000040f47d in EXEC_function_real () at gbx_exec.c:848
#13 0x0000000000411ddf in EXEC_public_desc (class=0x7fffe0008b68, 
object=0x7fffe009a0e8, desc=0x7fffe0097f68, nparam=0) at gbx_exec.c:1497
#14 0x0000000000431236 in raise_event (observer=0x7fffe009a0e8, 
object=0x7fffe00dced8, func_id=163, nparam=0) at gbx_api.c:473
#15 0x000000000043165a in GB_Raise (object=0x7fffe00dced8, event_id=16, 
nparam=0) at gbx_api.c:573
#16 0x00007ffff6d502b5 in gb_raise_button_Click (sender=<value optimized 
out>) at CButton.cpp:38
#17 0x00007ffff4faca6e in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#18 0x00007ffff4fc24d7 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff4fc3996 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#20 0x00007ffff4fc3f53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff6754e85 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff4faca6e in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#23 0x00007ffff4fc1da1 in ?? () from /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff4fc3996 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#25 0x00007ffff4fc3f53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff6753b8d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x00007ffff68019d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007ffff4faca6e in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#29 0x00007ffff4fc2120 in ?? () from /usr/lib/libgobject-2.0.so.0
#30 0x00007ffff4fc37db in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#31 0x00007ffff4fc3f53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0x00007ffff691a6df in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x00007ffff67f9e73 in gtk_propagate_event () from 
/usr/lib/libgtk-x11-2.0.so.0
#34 0x00007ffff67faf4b in gtk_main_do_event () from 
/usr/lib/libgtk-x11-2.0.so.0
#35 0x00007ffff6d5dba4 in gambas_handle_event (event=0x7fffe0183110) at 
gapplication.cpp:584
#36 0x00007ffff647474c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#37 0x00007ffff44c4342 in g_main_context_dispatch () from 
/lib/libglib-2.0.so.0
#38 0x00007ffff44c82a8 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007ffff44c845c in g_main_context_iteration () from 
/lib/libglib-2.0.so.0
#40 0x00007ffff67fb22d in gtk_main_iteration_do () from 
/usr/lib/libgtk-x11-2.0.so.0
#41 0x00007ffff6d5ba57 in do_iteration (do_not_block=<value optimized 
out>, do_not_sleep=false) at main.cpp:502
#42 0x00007ffff6d5be96 in my_loop () at main.cpp:430
#43 0x000000000043d400 in main (argc=1, argv=0x7fffffffe2f8) at gbx.c:371

Doesn't make any sense to me, but hopefully it will to you. I removed my 
project that I linked to earlier, so let me know if you still need it.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...590...
phone: (770) 853-6271





More information about the Devel mailing list