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

Gary Sherman sherman at mrcc.com
Mon May 14 00:42:57 EDT 2007


Great detective work guys. Thanks.
-gary

On May 13, 2007, at 7:20 PM, Tom Elwertowski wrote:

> William Kyngesburye wrote:
>> On May 13, 2007, at 2:07 AM, Gary Sherman wrote:
>>> I installed your (William's) GRASS 6.3-cvs package and now  
>>> everything seems to work.
>>> It did not work with the GRASS 6.2 package.
>>>
>> huh.  I wonder if just the version numbering is the key.  Just a  
>> thought, but if GDAL loads its grass 6.2 libs, then Qgis tries to  
>> load another set of 6.2 libs, the OSX linker may be trying to be  
>> smart and using one that's already loaded, but they're just  
>> different enough from what Qgis expects to cause problems.  But  
>> with Qgis+GRass 6.3, the linker sees 6.3 as different enough to  
>> load those libraries also.
>
> I found the problem. The path references in GRASS 6.2 libs have an  
> extra (non-existent) directory:
>
> /Applications/GRASS.app/Contents/Resources/grass-6.2.1/lib/ 
> libgrass_gis.dylib
>
> The libs in 6.3 don't:
>
> /Applications/GRASS.app/Contents/Resources/lib/libgrass_gis.dylib
>
>
> If I create the following link for GRASS 6.2:
>
> ln -s . /Applications/GRASS.app/Contents/Resources/grass-6.2.1
>
> QGIS can load shp files without crashing and without starting GRASS.
>
>
> QGIS is probably working ok inside GRASS 6.2 because GRASS has  
> already loaded the libraries and QGIS doesn't need to use the path  
> info to find them.
>
> Tom
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Micro Resources: http://mrcc.com
   *Geospatial Hosting
   *Web Site Hosting
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-






More information about the Qgis-developer mailing list