where is FFIErrorCallFrameTooBig being signaled?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

where is FFIErrorCallFrameTooBig being signaled?

Hans-Martin Mosner
 
Hello,
in my attempts to use OpenGL with the cog linux vm (4.0-2522, with or without mt) I get an error 'Call requires more
than 16k of stack space' on a number of pretty innocent calls. I found where the constant for this error is defined
(FFIErrorCallFrameTooBig) but I did not find where this error is being detected.
I currently do not have a working VMBuilder environment, so I've been using the Monticello snapshot browser to look at
the FFIPlugin sources in various VMMaker versions, but I could not find it anywhere.
Can anybody point me to the right spot?

Thanks,
Hans-Martin
Reply | Threaded
Open this post in threaded view
|

Re: where is FFIErrorCallFrameTooBig being signaled?

Hans-Martin Mosner
 
Am 21.01.2012 21:51, schrieb Hans-Martin Mosner:
>  
>
> Can anybody point me to the right spot?
>
Ok, found it. Just need to use the right tools (load the complete sources.st from the .mcz file into a workspace and
search...).
Now trying to find out why my calls could raise this error.

Cheers,
Hans-Martin
Reply | Threaded
Open this post in threaded view
|

Re: where is FFIErrorCallFrameTooBig being signaled?

Hans-Martin Mosner
 
Am 21.01.2012 22:01, schrieb Hans-Martin Mosner:

>  
> Am 21.01.2012 21:51, schrieb Hans-Martin Mosner:
>>  
>>
>> Can anybody point me to the right spot?
>>
> Ok, found it. Just need to use the right tools (load the complete sources.st from the .mcz file into a workspace and
> search...).
> Now trying to find out why my calls could raise this error.
>
> Cheers,
> Hans-Martin
>
>
Found it, fixed it, wrote a mantis bug report (http://bugs.squeak.org/view.php?id=7687).
It's actually an incompatibility between the threaded FFI and the OpenGL extension function loading mechanism.

Cheers,
Hans-Martin
Reply | Threaded
Open this post in threaded view
|

Re: where is FFIErrorCallFrameTooBig being signaled?

Eliot Miranda-2
 
Thanks HMM!!

On Sun, Jan 22, 2012 at 9:23 AM, Hans-Martin Mosner <[hidden email]> wrote:

Am 21.01.2012 22:01, schrieb Hans-Martin Mosner:
>
> Am 21.01.2012 21:51, schrieb Hans-Martin Mosner:
>>
>>
>> Can anybody point me to the right spot?
>>
> Ok, found it. Just need to use the right tools (load the complete sources.st from the .mcz file into a workspace and
> search...).
> Now trying to find out why my calls could raise this error.
>
> Cheers,
> Hans-Martin
>
>
Found it, fixed it, wrote a mantis bug report (http://bugs.squeak.org/view.php?id=7687).
It's actually an incompatibility between the threaded FFI and the OpenGL extension function loading mechanism.

Cheers,
Hans-Martin



--
best,
Eliot