Gentoo Archives: gentoo-science

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-science@l.g.o, gentoo-user@l.g.o
Subject: [gentoo-science] panic:: octave: magick/semaphore.c:525: [...] failed
Date: Mon, 26 Jul 2010 16:02:26
Message-Id: 4C4DB4D7.7030105@gmail.com
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

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