Opened 14 years ago

Closed 13 years ago

#25533 closed defect (duplicate)

octave @3.2.4: Assertion failed for imread

Reported by: gnw3 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: octave

Description

Test image:

$ convert /opt/local/share/ghostscript-8.71/examples/golfer.eps golfer.png

On Leopard and on Snow Leopard I get the same error. Here is Leopard output:

$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
[...]

Octave was configured for "i386-apple-darwin9.8.0".

[...]
octave:1> [IMG, MAP, ALPHA] = imread ('golfer.png');
Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file magick/semaphore.c, line 525.
panic: Abort trap -- stopping myself...
Abort trap

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: stechert@… removed
Owner: changed from macports-tickets@… to stechert@…

comment:2 Changed 14 years ago by gnw3

I found a discussion that seems relevant:

https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-January/014896.htm

http://velveeta.che.wisc.edu/cgi-bin/hgwebdir.cgi/octave/diff/ad0b54ae206a/src/DLD-FUNCTIONS/__magick_read__.cc

and also: http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg219611.html

It seems there have been many changes to magick_read.cc, so perhaps rather than attempting to patch the current version there should be an octave-dev version.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from stechert@… to macports-tickets@…
Summary: Assertion failed for imreadoctave @3.2.4: Assertion failed for imread

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.