1 |
Hello, |
2 |
|
3 |
The test code below for writing an image to a file crashes octave. Would |
4 |
anyone be able to help? I am using octave-3.2.4-r1 and graphicsmagick-1.3.12 |
5 |
|
6 |
Thanks, |
7 |
|
8 |
-- |
9 |
Valmor |
10 |
|
11 |
|
12 |
file test.m |
13 |
--------------------------- |
14 |
#! /usr/bin/octave -qf |
15 |
|
16 |
im = ones(2,2); |
17 |
im(2,1) = 0.5; |
18 |
im(1,2) = 0.5; |
19 |
|
20 |
imwrite(im,"image.png"); |
21 |
-------------------------- |
22 |
|
23 |
-> ./test.m |
24 |
octave: magick/semaphore.c:525: LockSemaphoreInfo: Assertion |
25 |
`semaphore_info != (SemaphoreInfo *) ((void *)0)' failed. |
26 |
panic: Aborted -- stopping myself... |
27 |
attempting to save variables to `octave-core'... |
28 |
save to `octave-core' complete |
29 |
Aborted |