[Qgis-developer] QGIS crash on Mac OS X -- 0.8 release branch

Tom Elwertowski telwertowski at comcast.net
Thu May 10 22:43:16 EDT 2007


Gary Sherman wrote:
> By default my OGR open dialog was set to UTF8. Trying other encodings 
> didn't make a difference.
> 
> Interestingly enough, Tim S. tried my binaries/libs on his box when this 
> problem first popped up and he experienced the crash as well. I'm not 
> certain how this relates to encoding. Is there a default somewhere for 
> the system that is set wrong?

The file opens for me using both the default System encoding and UTF8.

Once you choose some other encoding, you can't get System back again. I 
don't know if this has been a bug since QgsEncodingFileDialog was 
created or a Qt3 to 4 adjustment that was never made. I will update 
QgsEncodingFileDialog.

Meanwhile, you can delete the UI.encoding property in 
org.qgis.qgis.plist to get the default System encoding back. Using the 
System encoding might bypass the second call to 
QgsOgrProvider::loadFields() which causes your crash.

Tom




More information about the Qgis-developer mailing list