Tue 26 Oct 2010 01:49:45 PM UTC, original submission:
A crash occures if I try to write an image to the harddisk using imwrite:
----------------------------------------------------------------
$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
< rest of copyright disclaimer snipped...>
octave:1> imwrite(uint16(zeros(100,100,3)), "test.tiff")
assertion "semaphore_info != (SemaphoreInfo *) NULL" failed: file "/pub/cygports
/graphicksmagick/GraphicsMagick-1.3.12-1/src/GraphicsMagick-1.3.12/magick/semaph
ore.c", line 525, function: LockSemaphoreInfo
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Aborted (core dumped)
----------------------------------------------------------------
If there was an imread before everything is fine:
octave:1> imread("example.tiff");
octave:2> imwrite(uint16(zeros(100,100,3)), "test.tiff")
octave:3>
The same behavior occures in an freshly installed ubuntu linux - also octave 3.2.4.
The bug might be related to this topic:
https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-January/014891.html
|