On 08 Jan 2016, at 19:35, Mariano Martinez Peck <marianopeck@gmail.com> wrote:On Fri, Jan 8, 2016 at 3:04 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:Hi guys,I wonder if someone could give me a hand to find out why a FFI calling I am doing is crashing. In OSX it works correct but I am testing in CentOS and it fails. I wonder if it also crashes in other Linuxes too.I am using latest Pharo 5.0 with Spur. To reproduce:1) Get latest Pharo 5.0 and Spur via:wget -O- get.pharo.org/alpha+vm | bash2) Inside Pharo, load my prototype tool:Gofer itpackage: 'OSSubprocess';load.3) This is the code I am executing and it's crashing:| posixSpawnFileActionsT | posixSpawnFileActionsT := ExternalAddress allocate: 4.If I change above line with this:posixSpawnFileActionsT := ByteArray new: 4.
--Then the function does not crash but it crashes in the future posix_spawn_file_actions_destroy().