Opened 14 years ago

Closed 10 years ago

#23846 closed defect (fixed)

octave 3.2.3 call of imread crashed octave

Reported by: hans-juergen.greif@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: singingwolfboy@…, pmcarlton@…, maxheinrich1988@…
Port: octave

Description (last modified by mf2k (Frank Schima))

Hello,

octave:4> A=imread("Gears3.tiff");
Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file magick/semaphore.c, line 525.
panic: Abort trap -- stopping myself...
Abort trap

tiffinfo Gears3.tiff
TIFF Directory at offset 0x1d296 (119446)
  Image Width: 380 Image Length: 380
  Resolution: 1, 1 (unitless)
  Bits/Sample: 8
  Sample Format: unsigned integer
  Compression Scheme: LZW
  Photometric Interpretation: RGB color
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Planar Configuration: single image plane
  Software: Pixie
  MatrixWorldToScreen: 1.995447,-1.011418,0.237759,0.237759,-0.451741,-1.418443,-0.903482,-0.903482,-1.072726,-1.517127,0.356638,0.356638,21.029737,21.029734,42.059479,42.059479
  MatrixWorldToCamera: 0.832050,0.501162,0.237759,0.000000,0.000000,0.428625,-0.903482,0.000000,-0.554700,0.751743,0.356638,0.000000,-0.000001,0.000003,42.059479,1.000000
  Predictor: horizontal differencing 2 (0x2)

Attachments (1)

Gears3.tiff (117.0 KB) - added by hans-juergen.greif@… 14 years ago.

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by hans-juergen.greif@…

Attachment: Gears3.tiff added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to stechert@…
Port: octave added

comment:2 Changed 14 years ago by singingwolfboy@…

Looks like this may be due to a bug in how Octave calls ImageMagick:

There have been changes in __magick_read__. There have also been trouble 
with recent GraphicsMagick releases (since 1.3.8 at least). They added 
an initialization that Octave isn't executing. I'm running 1.3.6 and I'm not seeing this.

http://permalink.gmane.org/gmane.comp.gnu.octave.maintainers/17935

comment:3 Changed 14 years ago by singingwolfboy@…

Cc: singingwolfboy@… added

Cc Me!

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

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

comment:5 Changed 13 years ago by pmcarlton@…

Cc Me!

comment:6 Changed 13 years ago by pmcarlton@…

Cc: pmcarlton@… added

Cc Me!

comment:7 Changed 12 years ago by rafaelzlisboa@…

Is there any workaround to this issue?

comment:8 Changed 12 years ago by manel.soria@…

Hi, Just downloaded & installed octave and this problem seems to be still there. Any idea ?

comment:9 Changed 11 years ago by maxheinrich1988@…

Cc: maxheinrich1988@… added

Cc Me!

comment:10 Changed 11 years ago by maxheinrich1988@…

I'm having the exact same problem with a freshly installed octave 3.2.4.

comment:11 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

If this is still really an issue ... please do:

sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

Note: See TracTickets for help on using tickets.