[Gambas-user] Compiler segfaults on gb.eval.highlight?

Benoît Minisini gambas at ...1...
Fri Jun 19 10:20:27 CEST 2015


Le 19/06/2015 09:40, Tobias Boege a écrit :
> Hi,
>
> now this is strange. I am compiling the latest revision and the only
> component which can not be compiled is gb.eval.highlight. Yesterday,
> it went all fine. Looking closer, I see:
>
>    $ cd comp/
>    $ sudo make install
>    make[1]: Entering directory '/home/tab/src/gambas3/comp'
>    Installing the components...
>    Compiling gb.eval.highlight...
>    /bin/sh: line 1: 14369 Segmentation fault      (core dumped) /usr/bin/gbc3 -ag -r /usr
>
> and indeed
>
>    $ cd src/gb.eval.highlight/
>    $ gdb gbc3
>    (gdb) r -ag -r /usr
>    Program received signal SIGSEGV, Segmentation fault.
>    0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57
>    57              *str = sym->name;
>    (gdb) bt
>    #0  0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57
>    #1  0x00000000004250e2 in insert_class_info (class=0x649d98, fw=0x66aa30) at gbc_dump.c:639
>    #2  0x00000000004253de in CLASS_export () at gbc_dump.c:787
>    #3  0x00000000004316e9 in compile_file (file=0x649a48 "/home/tab/src/gambas3/comp/src/gb.eval.highlight/.src/TextHighlighter.class") at gbc.c:359
>    #4  0x0000000000431bb0 in main (argc=4, argv=0x7fffffffe908) at gbc.c:488
>
> My compiler is already the new one: 3.7.90 r7143. Any other information
> needed?
>
> Regards,
> Tobi
>

It should be fixed in revision #7144.

Regards,

-- 
Benoît Minisini




More information about the User mailing list