Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#5214 closed defect (fixed)

Crash in GDALDeregister_ECW() with ECW SDK 5 called from GDALDestroy()

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.10.1
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

This happens for example with "python swig/python/samples/gdalinfo.py byte.ecw"

Program received signal SIGSEGV, Segmentation fault.
0x00007fffede38af0 in typeinfo for NCS::CPrefs::CKey () from /home/even/gdal/svn/trunk/gdal/ecwjp2_sdk/lib/x64/release/libNCSEcw.so
(gdb) bt
#0  0x00007fffede38af0 in typeinfo for NCS::CPrefs::CKey () from /home/even/gdal/svn/trunk/gdal/ecwjp2_sdk/lib/x64/release/libNCSEcw.so
#1  0x00007fffed74781b in NCSShutdown () from /home/even/gdal/svn/trunk/gdal/ecwjp2_sdk/lib/x64/release/libNCSEcw.so
#2  0x00007ffff543a5ba in GDALDeregister_ECW () at ecwdataset.cpp:3180
#3  0x00007ffff58afaef in ~GDALDriver (this=0x9a4920, __in_chrg=<value optimized out>) at gdaldriver.cpp:64
#4  0x00007ffff58aea16 in ~GDALDriverManager (this=0x97fd40, __in_chrg=<value optimized out>) at gdaldrivermanager.cpp:207
#5  0x00007ffff58af867 in GDALDestroyDriverManager () at gdaldrivermanager.cpp:824
#6  0x00007ffff58adf52 in GDALDestroy () at gdaldllmain.cpp:72
#7  0x00007ffff536853f in __do_global_dtors_aux () from /home/even/gdal/svn/trunk/gdal/libgdal.so
#8  0x0000000000000000 in ?? ()

Change History (4)

comment:1 Changed 4 years ago by Even Rouault

Milestone: 1.10.2
Resolution: fixed
Status: newclosed

Fixed in trunk (r26363) and branches/1.10 (r26364)

comment:2 Changed 4 years ago by Even Rouault

trunk (r26367) and branches/1.10 (r26368) "Export bInGDALGlobalDestructor to avoid failure when building ECW plugin on Windows (#5214)"

comment:3 Changed 4 years ago by Even Rouault

trunk (r26370) and branches/1.10 (r26371) "Finally fix ECW windows plugin building (#5214)"

comment:4 Changed 4 years ago by Even Rouault

Milestone: 1.10.21.10.1
Note: See TracTickets for help on using tickets.