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

Crashing QGIS when add new raster layer ecw #12264

Closed
qgib opened this issue Dec 6, 2009 · 18 comments
Closed

Crashing QGIS when add new raster layer ecw #12264

qgib opened this issue Dec 6, 2009 · 18 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 6, 2009

Author Name: spasm - (spasm -)
Original Redmine Issue: 2204

Redmine category:rasters
Assignee: nobody -


I deliberately crashed QGIS in Vista 64 as it was taking a very long time to calculate standard deviations for setting max and min display values on a very large ECW image. On restarting QGIS I am unable to load another ECW image, QGIS just crashes. I suspect that there is some wreckage in the form of temp files on my hard drive but I can't find and manually delete these files. Rebooting the computer does not help refresh QGIS.


@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2009

Author Name: Giovanni Manghi (@gioman)


There were already issues reported about windows 64bit and I believe that until a native version for this architecture will not be available it will be hard to have qgis working properly.

In any case I'll ask you to try reproduce the problem on a 32bit machine (or post a sample data) in order to verify if it is really a 64 bit/windows issue or not.

Thanks

@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2009

Author Name: spasm - (spasm -)


After a few crashes, Qgis was again able to open ECW images, so I may not be able to reproduce the bug on demand. The ECW code may be fine, it might be a question of Qgis cleaning up after a crash. I have lots of Windows crashes, so the crash could also be an external event.

@qgib
Copy link
Contributor Author

qgib commented Dec 8, 2009

Author Name: Giovanni Manghi (@gioman)


Replying to [comment:2 spasm]:

I have lots of Windows crashes, so the crash could also be an external event.

well then try to figure it, possibly testing a 32 bit/stable windows box, then if is the case, reopen the ticket.

thanks.


  • status_id was changed from Open to Closed
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented May 1, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


The problem exist on windows vista, not on windows xp.
On vista, open a new project an add ecw raster layer, qgis crash.
Open an existing project made on my desktop PC (winxp maschine), with my laptop (vista 32 bit), all is fine, the ecw spatial photos are shown and i can work normaly in the project.
But whe i try to add a new ecw raster spatial photo, qgis crash.

Pictures are attached.

What happens in win7, I deon@t know.


  • resolution was changed from invalid to
  • status_id was changed from Closed to Feedback

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Giovanni Manghi (@gioman)


Hi,

I can add ecw rasters with no problems under Windows Seven 32bit and qgis trunk.

Does it happens in all Vista machines you have tested? Eventually can you test another Vista machine to try rule if it is a local problem?

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Hello,

i have tested it on another vista maschine with the same result.

I coudn@t test it with 1.5.0, because the osgeo4w installation don@t support ecw.

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Giovanni Manghi (@gioman)


I coudn@t test it with 1.5.0, because the osgeo4w installation don@t support ecw.

It does support ecw. You just need to install the gdal16-ecw library and copy the necessary dll into the system32 folder.

So... please test osgeo4w/qgis-dev to see if is a bug related only to 1.4 and/or just to the standalone installer.

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Hi,

thank you for the information. On my xp maschine, qgis trunk can now open ecw.

I have tried it on the vista machine, but qgis crash also with 1.5.0 r13412m, open an ecw raster.

Files are attached.

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Giovanni Manghi (@gioman)


Hi,

can you post/link a sample of the ecw rasters are causing qgis to crash?

@qgib
Copy link
Contributor Author

qgib commented May 7, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Hi,

the file has 10 MB. It is only for testing and not for public use.
Please send your Mailadress to gerhard@spieles.de.

Thank you

Gerhard

@qgib
Copy link
Contributor Author

qgib commented May 7, 2010

Author Name: Giovanni Manghi (@gioman)


Test made with the problematic raster under Windows Seven with qgis trunk and 1.4 (osgeo4w). No crashes.

@qgib
Copy link
Contributor Author

qgib commented May 9, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Use win7 or winxp


  • status_id was changed from Feedback to Closed
  • resolution was changed from to wontfix

@qgib
Copy link
Contributor Author

qgib commented Aug 22, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Hello,

add raster ecw in QGIS 1.5.0 and use win7, 32bit, QGIS crash.
On Win XP there is no problem.
The problem seems to result from the ntdll.dll in windows.
This dll translates between windows and the application.
Screenshot from the eventlog is attached


  • status_id was changed from Closed to Feedback
  • resolution was changed from wontfix to

@qgib
Copy link
Contributor Author

qgib commented Aug 22, 2010

Author Name: luca76 - (luca76 -)


confirming: works only in XP. On windows 7 machines it crashes.

@qgib
Copy link
Contributor Author

qgib commented Oct 22, 2010

Author Name: Paolo Cavallini (@pcav)


Could you please test it again with new gdal ecw driver?

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2010

Author Name: Gerhard Spieles (Gerhard Spieles)


Can you send me the new ecw-dlls to gerhard@spieles.de?

Thanks

Gerhard

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2010

Author Name: Giovanni Manghi (@gioman)


the dlls are not redistributable: go to the erdas site, sign up, download the new sdk, accept the licence, install in your pc and then pick the dlls you'll find where the sdk was installed.

@qgib
Copy link
Contributor Author

qgib commented Oct 26, 2010

Author Name: luca76 - (luca76 -)


now it works with latest DLLS of ECW 4.1.

I've put them into:

%OSGEO4W_ROOT%\bin


  • status_id was changed from Feedback to Closed
  • resolution was changed from to fixed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 1.6.0 milestone 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! Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant