Opened 15 years ago
Closed 14 years ago
#1800 closed bug (wontfix)
Missing GRASS crashes application
Reported by: | peterk | Owned by: | peterk |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Build/Install | Version: | 1.0.0 |
Keywords: | plug in manager | Cc: | simonb, jctull, kyngchaos |
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | 10.4.11 | Awaiting user input: | no |
Description
Using QGIS v. 1.02 Kore for Mac OS X Tiger v.10.4.11. Plug in manager crashes the application when any of the items are checked. Reinstalled the application, same issue. Please advise. Thank-you.
Attachments (1)
Change History (27)
comment:1 by , 15 years ago
Component: | Build/Install → Python plugins and bindings |
---|
comment:2 by , 15 years ago
In response:
Quantum GIS, Kore v.1.02-3 for Mac OSX Tiger from http://www.kyngchaos.com/software:qgis Just the basic QGIS application with the recommended frameworks as indicated above. No additional python downloads, etc. Pull down "Plug in Manager" crashes the basic application when any of the possible items are selected (ie, north arrow, GPS, etc).
Please advise. Thank you.
comment:3 by , 15 years ago
Cc: | added |
---|
I'll add to ticket 3 OSX users, so they can help us find the problem.
comment:4 by , 15 years ago
No additional python downloads, etc.
Well, all plugins require Python. And on OSX 10.4, an extra Python installation is required, Qgis does not use the system Python (too old). Qgis on Leopard does use the system Python.
I guess I don't say outright on the download page that Python is required, just that Python is required for Python support. I think I am a little confused about how "optional" it is, and got it wrong - if Qgis is built with Python support, then Python is required, it's the compilation stage where it's optional to configure for Python support.
So, install Python.
comment:5 by , 15 years ago
PS. similar for GRASS support: my Qgis is built with GRASS support, though this is an actual plugin, so you should be able to skip installing GRASS (and not have GRASS support).
comment:6 by , 15 years ago
I downloaded Python 2.5 as you suggested. Same problem with Tiger in both Kore and Pan versions. Any "plug in manager" selections crash the application.
comment:7 by , 15 years ago
Log time. Run the Console.log application. Look for ~/Library/Logs/CrashReporter/Qgis.(crashlog I think).
Since this is Tiger, all crashes will be in one log file, the most recent crash will be at the end. Something here might help me figure out what's up.
comment:9 by , 15 years ago
I need the whole log for that crash. (make sure to enclose it with the triple-braces to format it better (see the WikiFormatting))
comment:10 by , 15 years ago
Jul 21 16:13:51 peter-krinskys-computer crashdump[827]: qgis crashed Jul 21 16:13:51 peter-krinskys-computer crashdump[827]: crash report written to: /Users/pkrinsky/Library/Logs/CrashReporter/qgis.crash.log Warning: Object::connect: No such slot QgsComposer::undo() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::cut() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::copy() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::paste() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::undo() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::cut() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::copy() Warning: Object::connect: (receiver name: 'QgsComposerBase') Warning: Object::connect: No such slot QgsComposer::paste() Warning: Object::connect: (receiver name: 'QgsComposerBase') Jul 21 16:23:20 peter-krinskys-computer crashdump[838]: qgis crashed Jul 21 16:23:20 peter-krinskys-computer crashdump[838]: crash report written to: /Users/pkrinsky/Library/Logs/CrashReporter/qgis.crash.log
comment:11 by , 15 years ago
crash report written to: /Users/pkrinsky/Library/Logs/CrashReporter/qgis.crash.log
This is what I'm looking for, which is where you found the EXC_BAD_INSTRUCTION snippet. I need the whole block in that crash log, from "Process: Qgis" down thru a long string of binary images lines.
And please wrap them in the triple-braces here when you add the comment. Or better, paste it into a new text file and attach it to this bug report.
by , 15 years ago
Attachment: | qgis.crash.log added |
---|
comment:12 by , 15 years ago
I am having the same problem on 10.4.11 (but not on 10.5.7). I also tried removing all frameworks and installing them again from kyngchaos.com about 30 minutes ago. I have tried both QGIS-1.0.2-3 and QGIS-1.1.1-3. I have tried both Python 2.5 and 2.6 from Python.org.
The crash happens if I select a new plug-in to enable and save.
If I don't change any of the selections and save, it doesn't crash.
I have been trying with the "Add Delimited Text Layer", "CopyrightLabel", and "Georeferencer" plug-ins - one at a time.
In 1.1.1-3, I am able to do the python plugin manager updates (although there is something funky going on there... seem to have to repeat updates twice with restart for them to take effect) but I still get the crash when trying save in manager after having selected a previously unselected plug-in.
I have attached a log file.
comment:13 by , 15 years ago
Awaiting user input: | unset |
---|
comment:14 by , 15 years ago
I had a chance to try it at work, where we use OSX 10.4. At first, OK. I have GRASS installed, so I renamed it so Qgis couldn't find it. Now it crashes at startup with exactly that EXC_BAD_INSTRUCTION error (though strangely the thread trace is empty, so I can't verify the georefplugin reference).
So, the GRASS plugin case may be more like the problem with a missing Python than I thought. Since GRASS support has an intermediate Qgis library like Python support does, the Qgis application itself fails before the GRASS plugin even has a chance. The "optional-ness" of GRASS support is tied to whether libqgis_grass was compiled and is present, not if GRASS is present or not.
follow-up: 19 comment:15 by , 15 years ago
Yep. Just tried installing GRASS.app 6.4 RC5-3 and its GDAL plug-in on my 10.4 systems and I can now add plugins without crashing. Thanks!
comment:16 by , 15 years ago
Am I interpreting correctly? - Install Grass 6.4 (separate application) and plug in manager of QGIS for TIger 10.4.11 will work? Appreciate the support. Thanks.
comment:17 by , 15 years ago
Yes Peter. It's not ideal but installing both packages that come in the GRASS 6.4 installer worked for me. I'm sure William will dig into it more when he gets a chance.
Thanks for doing such a great job maintaining all the OS X packages William!
comment:18 by , 15 years ago
I have seen this in the past, but I thought the problem was gone.
Not much I can do about it, it's completely mysterious to me.
comment:19 by , 15 years ago
Replying to ahayes:
Yep. Just tried installing GRASS.app 6.4 RC5-3 and its GDAL plug-in on my 10.4 systems and I can now add plugins without crashing. Thanks!
Hi!
this can be considered a workaround/fix?
comment:20 by , 15 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|---|
Summary: | Plug in manager crashes application → Missing GRASS crashes application |
A workaround, yes.
I think the main cause here is the missing GRASS, possibly missing Python has the same result. The crash appears to happen in different places, possibly depending on PPC vs Intel (my test where Qgis crashed on startup was on PPC, ahayes crash in the plugin manager was on Intel). OSX 10.5 (Leopard) seems to be fine - no crash when GRASS is missing, but no way to test missing Python since it's in the system.
It's possible it's a problem with Qt on Tiger, or just the way Tiger [mis-] handles not being able to load libraries.
I'd like to keep this open for now, in case someone has an idea what's going on and how to fix it.
comment:21 by , 15 years ago
Component: | Python plugins and bindings → Build/Install |
---|---|
Milestone: | Version 1.0.3 → Version 1.2.0 |
comment:23 by , 14 years ago
Well, the problem is with specific versions of OSX, the earlier ones don't handle the missing libraries as well. I'll have to try a build on 10.4 to see if anything has improved.
comment:25 by , 14 years ago
Haven't had a chance to test. OSX 10.4 is not much of a priority for me these days.
comment:26 by , 14 years ago
Milestone: | Version 1.5.0 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Well, since OSX 10.4 is now in the unsupported state by Apple, and above reason, let's just say that for my OSX 10.4 QGIS binary distribution, you must have GRASS installed. A source build is unaffected because it will have the same presence/absence of GRASS during compilation and after installation.
Please add some details: what package did you install? From which source? Thanks.