Reputation: 175
I am using Rebol3 (Version: 2.101.0.4.20) on my RaspberryPi and each time I try to save an image to the filesystem it crashes with a Seg Fault:
save %test.png make image! [1024x768]
Can someone explain why? Any hints to solve this?
Upvotes: 4
Views: 201
Reputation: 454
FWIW, I just tried this on Atronix's recent build running on Ubuntu 16.04 on an ODROID-C1+ ARM/Linux board:
** Version: 3.0.99.4.20 ** ** Platform: Linux libc6-arm ** ** Build: 20-Jul-2018/19:57:26 **
I was able to save PNG and BMP files using 'to-image on a gob! and also using 'make image! [1024x768]
Upvotes: 0
Reputation: 1102
Seems to be a Rebol 3 linux bug as this works fine under Windows. Reproduced on x86 linux and raspberry pi. As a possible work around you can generate bmp
files correctly.
save %test.bmp make image! [1024x768]
Upvotes: 3