Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crashes related to gdal ECW plugin #17079

Closed
qgib opened this issue Jul 11, 2013 · 10 comments
Closed

crashes related to gdal ECW plugin #17079

qgib opened this issue Jul 11, 2013 · 10 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Jul 11, 2013

Author Name: Alister Hood (@AlisterH)
Original Redmine Issue: 8276
Affected QGIS version: master
Redmine category:data_provider


When the gdal ECW plugin is installed, QGIS browser crashes on exit:

The instruction at "0x7c93729b" referenced memory at "0x0411810c". The memory could not be "read".

This is on Windows. I don't see anything in debugview.

EDIT - as described below, QGIS desktop also crashes when the ECW and/or JP2-ECW drivers are disabled.

@qgib
Copy link
Contributor Author

qgib commented Jul 12, 2013

Author Name: Giovanni Manghi (@gioman)


Are you referring to the browser standalone application or the browser tool in qgis desktop? I guess is the standalone application. If yes I can't replicate the issue, on both Windows and Linux. Does it happens doing something specific?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jul 12, 2013

Author Name: Alister Hood (@AlisterH)


Yes, the standalone browser.
No, not doing something specific - it happens when I just open it and then close it.
I know the similar issue with QGIS desktop didn't happen for everyone either :( I'll play around and see if I can track down any settings or anything which affect it.

@qgib
Copy link
Contributor Author

qgib commented Jul 12, 2013

Author Name: Alister Hood (@AlisterH)


BTW, this is on XP.

@qgib
Copy link
Contributor Author

qgib commented Jul 15, 2013

Author Name: Alister Hood (@AlisterH)


OK, the crash is somehow related to the gdal ecw plugin.
The browser (and QGIS as well) works fine with ECW files. But there is no crash on exit if I disable it by removing this:
C:\OSGeo4W\bin\gdalplugins\1.9\gdal_ECW_JP2ECW.dll

@qgib
Copy link
Contributor Author

qgib commented Jul 15, 2013

Author Name: Alister Hood (@AlisterH)


  • subject was changed from Browser crashes on exit to Browser crashes on exit when ECW plugin enabled

@qgib
Copy link
Contributor Author

qgib commented Jul 15, 2013

Author Name: Alister Hood (@AlisterH)


Oh, there's one other issue with the ECW plugin - if I do setting>Options>GDAL and disable the ECW driver and/or the JP2ECW driver, QGIS crashes then and/or at subsequent startup.

@qgib
Copy link
Contributor Author

qgib commented Jul 15, 2013

Author Name: Alister Hood (@AlisterH)


  • subject was changed from Browser crashes on exit when ECW plugin enabled to crashes related to gdal ECW plugin
  • category_id was changed from Browser to Data Provider

@qgib
Copy link
Contributor Author

qgib commented Jul 15, 2013

Author Name: Giovanni Manghi (@gioman)


Alister Hood wrote:

Oh, there's one other issue with the ECW plugin - if I do setting>Options>GDAL and disable the ECW driver and/or the JP2ECW driver, QGIS crashes then and/or at subsequent startup.

How did you added the ECW support?

There are no issues here if I add the ecw support in what I believe is the "right" way, see

http://www.faunalia.pt/node/438

@qgib
Copy link
Contributor Author

qgib commented Jul 16, 2013

Author Name: Alister Hood (@AlisterH)


Ah, yes, there is no problem with the ECW 3.x version.

I don't think you can say that it is "right" and using the ECW 4.x SDK is "wrong".

But it looks like I installed it when there was a "gdal-ecw" package in osgeo4w (for which you needed to obtain the ecw libs from Erdas separately). The gdal-ecw plugin is now "obsolete" (the last version was 1.9.1, whereas gdal is now 1.9.2), so the problem could be that there is an incompatibility there, rather than with the newer ECW libs - I guess we can't tell without building the 4.x SDK against gdal 1.9.2, but I don't know if that's worth doing as there might be a gdal 1.10 package coming out...

This illustrates a problem with the osgeo4w installer - it should at least tell you that you have obsolete packages installed which may cause problems unless you remove them.

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2013

Author Name: Giovanni Manghi (@gioman)


This illustrates a problem with the osgeo4w installer - it should at least tell you that you have obsolete packages installed which may cause problems unless you remove them.

Please file a ticket in the osgeo4w tracker. Cheers!


  • resolution was changed from to up-/downstream
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant