Opened 19 years ago
Last modified 18 years ago
#950 closed defect (wontfix)
ECWCreateECW() crashes in JPEG2000 code.
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | angus.lau@… |
Description
If the ECWCreateECW() entry point in is enabled and used things crash with a traceback like: (gdb) where #0 0x001f4368 in CNCSJPC::GetTile (this=0x560, iIndex=0, iPart=0) at ../C/NCSEcw/NCSJP2/NCSJPC.cpp:87 #1 0x001d7c03 in CNCSJP2FileView::WriteLineBIL (this=0x930cff8, eType=NCSCT_UINT8, nBands=1, ppOutputLine=0x9340628, pLineSteps=0x0) at ../C/NCSEcw/NCSJP2/NCSJP2FileView.cpp:1464 #2 0x00eb0e77 in ECWWriteDataset::FlushLine (this=0x930cf70) at ecwcreatecopy.cpp:1427 #3 0x00eb11a6 in ECWWriteRasterBand::IWriteBlock (this=0x930d420, nBlockX=0, nBlockY=1, pBuffer=0x9310658) at ecwcreatecopy.cpp:1506 #4 0x01021d95 in GDALRasterBlock::Write (this=0x93119f8) at gdalrasterblock.cpp:365 #5 0x0101ef25 in GDALRasterBand::FlushBlock (this=0x930d420, nXBlockOff=0, nYBlockOff=1) at gdalrasterband.cpp:1050 #6 0x0100db33 in GDALDataset::BlockBasedFlushCache (this=0x930cf70) at gdaldataset.cpp:332 #7 0x00eb0b76 in ECWWriteDataset::FlushCache (this=0x930cf70) at ecwcreatecopy.cpp:1334 #8 0x00eb0a59 in ~ECWWriteDataset (this=0x930cf70) at ecwcreatecopy.cpp:1313 #9 0x0100ed7c in GDALClose (hDS=0x930cf70) at gdaldataset.cpp:1824 #10 0x0804b121 in ProxyMain (argc=5, argv=0x930c6b0) at gdal_translate.cpp:703 #11 0x0804bd1c in main (argc=5, argv=0xfeeaf834) at gdal_translate.cpp:990
Note:
See TracTickets
for help on using tickets.