Inkscape built with GTK+/Quartz crashes in Mac OS X Lion

Bug #879472 reported by Roy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I've been observing this problem for a while now and thought I'd submit a bug at the source, in addition to the MacPorts ticket created here:

https://svn.macports.org/ticket/31012

To reproduce, use MacPorts on a Mac OS X Lion machine:
1. Use Lion if you aren't already.
2. Run "port install cairo +quartz +no_x11"
3. Run "port install pango +quartz +no_x11"
4. Run "port install gtk2 +quartz"
5. Run "port install poppler +quartz"
6. Run "port install inkscape"

The above steps will ensure that Inkscape's dependencies will get built with native Quartz. The bug should occur when you try saving anything. It also occurs sometimes when you try to open the preferences. For your reference, I've attached the crash log.

Thanks!
Roy

Revision history for this message
su_v (suv-lp) wrote :

> The bug should occur when you try saving anything.

Linking as duplicate to Bug #721448 “Inkscape aqua crashes on using "save as..."”. Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

See also the blueprint
<https://blueprints.launchpad.net/inkscape/+spec/inkscape-quartz>
on how to patch and build Inkscape (trunk) using the Quartz backend of GTK+ (WIP)

Note: the instructions have not been tested on Lion (as far as I know), and some of the mentioned patches might already have been committed to the development branch of Inkscape.

tags: added: crash gtk-osx osx saving
Revision history for this message
Roy Liu (royliu) wrote :

My bad. Have others confirmed the crash when opening Inkscape preferences? I've noticed that it crashes sometimes, too. I do however, think that it's a duplicate, since using keyboard shortcuts works around both problems.

Revision history for this message
su_v (suv-lp) wrote :

> Have others confirmed the crash when opening Inkscape preferences?

Currently, I only have patched builds of the development branch (see earlier mentioned blueprint) to test, and with these builds Inkscape 0.48+devel does not crash when opening the preferences dialog. IIRC various dialogs (also the 'About Inkscape') did triggered crashes if trying to use the unpatched sources (without removing the outdated ige-mac-menu.* files, and other small changes) with the Quartz backend of GTK+. Based on my experience I would not recommend to install the stable, unpatched version via MacPorts using the +quartz variant of the dependencies.

Could you attach the crash log or a backtrace of such a crash when opening the preferences dialog (unless it is the same as the one you already attached)?

Revision history for this message
Roy Liu (royliu) wrote :

I've reattached the crash log for Inkscape preferences.

Revision history for this message
Roy Liu (royliu) wrote :

Since the crash log for Inkscape preferences is almost identical to what has been reported, could we safely say that it's all the same class of problems? I am now interested in committing a fix; however, being new to Inkscape development and GTK, I need to clear up some basic items. Please correct me if I'm wrong:
1. The blueprint you are referring to with patches is at:
  https://blueprints.launchpad.net/inkscape/+spec/inkscape-quartz
2. The blueprint contains patches that use a heavy hammer. In other words, they completely remove ige-mac-integration.
3. The ige-mac-integration project is deprecated. That was moved to gtk-osx-application.
4. Some of the calls in Inkscape Mac menu code refers to Carbon. Since Carbon is deprecated in Snow Leopard and Lion, we'll need to make correct usage of gtk-osx-application.

Revision history for this message
su_v (suv-lp) wrote :

Please read all comments of bug #721448 - and specially comment #12:

Gellule (gellule-xg) wrote on 2011-03-20:

> From there, I think I would like to try to get integration back from ige-mac-integration. [1]
>
> There is GtkOSXApplication for x86_64, and ige-mac-integration for the others.
>
> [1] <https://github.com/jralls/ige-mac-integration>

The best thing IMHO would be for you to contact Gellule about the current state - maybe you can work together on improving the situation for Inkscape built with the Quartz backend?

The feature request
 Bug #738947 “Use ige-mac-bundler to package the GTK/Quartz version of Inkscape for OSX”
 <https://bugs.launchpad.net/inkscape/+bug/738947>
is also related to the blueprint
 <https://blueprints.launchpad.net/inkscape/+spec/inkscape-quartz>
and contains some additional notes besides
 Bug #738973 “Issues with inkscape-quartz blueprint”
 <https://bugs.launchpad.net/inkscape/+bug/738973>
about the recent efforts for a more stable GTK+/Quartz build/package.

Additionally, this was a related thread on the inkscape-devel mailing list at the time the blueprint was submitted:
 <http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/36136>

Revision history for this message
su_v (suv-lp) wrote :

Forgot about this thread:
 <http://old.nabble.com/Verbs%2BSPAction-versus-GtkAction-td31971513.html#a31971513>
(questions related to a possible reimplementation of OSX menu integration)

Revision history for this message
su_v (suv-lp) wrote :

> Since the crash log for Inkscape preferences is almost identical
> to what has been reported, could we safely say that it's all the
> same class of problems?

I tend to agree ;) (though I'm not a developer myself - mainly helping with bug triage, and building/testing current trunk on Mac OS X 10.5.8 (i386) with both GTK+ backends).

su_v (suv-lp)
tags: added: gtk-quartz
removed: gtk-osx
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.