[Gambas-devel] gbx3 SIGSEGV

scatman scatman at ...571...
Sun Jan 13 13:07:09 CET 2008


Hello,

i have successfully compiled Gambas 64bit on Gentoo.
SVN Revision 954

gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)
glibc 2.7-r1

But if i try to execute a Program, Gambas Segfault.

main/gbx/gbx3 ./examples/examples/Basic/Blights/
Warning: The 64 bits version of Gambas is not stable yet.
Segmentation fault

main/gbx/gbx3 -d ./examples/examples/Basic/Blights/
gbx3: too many project files.

######## gdb ########
(gdb) r ./examples/examples/Basic/Blights/
Starting 
program: /home/test/64bits/main/gbx/gbx3 ./examples/examples/Basic/Blights/
warning: no loadable sections found in added symbol-file system-supplied DSO 
at 0x7fff023fd000
Warning: The 64 bits version of Gambas is not stable yet.

Program received signal SIGSEGV, Segmentation fault.
LIST_remove (p_first=0x63e3a0, node=0x648cf0, list=<value optimized out>)
    at ../share/gb_list_temp.h:78
78          if (node == last)


(gdb) bt
#0  LIST_remove (p_first=0x63e3a0, node=0x648cf0, list=<value optimized 
out>)
    at ../share/gb_list_temp.h:78
#1  0x0000000000422b89 in COMPONENT_delete (comp=0x648cf0) at 
gbx_component.c:215
#2  0x0000000000422db8 in COMPONENT_create (name=0x648f7e "gb.gtk") at 
gbx_component.c:199
#3  0x0000000000410371 in project_library (name=<value optimized out>, 
len=<value optimized out>)
    at gbx_project.c:108
#4  0x000000000041050d in PROJECT_load () at gbx_project.c:174
#5  0x000000000041b1bd in init 
(file=0x7fff0223aeab "./examples/examples/Basic/Blights/")
    at gbx.c:85
#6  0x000000000041b57a in main (argc=1, argv=0x7fff02238cd8) at gbx.c:292


(gdb) l
73        }
74        else
75        {
76          last = TO_LIST(*first)->prev;
77
78          if (node == last)
79            TO_LIST(*first)->prev = prev;
80
81          if (prev)
82            TO_LIST(prev)->next = next;

Thanks




More information about the Devel mailing list