On Thu, Jul 29, 2010 at 12:18 AM, Valmor de Almeida
<
address@hidden> wrote:
>
>
> Hello,
>
> The test code below for writing an image to a file crashes octave. Would
> anyone be able to help? I am using octave-3.2.4-r1 and
> graphicsmagick-1.3.12 under the gentoo linux distribution.
>
> Thanks,
>
> --
> Valmor
>
>
> file test.m
> ---------------------------
> #! /usr/bin/octave -qf
>
> im = ones(2,2);
> im(2,1) = 0.5;
> im(1,2) = 0.5;
>
> imwrite(im,"image.png");
> --------------------------
>
> -> ./test.m
> octave: magick/semaphore.c:525: LockSemaphoreInfo: Assertion
> `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
> panic: Aborted -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> Aborted
>