[Geoserver-users] JPEG2000 crashed GeoServer

Hi,

It looks like that certain JPEG2000 file is crashing GDAL. What version of GDAL do you have and which JPEG2000 drivers your version supports? If you can't read image info with GDAL, could it be possible for you to install Kakadu demo programs from http://www.kakadusoftware.com/index.php?option=com_content&task=view&id=26&Itemid=22 and study the image with kdu_show viewer? Through menu item File-Properties you will get useful information.

-Jukka Rahkonen-

GeoGEOrge wrote:

It seems you have identified the area I have not set up correctly.
I unpacked the gdal native to a new directory and ran gdalinfo on one of my
jp2 files:

./gdalinfo A.jp2
terminate called after throwing an instance of 'srd::length_error'
  what(): basic_string::S_create
Aborted (core dumped)

which is the same error geoserver spits out before it ceases to function.
I must be missing some basic step.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-
crashed-GeoServer-tp5059217p5060702.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thank you for your reply. I downloaded a sample .jp2 from here:
http://www.microimages.com/gallery/jp2/CB_TM432.jp2
to see if it was my image that was the problem, but i get the same error.
I have tried it with and without accompanying .xml .prj .j2w files without
success.
I put the .jp2 file in the same directory as the native libraries and ran
gdalinfo from there without success.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-crashed-GeoServer-tp5059217p5060845.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

gdal 1.9.2
gdal192-Ubuntu12-gcc4.6.3-i386.tar.gz
JP2MrSID (rov): MrSID JPEG2000

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-crashed-GeoServer-tp5059217p5060848.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao,
can check the gcc version for us? This looks like a low level error...

Do you also have GDAL somewhere else in the path?

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Tue, Jun 18, 2013 at 1:50 PM, GeoGEOrge <awmlamp@anonymised.com> wrote:

gdal 1.9.2
gdal192-Ubuntu12-gcc4.6.3-i386.tar.gz
JP2MrSID (rov): MrSID JPEG2000

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-crashed-GeoServer-tp5059217p5060848.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users