help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: panic crash using imwrite: octave: magick/semaphore.c:525: [...] fa


From: Valmor de Almeida
Subject: Re: panic crash using imwrite: octave: magick/semaphore.c:525: [...] failed
Date: Thu, 29 Jul 2010 16:46:36 -0400

Does anyone have a fix for this? It appears the use of graphicsmagick is broken for imwrite.

Thanks,

--
Valmor

On Thu, Jul 29, 2010 at 12:35 AM, Dmitri A. Sergatskov <address@hidden> wrote:
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
>

I can reproduce this with a recent development snapshot


hg tip
changeset:   10823:3d89d262f5d4
tag:         tip
user:        Jaroslav Hajek <address@hidden>
date:        Tue Jul 27 12:31:58 2010 +0200
summary:     slight simplification in rsf2csf code


Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]