Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6513 closed defect (fixed)

jp2openjpeg test 8 triggers jpeg assertion and exits testsuite

Reported by: landry Owned by: warmerdam
Priority: normal Milestone: 2.1.1
Component: Autotest Version: 2.1.0
Severity: normal Keywords:
Cc:

Description

running gdalautotest with 2.1.0 on OpenBSD, using openjpeg 2.1.0, jpeg (turbo) 1.4.2 and jasper 1.900.1 - it fails on test 8 for jpeg2000 driver.

  TEST: jpeg2000_8 ... Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2MRSID to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2KAK to unload from GDAL_SKIP environment variable.
assertion "dec->numcomps == 3" failed: file "jpc_dec.c", line 1072, function "jpc_dec_tiledecode"
Abort trap (core dumped) 

As explained in the comment in https://trac.osgeo.org/gdal/browser/trunk/autotest/gdrivers/jpeg2000.py#L178, i'd expect the test to fail - but not for it to kill the whole testsuite.

Change History (5)

comment:1 by landry, 7 years ago

test 11 also triggers the same exception

comment:2 by landry, 7 years ago

After digging into it, i'm going to apply the debian jasper patch to fix the assert in jasper and retest the whole thing, but this failure shouldnt abort the testsuite..

comment:3 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 34238:

Fix crashes on jpeg2000_8 and jpeg2000_11 tests on un-patched Jasper 1.900.1 (closes #6513)

comment:4 by Even Rouault, 7 years ago

In 34239:

Fix crashes on jpeg2000_8 and jpeg2000_11 tests on un-patched Jasper 1.900.1 (closes #6513)

comment:5 by Even Rouault, 7 years ago

Component: GDAL_RasterAutotest
Milestone: 2.1.1
Note: See TracTickets for help on using tickets.