[Gdal-dev] MrSID Segmentation Fault
Andrey Kiselev
dron at ak4719.spb.edu
Thu Sep 9 14:52:22 EDT 2004
On Thu, Sep 09, 2004 at 01:58:04PM -0500, Simpson wrote:
> Did you find the issue?
Yes, it should be fixed now (check out the latest CVS).
> If not, below is another run of gdalinfo compiled with CFG=debug.
>
> I am not adept with gdb, so let me know how/what other data would be
> helpful.
It is completely eniugh for me to get the gdb protocols like the last
one.
Andrey
> (gdb) run n_16_30_2000c.zu.sid
> Starting program: /usr/local/bin/gdalinfo n_16_30_2000c.zu.sid
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x402f39ca in LizardTech::LTISample::getValueFloat32() const ()
> from /usr/local/lib/libgdal.so.1
> (gdb) bt
> #0 0x402f39ca in LizardTech::LTISample::getValueFloat32() const ()
> from /usr/local/lib/libgdal.so.1
> #1 0x4017252f in MrSIDRasterBand (this=0x805b030, poDS=0x805af20, nBand=3)
> at mrsiddataset.cpp:1344
> #2 0x40173d56 in MrSIDDataset::OpenZoomLevel(int) (this=0x805af20, iZoom=1)
> at mrsiddataset.cpp:1833
> #3 0x401743af in MrSIDDataset::Open(GDALOpenInfo*) (poOpenInfo=0xbfff4230)
> at mrsiddataset.cpp:1933
> #4 0x401b5794 in GDALOpen (pszFilename=0x804ee50 "n_16_30_2000c.zu.sid",
> eAccess=GA_ReadOnly) at gdalopen.cpp:228
> #5 0x080498b6 in main (argc=2, argv=0x804ecd0) at gdalinfo.c:211
> #6 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
>
> -----Original Message-----
> From: gdal-dev-bounces at xserve.flids.com
> [mailto:gdal-dev-bounces at xserve.flids.com]On Behalf Of Andrey Kiselev
> Sent: Thursday, September 09, 2004 1:08 PM
> To: gdal-dev at xserve.flids.com
> Subject: Re: [Gdal-dev] MrSID Segmentation Fault
>
>
> On Thu, Sep 09, 2004 at 12:27:27PM -0500, Simpson wrote:
> > Here is gdb output from running gdalinfo against one of the problem
> > MrSID files:
>
> Your gdab output does not contain debug info. To build GDAL with
> debugging information you should whether use the command
>
> $ CFG=debug make
>
> or just export 'CFG=debug' environment variable in the shell profile.
>
> > (gdb) run n_16_30_2000c.zu.sid
> > Starting program: /usr/local/bin/gdalinfo n_16_30_2000c.zu.sid
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x40266eda in LizardTech::LTISample::getValueFloat32() const ()
> > from /usr/local/lib/libgdal.so.1
> > (gdb) bt
> > #0 0x40266eda in LizardTech::LTISample::getValueFloat32() const ()
> > from /usr/local/lib/libgdal.so.1
> > #1 0x4014ff6f in MrSIDRasterBand::MrSIDRasterBand(MrSIDDataset*, int) ()
> > from /usr/local/lib/libgdal.so.1
> > #2 0x40150f51 in MrSIDDataset::OpenZoomLevel(int) ()
> > from /usr/local/lib/libgdal.so.1
> > #3 0x4015132b in MrSIDDataset::Open(GDALOpenInfo*) ()
> > from /usr/local/lib/libgdal.so.1
> > #4 0x40182abd in GDALOpen () from /usr/local/lib/libgdal.so.1
> > #5 0x08049833 in main ()
> > #6 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
>
> Ok, it seems that I have found and fixed the problem.
>
> Frank, could you post the new anonymous CVS access instructions for
> GDAL?
>
> Andrey
>
> --
> Andrey V. Kiselev
> Home phone: +7 812 5274898 ICQ# 26871517
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev
>
>
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list