[Gambas-user] Problem with gb.map
vuott at tutanota.com
vuott at tutanota.com
Thu Oct 19 01:30:46 CEST 2023
Ok, now it works, however, the problem of zooming in remains.
Try it.
regards
18 ott 2023, 18:50 da benoit.minisini at gambas-basic.org:
> Le 17/10/2023 à 16:11, vuott--- via User a écrit :
>
>> Hello,
>> launching any project using the "gb.map" Component, I get this error report in the console:
>>
>> gb.jit: error: unable to compile JIT code of 'gb.map':
>>
>> In file included from /tmp/gambas.1000/10572/jit/gb.map.c:1:
>> /tmp/gambas.1000/10572/jit/gb.map.c: In function âjit_geo_2_â:
>> /tmp/gambas.1000/10572/jit/gb.map.c:57:430: error: stray â\363â in program
>> 57 | ({PUSH_f((floor((MATH_MUL_UNSAFE(double, (({double _a = (MATH_SUB_UNSAFE(double, 1, (({double _a = CALL_MATH(__builtin_log((MATH_ADD_UNSAFE(double, CALL_MATH(__builtin_tan(CALL_MATH(((GET_f(ADDR(p0) + 16)) * M_PI / 180)))), (({double _a = ((double)(1)); double _b = CALL_MATH(__builtin_cos(CALL_MATH(((GET_f(ADDR(p0) + 16)) * M_PI / 180)))); _a /= _b; if (!isfinite(_a)) THROW_PC(E_ZERO, 36); _a;})))))); double _b = CALL_MATH(
>>
>
> OK, I found the cause: The Pi() function bytecode changed, and I forgot to update the JIT compiler.
>
> It's fixed in the last commit, you have to wait for tomorrow to get an update Daily PPA.
>
> Then we will see if it really fixes the crash.
>
> Otherwise I don't understand why valgrind did not detect anything whereas an array was accessed out of its bounds.
>
> Regards,
>
> --
> Benoît Minisini.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231019/b24733e1/attachment.htm>
More information about the User
mailing list