Open adrian-castravete opened 1 year ago
The issue still happens with pharo-launcher-linux-3.2-64. It was reported on the pharo discord.
I could reproduce it with:
export AAA=çōî
./pharo-launcher-ui
Looks like OSSubprocess package is copying environment variables. FFI translates some char* to ByteString and others to WideString. The reverse process (in the FFI memcpy method) is not handled for WideString instances.
Describe the bug Having Unicode characters in any of the environment variables makes the pharo launcher break while Clicking "Show" in the VMs and probably hangs while trying to launch an image.
To Reproduce Steps to reproduce the behavior:
Expected behavior The Image should open.
Screenshots Error Window:
Clicking debug I got a hint of the problem:
Version information:
Expected development cost I don't really have a good idea. I know about Smalltalk from a long time ago, but I'm at maximum a hobbyist. I have no idea exactly how to fix things. My skills extend to small debugging.
Additional context So as I mentioned and is showed in the screenshots the problem is having
in the environment. Launching the pharo-launcher with:
A similar error occurs because I also have:
Now relaunching with:
fixes everything, but it's not a normal/nice way of fixing it.
Anyway, for the error showed in the screenshots the debug log is: