[Gambas-user] Illegal instruction when calling a C library

Benoît Minisini gambas at ...1...
Wed Nov 11 16:11:50 CET 2015


Le 11/11/2015 13:19, martin p cristia a écrit :
> After compiling and installing 3.8.3 (from 3.8.2):
>
> this call...
>
>     modLibMatrix8.setCG(cgx, cgy, cgz)
>
> declared as...
>
>     Public Extern setCG(x As Float, y As Float, z As Float)
>
> (no modifications in the C  .so library, or in the gambas code)
>
> void setCG(double x, double y, double z)
> {
> // saving CG location for future use
> cg.x = x;
> cg.y = y;
> cg.z = z;
> }
>
> gives
>
>     "Illegal instruction"
>

Can you provide a gdb backtrace of the crash?

Did you just upgrade Gambas?

-- 
Benoît Minisini




More information about the User mailing list