On Fri, Apr 21, 2006 at 08:32:49AM +0200, José L. Redrejo Rodríguez wrote:
Hi Frank, I have being in contact with the upstream author, checking the
build logs and no error has being found for powerpc platform. Neither
the upstream author nor me have access to a powerpc architecture, so
could you send me a backtrace of the crash?
I finally found time to work on this.
I compiled gambas (from the debian package) with -g, and got two
backtraces : one from GmbCrossword 0.8 (http://gmbcrossword.sf.net), and
one from gambas itself.
gmbcrossword:
gbx: swapping class Global
gbx: swapping class cCword
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 805456736 (LWP 30266)]
CSETTINGS_put (_object=0x10096a48, _param=value optimized out) at
gbx_c_settings.c:133
133 c = key[i];
(gdb) bt
#0 CSETTINGS_put (_object=0x10096a48, _param=value optimized out) at
gbx_c_settings.c:133
#1 0x1000680c in EXEC_call_native (exec=0x10, object=0x10096a48, type=0,
param=0x10042b38) at gbx_exec.c:650
#2 0x10006b68 in EXEC_native () at gbx_exec.c:758
#3 0x10007164 in EXEC_spec (special=value optimized out, class=0x10042b38,
object=0x10096a48, nparam=2, drop=0 '\0') at gbx_exec.c:977
#4 0x10008968 in EXEC_pop_array () at gbx_exec_pop.c:275
#5 0x10008da8 in EXEC_loop () at gbx_exec_loop.c:717
#6 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#7 0x1001e35c in main (argc=1, argv=0x7fc818a4) at gbx.c:274
gambas:
(gdb) bt
#0 0x0f458c64 in strncmp () from /lib/tls/libc.so.6
#1 0x10003580 in key_equal_binary (key_comp=0x101153a8 , key=0x1 Address
0x1 out of bounds, len=0) at gbx_hash.c:68
#2 0x100038c0 in hash_table_lookup_node (hash_table=0x101b2268, key=0x1
Address 0x1 out of bounds, len=0) at gbx_hash.c:194
#3 0x100039a0 in HASH_TABLE_insert (hash_table=0x101153a8, key=0x1 Address
0x1 out of bounds, len=0) at gbx_hash.c:216
#4 0x10021ba4 in collection_add_key (col=0x101b42f0, key=0x1 Address 0x1 out
of bounds, len=0) at gbx_c_collection.c:70
#5 0x10021ef0 in collection_put (_object=0x101153a8, _param=value optimized
out) at gbx_c_collection.c:241
#6 0x1000680c in EXEC_call_native (exec=0, object=0x101153a8, type=0,
param=0x0) at gbx_exec.c:650
#7 0x10006b68 in EXEC_native () at gbx_exec.c:758
#8 0x10007164 in EXEC_spec (special=value optimized out, class=0x1,
object=0x101b42f0, nparam=2, drop=0 '\0') at gbx_exec.c:977
#9 0x10008968 in EXEC_pop_array () at gbx_exec_pop.c:275
#10 0x10008da8 in EXEC_loop () at gbx_exec_loop.c:717
#11 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#12 0x1000e4e8 in CLASS_load_real (class=0x101b3cb8) at gbx_class_load.c:702
#13 0x100074c4 in EXEC_new () at gbx_exec.c:1120
#14 0x100090d4 in EXEC_loop () at gbx_exec_loop.c:903
#15 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#16 0x1000e3ec in CLASS_load_without_init (class=0x1008ddd0) at
gbx_class_load.c:685
#17 0x1000e4c0 in CLASS_load_real (class=0x101153a8) at gbx_class_load.c:699
#18 0x10006dcc in EXEC_object (val=0x100488e0, class=0x7f8d061c,
object=0x7f8d0620, defined=0x7f8d0618 \001\215\003?\020\b?) at gbx_exec.c:855
#19 0x10007718 in EXEC_push_unknown () at gbx_exec_push.c:61
#20 0x10008bf8 in EXEC_loop () at gbx_exec_loop.c:622
#21 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#22 0x1000e4e8 in CLASS_load_real (class=0x100a0fc0) at gbx_class_load.c:702
#23 0x10006dcc in EXEC_object (val=0x100488c0, class=0x7f8d097c,
object=0x7f8d0980, defined=0x7f8d0978 \001) at gbx_exec.c:855
#24 0x10007718 in EXEC_push_unknown () at gbx_exec_push.c:61
#25 0x10008bf8 in EXEC_loop () at gbx_exec_loop.c:622
#26 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#27 0x1000717c in EXEC_spec (special=value optimized out, class=0x1,
object=0x101a6550, nparam=0, drop=1 '\001') at gbx_exec.c:984
#28 0x100073cc in EXEC_special_inheritance (special=269570984,
class=0x10060cf0, object=0x0, nparam=0, drop=64 '@') at gbx_exec.c:1081
#29 0x1001f0c8 in OBJECT_create (object=0x10060d68, class=0x10060cf0, name=0x0,
parent=0x0, nparam=0) at gbx_object.c:288
#30 0x1000cbe4 in CLASS_auto_create (class=0x10060cf0, nparam=0) at
gbx_class.c:786
#31 0x10007044 in EXEC_auto_create (class=0x101153a8) at gbx_exec.c:1237
#32 0x10007a70 in EXEC_push_unknown () at gbx_exec_push.c:175
#33 0x10008bf8 in EXEC_loop () at gbx_exec_loop.c:622
#34 0x100065f4 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#35 0x1000717c in EXEC_spec (special=value optimized out, class=0x1,
object=0x1019e330, nparam=0, drop=1 '\001') at gbx_exec.c:984
#36 0x100073cc in EXEC_special_inheritance (special=269570984,
class=0x10092628, object=0x0, nparam=0, drop=64 '@') at gbx_exec.c:1081
#37 0x1001f0c8 in OBJECT_create (object=0x100926a0, class=0x10092628, name=0x0,
parent=0x0, nparam=1) at gbx_object.c:288
#38 0x1000cbe4 in CLASS_auto_create (class=0x10092628, nparam=1) at
gbx_class.c:786
#39