Bug report #1180
Crash on OS X when adding vector layers
|Affected QGIS version:||Regression?:||No|
|Operating System:||OS X||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||Copied to github as #:||11240|
There's apparently a bug with OS X that when using the file open or add vector or raster layer dialogs to navigate to a folder containing an alias to a shared volume (typically this might be the desktop containing an alias to one or more servers) qgis 0.11.0 will try and mount the volume or crash if it can't. This behavior was not in 0.10.0. Using OS X 10.4.11 ppc. If the aliases are mounted as volumes, qgis is fine, but obviously there will be many occasions where the volumes aren't required (or aren't available).
#3 Updated by Tom Elwertowski about 13 years ago
This looks like a Qt 4.4 problem. A bug has been submitted to Trolltech.
The bug is not present in Qt 4.3 (which was current when QGIS 0.10.0 was released). A workaround is to build the current QGIS using Qt 4.3.
Another workaround is to use a symlink instead of an alias for the volume. Qt 4.4 will correctly handle an unmounted symlink but you can't double-click it to mount it; it's necessary to use the Finder's Connect to Server command or some other method.
#7 Updated by simonb - about 12 years ago
- Resolution set to worksforme
- Status changed from Open to Closed
Testing with OS X 10.5.7 and Qgis 1.1.0-Pan (Unstable) installed from http://www.kyngchaos.com/files/software/unixport/Qgis-1.1.0-3-Leopard.dmg.
Layer -> Add Vector Layer -> Source Type = File -> Browse to folder containing aliases to three currently unmountable volumes -> Two attempts are made by Qgis to mount each of the three aliases, each resulting in OS X alert stating volume not available -> no crash experienced.