Bug#281491: gambas: still segfaults on powerpc

2006-04-28 Thread Frank Gevaerts
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 

Bug#281491: gambas: still segfaults on powerpc

2006-04-21 Thread L. Redrejo
El mar, 11-04-2006 a las 21:46 +0200, Frank Gevaerts escribió:
 On Sun, Apr 09, 2006 at 06:01:07PM +0200, José L. Redrejo Rodríguez wrote:
  These bugs was due to endianess problems in gambas in some
  architectures. According to the upstream author, they have been solved
  in version 1.0.14.
  I don't have available any of these architectures to test it, so please,
  check the new 1.0.15 version available in Debian and confirm to me if
  the bug has been solved or not.
 
 It still segfaults. Let me know if I can provide further information.
 
 Frank
 
  Thanks
 

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?


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Bug#281491: gambas: still segfaults on powerpc

2006-04-11 Thread Frank Gevaerts
On Sun, Apr 09, 2006 at 06:01:07PM +0200, José L. Redrejo Rodríguez wrote:
 These bugs was due to endianess problems in gambas in some
 architectures. According to the upstream author, they have been solved
 in version 1.0.14.
 I don't have available any of these architectures to test it, so please,
 check the new 1.0.15 version available in Debian and confirm to me if
 the bug has been solved or not.

It still segfaults. Let me know if I can provide further information.

Frank

 Thanks



-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. - Brian W. Kernighan



Bug#281491: gambas: still segfaults on powerpc

2006-04-09 Thread L. Redrejo
These bugs was due to endianess problems in gambas in some
architectures. According to the upstream author, they have been solved
in version 1.0.14.
I don't have available any of these architectures to test it, so please,
check the new 1.0.15 version available in Debian and confirm to me if
the bug has been solved or not.
Thanks


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Bug#281491: gambas: still segfaults on powerpc

2005-12-17 Thread Frank Gevaerts
Package: gambas
Version: 1.0.13-1
Followup-For: Bug #281491

gambas still doesn't work on powerpc. I'll attach the strace output.

Frank

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-powerpc
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gambas depends on:
ii  alien 8.60   install non-native packages with d
ii  fakeroot  1.5.6  Gives a fake root environment
ii  gambas-doc1.0.13-1   Free VB-like language
ii  gambas-gb-compress1.0.13-1   The Gambas compression component
ii  gambas-gb-db  1.0.13-1   The Gambas database component
ii  gambas-gb-debug   1.0.13-1   The debugger helper component for 
ii  gambas-gb-eval1.0.13-1   The Gambas expression evaluator co
ii  gambas-gb-net 1.0.13-1   The Gambas networking component
ii  gambas-gb-net-curl1.0.13-1   The Gambas advanced networking com
ii  gambas-gb-qt  1.0.13-1   The Gambas Qt GUI component
ii  gambas-gb-qt-editor   1.0.13-1   The Gambas source code editor comp
ii  gambas-gb-qt-ext  1.0.13-1   The Gambas extended Qt GUI compone
ii  gambas-gb-sdl 1.0.13-1   The Gambas SDL component
ii  gambas-gb-vb  1.0.13-1   The Gambas Visual Basic (tm) compa
ii  gambas-gb-xml 1.0.13-1   The Gambas Visual Basic (tm) compa
ii  libc6 2.3.5-8GNU C Library: Shared libraries an

gambas recommends no packages.

-- no debconf information


gambas.trace.gz
Description: Binary data