[2792710.945145] iipsrv.fcgi[4934]: segfault at 565a36a6a938 ip
00007ffa3b6dbed3 sp 00007ffefd18be40 error 4 in
libopenjp2.so.2.3.0[7ffa3b6a0000+41000]
(iipsrv 1.1 with OpenJpeg 2.3.1).
CVT :: Requested scaled region size is 34x84. Nearest existing resolution is 0 which has region with size 63x156
TileManager getRegion :: requesting region directly from image
Segmentation Error
The error occurs only with some images.
Apparently, , the error seems to be thrown on all requests for image regions below a given size (i.e. below a height of 156 for "CNMD0000250037_0007_Carta_IIv.jp2", which corresponds to the height of the lowest resolution level listed in the "sizes" of info.json; but requests on smaller sizes, both in width and height, shoud work anyway...).
The issue is still there with OpenJpeg 2.4.0
What is really weird is that the error does not seem to happen at all with the other image (CNMD0000249961_0352_Carta_bianca_172r), everything is fine with this one. I have compared the two images with Jpylyzer and kdu_show, and both are valid and have exactly the same jp2 properties.
The error does not occur with openjpeg version prior to 2.3.1 and with kakadu library 7.10.6
When iipimage server tries to access a scaled region below a given size libopenjp2 returns a segmentation fault.
This is the failing requests: http://[hostname]/[path]/CNMD0000250037_0007_Carta_IIv.jp2/full/,120/0/default.jpg
[2792710.945145] iipsrv.fcgi[4934]: segfault at 565a36a6a938 ip 00007ffa3b6dbed3 sp 00007ffefd18be40 error 4 in libopenjp2.so.2.3.0[7ffa3b6a0000+41000]
(iipsrv 1.1 with OpenJpeg 2.3.1).
CVT :: Requested scaled region size is 34x84. Nearest existing resolution is 0 which has region with size 63x156 TileManager getRegion :: requesting region directly from image Segmentation Error
The error occurs only with some images.
Apparently, , the error seems to be thrown on all requests for image regions below a given size (i.e. below a height of 156 for "CNMD0000250037_0007_Carta_IIv.jp2", which corresponds to the height of the lowest resolution level listed in the "sizes" of info.json; but requests on smaller sizes, both in width and height, shoud work anyway...).
The issue is still there with OpenJpeg 2.4.0
What is really weird is that the error does not seem to happen at all with the other image (CNMD0000249961_0352_Carta_bianca_172r), everything is fine with this one. I have compared the two images with Jpylyzer and kdu_show, and both are valid and have exactly the same jp2 properties.
The error does not occur with openjpeg version prior to 2.3.1 and with kakadu library 7.10.6
To reproduce the error here there are the links to the two images http://www.dante.unina.it/images/ms/CNMD0000250037/CNMD0000250037_0007_Carta_IIv.jp2 http://www.dante.unina.it/images/ms/CNMD0000249961/CNMD0000249961_0352_Carta_bianca_172r.jp2