[Scilab-Dev] Issue with the Stack in Linux

Vincent Lejeune vincent.lejeune at institutoptique.fr
Mon Jun 1 20:02:29 CEST 2009


Sorry, in fact my installation was corrupted.
I don't know why, but the SciLab binaries on kubuntu repository (version 
5.1, not 5.1.1) seems not to accept the use of SCILAB_POINTER_TYPE. However, 
everything work fine with the binary from scilab.org.

--------------------------------------------------
From: "Vincent Lejeune" <vincent.lejeune at institutoptique.fr>
Sent: Saturday, May 30, 2009 11:53 PM
To: <dev at lists.scilab.org>
Subject: [Scilab-Dev] Issue with the Stack in Linux

> Hi,
>
> I'm trying to make my toolbox running on Kubuntu 9.04 (Jaunty 64bits),
> and I'm facing a issue with the management of
> SCILAB_POINTER_DATATYPE.
>
> It seems that the pointer is not recorded into the stack : when I'm
> tryng to get it back, I only get a NULL pointer, according to gdb and
> several sciprint in my code.
> I'm using CreateListVarFromPtr and GetListRhsVar to put and retrieve
> the pointer. It works on my Windows Vista 32 bits, however, so I
> suspected an issue with pointer size : I changed (unsigned long) cast
> to (intptr_t), but it didnt change anything.
>
> gMatrix is an alias to a pointer.
> I've attached my gatewayfunctions in sci_togpu.c, the header file
> cuLU.h (needed for compilation), and libcuLU.so, the library generated
> by my /src (with -g flags, so it holds debugging symbol) in order to
> make the problem reproduceable if necessary.
>
> I think that I'm just misusing the stk() function with 64bits code...
> 




More information about the dev mailing list