
openjpeg - issue #73
in mct_decode (c0=0x7ffff30c0010, c1=0x100000001, c2=0x3f00000000000013, n=2010720)
OpenJPEG v1.4 simply segfault on the following file:
http://gdcm.sourceforge.net/thingies/jp2c.j2k
Backtrace from v1.4
(gdb) bt
0 0x00007ffff585aa56 in mct_decode (c0=0x7ffff30c0010, c1=0x100000001, c2=0x3f00000000000013, n=2010720) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/mct.c:83
1 0x00007ffff586f555 in tcd_decode_tile (tcd=0xdf9b50, src=0xc35130 "\300\376@\300\004vE\300\017\300\n\003\371\003\200\177 @\005\347\004u\304\004\240\300\177 \220\037\310$\001\373\001",
len=1853967, tileno=0, cstr_info=0x0) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/tcd.c:1420
2 0x00007ffff5855f7b in j2k_read_eoc (j2k=0xc31a90) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/j2k.c:1504
3 0x00007ffff585660e in j2k_decode (j2k=0xc31a90, cio=0xc331a0, cstr_info=0x0) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/j2k.c:1815
4 0x00007ffff585c45c in opj_decode_with_info (dinfo=0xa63d60, cio=0xc331a0, cstr_info=0x0) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/openjpeg.c:159
5 0x00007ffff585c408 in opj_decode (dinfo=0xa63d60, cio=0xc331a0) at /home/mathieu/Perso/gdcm/Utilities/gdcmopenjpeg-v1/libopenjpeg/openjpeg.c:152
Comment #1
Posted on Aug 11, 2011 by Massive WombatMathieu
Could you please add this data to the opj-data repository and add a test with it.
Mickaƫl
Comment #2
Posted on Aug 22, 2011 by Helpful Giraffe$ svn ci -m"Adding dataset. Adding doc for this new dataset"
Sending nonregression/README.txt Adding (bin) nonregression/illegalcolortransform.j2k Transmitting file data .. Committed revision 878.
Comment #3
Posted on Aug 22, 2011 by Helpful Giraffe$ svn ci -m"Properly close bug #73, by providing a test for it."
Sending tests/conformance/CMakeLists.txt Sending tests/nonregression/CMakeLists.txt Transmitting file data .. Committed revision 879.
Comment #4
Posted on Aug 22, 2011 by Helpful GiraffeI believe we can now safely close this bug. Thanks.
Comment #5
Posted on Aug 22, 2011 by Happy RabbitMany thanks Mathieu.
The issue status has been set to "fixed".
Antonin
Comment #6
Posted on Mar 24, 2014 by Happy Rabbit(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Conformance