[Gambas-devel] gbx3 SIGSEGV

Benoit Minisini gambas at ...1...
Sun Jan 13 19:57:30 CET 2008


On dimanche 13 janvier 2008, scatman wrote:
> Am Sonntag, 13. Januar 2008 schrieb Benoit Minisini:
> > On dimanche 13 janvier 2008, scatman wrote:
> > > Am Sonntag, 13. Januar 2008 schrieb Benoit Minisini:
> > > > On dimanche 13 janvier 2008, scatman wrote:
> > > >
> > > >
> > > > Does it segfaults at the same place if you run another example?
> > >
> > > Yes, it segfaults allways with the same error.
> >
> > Can you recompile Gambas without optimizations, and send me the
> > backtrace? Maybe I will have more information on the error...
>
> OK, here the backtrace.
>
>
> 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 0x7fff2effd000
> Warning: The 64 bits version of Gambas is not stable yet.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000040671d in LIST_remove (p_first=0x657fb0, node=0x662cf0,
> list=0x662cfc)
>     at ../share/gb_list_temp.h:76
> 76          last = TO_LIST(*first)->prev;
>
>
>
> (gdb) bt
> #0  0x000000000040671d in LIST_remove (p_first=0x657fb0, node=0x662cf0,
> list=0x662cfc)
>     at ../share/gb_list_temp.h:76
> #1  0x00000000004391a7 in COMPONENT_delete (comp=0x662cf0) at
> gbx_component.c:215
> #2  0x000000000043912c in COMPONENT_create (name=0x662f7e "gb.gtk") at
> gbx_component.c:199
> #3  0x00000000004195db in project_library (name=0x662f7e "gb.gtk", len=6)
> at gbx_project.c:108
> #4  0x0000000000419740 in project_command (line=0x662f76 "Library=gb.gtk",
> len=14) at gbx_project.c:174
> #5  0x0000000000419891 in project_analyze (addr=0x662f30 "# Gambas Project
> File 2.0\nStartup=win1",
>     len=295) at gbx_project.c:223
> #6  0x0000000000419c1e in PROJECT_load () at gbx_project.c:357
> #7  0x000000000042b98e in init
> (file=0x7fff2efaaec8 "examples/examples/Basic/Blights/") at gbx.c:85
> #8  0x000000000042bf0c in main (argc=1, argv=0x7fff2efa9a68) at gbx.c:292
>
> thanks
>

Arf. This bug is not 64 bits related. It is raised when a library specified in 
the .project file cannot be loaded. In your case, gb.gtk. Did you compile 
gb.gtk?

-- 
Benoit Minisini




More information about the Devel mailing list