Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0007687 |
[Squeak] FFI |
minor |
always |
01-22-12 11:24 |
01-22-12 11:24 |
|
Reporter |
Hans-Martin |
View Status |
public |
|
Assigned To |
andreas |
Priority |
normal |
Resolution |
open |
|
Status |
assigned |
|
Product Version |
4.2 |
|
Summary |
0007687: Incompatibility between OpenGL extension management and threaded FFI |
Description |
The threaded FFI introduces an inst var "stackSize" in ExternalFunction. normally this variable gets assigned -1 in the threaded function invocation (ThreadedFFIPlugin>>#ffiLoadCalloutAddress:). However, if the handle of the external function is being set using a different mechanism (such as the OpenGL extension manager) the stackSize inst var is not being set but stays at its initial value 0, which causes an error FFIErrorCallFrameTooBig to be signaled.
Attached is a fix (sets stackSize to -1 when a new handle is assigned). |
Additional Information |
|
|
Attached Files |
ExternalFunction-setHandle.st [^] (302 bytes) 01-22-12 11:24 |
|