Opened 16 years ago

Closed 15 years ago

#1180 closed bug (worksforme)

Crash on OS X when adding vector layers

Reported by: Shanker Owned by: telwertowski
Priority: critical: causes crash or data corruption Milestone: Version 1.0.3
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: OS X
Platform Version: 10.4.11 Awaiting user input: no

Description

Hi Guys,

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).

Change History (7)

comment:1 by jef, 16 years ago

see additional comments in #1188 and #1189

comment:3 by telwertowski, 16 years ago

Owner: changed from nobody to telwertowski

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.

comment:4 by pcav, 15 years ago

Still true? Please check it again with a recent QGIS (>= 1.0, better 1.0.1 or trunk). If it is invalid, please close it, otherwise send confirmation. Thanks.

comment:5 by shanker, 15 years ago

Problem persists in 1.0. Thanks

comment:6 by lutra, 15 years ago

Hi, is the problem still true? Can you please test a recent version of qgis (>= 1.1) on your platform? Thanks.

in reply to:  6 comment:7 by simonb, 15 years ago

Resolution: worksforme
Status: newclosed

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.

Note: See TracTickets for help on using tickets.