[Geoserver-devel] DDS Plugin and ImageMosaic

Hi,

I´m new to GeoServer development and want to say hello to all of you. I am actually trying to get the DDS Plugin working with the ImageMosaic data source. I use WorldWind to request the outcoming data as elevation data. This works good for single dt0-files and limited for more than one dt0-file in an ImageMosaic. When I drop a single GetMap-Request with my browser I receive a working image or bil-file of the dted-data in my data source.

Using WorldWind, which drops a large amount of requests asynchronously, I quickly run into a glibc-error, which causes the GeoServer-instance to stop. Here is a short extract of the error message:

*** glibc detected *** /usr/lib/jvm/jdk1.6.0_30/bin/java: corrupted double-linked list: 0x00007ff3e0488a10 ***

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7ff3f2a8da96]

/lib/x86_64-linux-gnu/libc.so.6(+0x78e68)[0x7ff3f2a8de68]

/lib/x86_64-linux-gnu/libc.so.6(+0x79dff)[0x7ff3f2a8edff]

/lib/x86_64-linux-gnu/libc.so.6(__libc_calloc+0xc2)[0x7ff3f2a92a92]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(CPLCalloc+0x35)[0x7ff3e5e40795]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(_ZN12GDALOpenInfoC1EPKc10GDALAccess+0xa7)[0x7ff3e5e32f67]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(GDALOpen+0x2d)[0x7ff3e5e2c26d]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdaljni.so(_Z4OpenPKc10GDALAccess+0x22)[0x7ff3e621aae9]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdaljni.so(Java_org_gdal_gdal_gdalJNI_Open+0x89)[0x7ff3e621abc5]

[0x7ff3ed740ca4]

This error only appears in association with the dds-plugin and ImageMosaic. Every other output-format works well for me.

I believe this error is caused by multithreading issues and / or not released resource, but I cannot locate a fix in the code since a couple of days. I have tested the code with JAI enabled and disabled, and Multithreading enabled and disabled. My tiles are located in the north-east quadrant.

I would be very happy if someone could point me into the right direction.

Thank you,

Tobias

I have to mention that I am using GeoServer Version 2.1.3 on Ubuntu 32/64 Bit. The error appears on both platforms.

With best regards,

Tobias

···

Von: Neumann, Tobias [mailto:tobias.neumann@anonymised.com]
Gesendet: Donnerstag, 16. Februar 2012 11:58
An: geoserver-devel@lists.sourceforge.net
Betreff: [Geoserver-devel] DDS Plugin and ImageMosaic

Hi,

I´m new to GeoServer development and want to say hello to all of you. I am actually trying to get the DDS Plugin working with the ImageMosaic data source. I use WorldWind to request the outcoming data as elevation data. This works good for single dt0-files and limited for more than one dt0-file in an ImageMosaic. When I drop a single GetMap-Request with my browser I receive a working image or bil-file of the dted-data in my data source.

Using WorldWind, which drops a large amount of requests asynchronously, I quickly run into a glibc-error, which causes the GeoServer-instance to stop. Here is a short extract of the error message:

*** glibc detected *** /usr/lib/jvm/jdk1.6.0_30/bin/java: corrupted double-linked list: 0x00007ff3e0488a10 ***

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7ff3f2a8da96]

/lib/x86_64-linux-gnu/libc.so.6(+0x78e68)[0x7ff3f2a8de68]

/lib/x86_64-linux-gnu/libc.so.6(+0x79dff)[0x7ff3f2a8edff]

/lib/x86_64-linux-gnu/libc.so.6(__libc_calloc+0xc2)[0x7ff3f2a92a92]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(CPLCalloc+0x35)[0x7ff3e5e40795]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(_ZN12GDALOpenInfoC1EPKc10GDALAccess+0xa7)[0x7ff3e5e32f67]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdal.so.1(GDALOpen+0x2d)[0x7ff3e5e2c26d]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdaljni.so(_Z4OpenPKc10GDALAccess+0x22)[0x7ff3e621aae9]

/home/neumann/lib/imageio-ext-gdal_1.0.8/libgdaljni.so(Java_org_gdal_gdal_gdalJNI_Open+0x89)[0x7ff3e621abc5]

[0x7ff3ed740ca4]

This error only appears in association with the dds-plugin and ImageMosaic. Every other output-format works well for me.

I believe this error is caused by multithreading issues and / or not released resource, but I cannot locate a fix in the code since a couple of days. I have tested the code with JAI enabled and disabled, and Multithreading enabled and disabled. My tiles are located in the north-east quadrant.

I would be very happy if someone could point me into the right direction.

Thank you,

Tobias