[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: panic crash using imwrite: octave: magick/semaphore.c:525: [...] fa
From: |
Dmitri A. Sergatskov |
Subject: |
Re: panic crash using imwrite: octave: magick/semaphore.c:525: [...] failed |
Date: |
Wed, 28 Jul 2010 23:35:18 -0500 |
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.
--