[Gambas-Notification] [Git][gambas/gambas][master] Do JIT compilation after class loading. Otherwise the JIT compiler may want to...

Jussi Lahtinen jussi.lahtinen at gmail.com
Sun Oct 13 00:08:06 CEST 2019


Yay! Thanks! It seems this fixed also another problem I could not isolate
(gdb output below)!
Now I cannot find any more bugs from the JIT!

Program received signal SIGSEGV, Segmentation fault.
0x00005555555b71f4 in EXEC_push_unknown () at gbx_exec_push.c:529
529 BORROW(&SP[-1]);
(gdb) bt
#0  0x00005555555b71f4 in EXEC_push_unknown () at gbx_exec_push.c:529
#1  0x00007fffe54b3cb0 in jit_saamod_7_.constprop ()
    at /tmp/gambas.1000/3968/jit/gb.so
#2  0x00005555555744c8 in JIT_exec (ret_on_stack=ret_on_stack at entry=1
'\001')
    at gbx_jit.c:282
#3  0x00005555555afbd7 in EXEC_loop () at gbx_exec_loop.c:1148
#4  0x00005555555b441d in EXEC_function_loop () at gbx_exec.c:904
#5  0x00005555555b4892 in EXEC_function_real () at gbx_exec.c:891
#6  0x00005555555725cc in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:435


Jussi

On Sat, Oct 12, 2019 at 2:08 PM Benoît Minisini via Notification <
notification at lists.gambas-basic.org> wrote:

> Benoît Minisini pushed to branch master at Gambas / gambas
> <https://gitlab.com/gambas/gambas> Commits:
>
>    - *8c6f234c
>    <https://gitlab.com/gambas/gambas/commit/8c6f234cf431518d6b7bc041f6232a91a454b726>*
>    by gambas *at 2019-10-12T11:06:01Z*
>
>    Do JIT compilation after class loading. Otherwise the JIT compiler may want to load the class that triggers the compilation again.
>
>
>
>    [INTERPRETER]
>
>    * BUG: Do JIT compilation after class loading. Otherwise the JIT compiler may want to load the class that triggers the compilation again.
>
>
>
> 1 changed file:
>
>    - main/gbx/gbx_class_load.c
>    <https://gitlab.com/gambas/gambas/commit/8c6f234cf431518d6b7bc041f6232a91a454b726#0be5ce8a77f799fe40689c24b86b952233d42c50>
>
>> View it on GitLab
> <https://gitlab.com/gambas/gambas/commit/8c6f234cf431518d6b7bc041f6232a91a454b726>.
>
> You're receiving this email because of your account on gitlab.com. If
> you'd like to receive fewer emails, you can adjust your notification
> settings.
>
> ----[ Gambas notification-list is hosted by https://www.hostsharing.net
> ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/notification/attachments/20191013/630c1518/attachment.html>


More information about the Notification mailing list