[Gambas-devel] Bug in auto create class

fabien bodard abidoo.too at ...4...
Wed Feb 1 22:12:41 CET 2006


Hi Benoit,

This is a new bug in gambas :)

it raise in auto creating system in class

i join an example and the gbd result.

regards,
Fabien Bodard



fabien at ...422...:~/Documents/Projects/testcreate$ gbc2 -agt
OK
fabien at ...422...:~/Documents/Projects/testcreate$ gdb gbx2
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) set args -p
(gdb) run
Starting program: /usr/local/bin/gbx2 -p

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0805f6d5 in OBJECT_create (object=0x808fa40, class=0x808f9c8,
name=0x0,
    parent=0x0, nparam=0) at gbx_object.c:311
#2  0x0805225d in CLASS_auto_create (class=0x808f9c8, nparam=0)
    at gbx_class.c:899
#3  0x0804e2c6 in EXEC_auto_create (class=0x808f9c8) at gbx_exec.c:1487
#4  0x0804e320 in EXEC_spec (special=134805960, class=0x808f9c8,
object=0x0,
    nparam=134805960, drop=0 '\0') at gbx_exec.c:1203
#5  0x0804ef85 in EXEC_push_array () at gbx_exec_push.c:443
#6  0x0804f686 in EXEC_loop () at gbx_exec_loop.c:533
#7  0x0804dd33 in EXEC_function_real (keep_ret_value=0 '\0') at
gbx_exec.c:645
#8  0x0805ec2d in main (argc=1, argv=0xbfebd6d4) at gbx.c:294
(gdb) Quit

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcreate-0.0.1.tar.gz
Type: application/x-compressed-tar
Size: 526 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060201/6bc0057a/attachment.bin>


More information about the Devel mailing list