Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3602 closed bug (fixed)

QGIS OSGEO4W crashes while creating a new GRASS mapset on both 1.6 and trunk

Reported by: lutra Owned by: jef
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: GRASS Version: 1.6.0
Keywords: Cc: pcav, neteler, rblazek, hellik
Must Fix for Release: Yes Platform: Windows
Platform Version: Awaiting user input: no

Description

This is really weird, and it doesn't happen on both Linux and QGIS standalone.

I'm also positive that until a few weeks ago this wasn't an issue also on OSGEO4W.

I have tested the following behavior on both XP and Seven, QGIS 1.6 and Trunk:

*) install QGIS OSGeo4W with the GRASS plugin

*) hit the button to create a new mapset

*) in the first step select the GRASS database

*) in the second step select "new location" and enter a name

*) in third step is asked for the coordinate system: select "projection". You have then 3 ways to select the projection. Browsing the list and selecting a projection doesn't seems to create problems. Searching a projection by name or by id CAN crash QGIS. If you search for (examples) "4326" or "20790" no problem, but try search for "3003" or "3763" or "ETRS" and QGIS will CRASH.

*) the same happens if you choose the projection from the list of the "recently used coordinate reference systems": if you choose (example) "WGS84" no problem on the other hand if among the list you have (example) "ETRS89/Portugal TM06" and you hit it, it causes instant CRASH.

Change History (5)

comment:1 by neteler, 13 years ago

Cc: hellik added

comment:2 by jef, 13 years ago

Resolution: fixed
Status: newclosed

probably due to GRASS linked with GDAL 1.7 and QGIS linked with 1.8 on OSGeo4W. r15465 now passes the CRS in WKT instead of passing a OGRSpatialReferenceH.

comment:3 by lutra, 13 years ago

Resolution: fixed
Status: closedreopened

now QGIS instant crashes when clicking "next" after having entered the name of the new location.

It happens under windows Seven but not under XP... damn.

Can the fix for the first reported problem be backported to qgis 1.6?

in reply to:  3 comment:4 by lutra, 13 years ago

Resolution: fixed
Status: reopenedclosed

Replying to lutra:

now QGIS instant crashes when clicking "next" after having entered the name of the new location.

I made a clean install, removing everything, cleaning the registry and installa again everything and now it works...

Can the fix for the first reported problem be backported to qgis 1.6?

It would really be nive to have the fix for the original problem be backported. Thanks.

comment:5 by neteler, 13 years ago

Please backport this to QGIS 1.6.

Note: See TracTickets for help on using tickets.