Opened 14 years ago
Closed 14 years ago
#2204 closed bug (fixed)
Crashing QGIS when add new raster layer ecw
Reported by: | spasm | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.6.0 |
Component: | Rasters | Version: | 1.5.0 |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | Windows |
Platform Version: | win7 | Awaiting user input: | no |
Description
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.
Attachments (5)
Change History (24)
comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
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.
comment:3 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Replying to 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.
comment:4 by , 14 years ago
Component: | Build/Install → Rasters |
---|---|
Keywords: | vista added; image stretching removed |
Must Fix for Release: | No → Yes |
Platform Version: | → Vista 32 bit sp2 |
Resolution: | invalid |
Status: | closed → reopened |
Summary: | Crashing QGIS when calculating standard deviations for an ECW is fatal → Crashing QGIS when add new raster layer ecw |
Version: | 1.3.0 → 1.4.0 |
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.
by , 14 years ago
Attachment: | ecw_vista32_qgis_openedproject_withecw_from_winxp.jpg added |
---|
by , 14 years ago
Attachment: | ecw_vista32_qgiscrash_addrasterlayer_ecw.jpg added |
---|
comment:5 by , 14 years ago
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?
follow-up: 7 comment:6 by , 14 years ago
Hello,
i have tested it on another vista maschine with the same result.
I coudnt test it with 1.5.0, because the osgeo4w installation don
t support ecw.
comment:7 by , 14 years ago
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.
comment:8 by , 14 years ago
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.
by , 14 years ago
Attachment: | ecw vista qgis1.5.0_load ecw.jpg added |
---|
by , 14 years ago
Attachment: | ecw vista qgis1.5.0 crash.jpg added |
---|
comment:9 by , 14 years ago
Hi,
can you post/link a sample of the ecw rasters are causing qgis to crash?
comment:10 by , 14 years ago
Hi,
the file has 10 MB. It is only for testing and not for public use. Please send your Mailadress to gerhard@….
Thank you
Gerhard
comment:11 by , 14 years ago
Test made with the problematic raster under Windows Seven with qgis trunk and 1.4 (osgeo4w). No crashes.
comment:13 by , 14 years ago
Keywords: | ECW vista removed |
---|---|
Milestone: | Version 1.4.0 |
Platform Version: | Vista 32 bit sp2 → win7 |
Resolution: | wontfix |
Status: | closed → reopened |
Version: | 1.4.0 → 1.5.0 |
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
by , 14 years ago
Attachment: | qgis crash win7 32bit ecw.png added |
---|
comment:15 by , 14 years ago
Milestone: | → Version 1.6.0 |
---|
comment:18 by , 14 years ago
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.
comment:19 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
now it works with latest DLLS of ECW 4.1.
I've put them into:
%OSGEO4W_ROOT%\bin
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