Opened 12 years ago

Closed 12 years ago

#32413 closed defect (worksforme)

Inkscape crashes while loading or saving

Reported by: hosseini@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: su-v, smparkes@…
Port: inkscape

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Recently I installed inkscape using the option +quartz. Drawing and others works perfectly but when I am saving or loading the drawing inkscape crashes with the following message:

Inkscape encountered an internal error and will close now.

Thanks in advance for your help

Change History (10)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: inkscape added
Summary: Inkspace crashes while loading or savingInkscape crashes while loading or saving

comment:2 Changed 12 years ago by su-v

These kind of issues are known upstream and not fixed yet (that's why the Inkscape project does not yet provide precompiled application bundles based on Gtk+/Quartz).

Probably the Quartz variant ought to be be disabled in MacPorts for Inkscape for now (unless the current ige-mac-menu.* code is completely backed out), or the user at least be warned about the experimental state and the broken global menu bar: in its current state Inkscape (stable and devel) built with Gtk+/Quartz is too unstable for regular use IMHO and only useful for testing and for developers wanting to help with the migration of the old menu integration code in Inkscape's sources to gtk-osx-application (from gtk-mac-integration).

Related upstream reports:
Bug 721448 in Inkscape: “Inkscape aqua crashes on using "save as..."
Bug 538484 in Inkscape: “Mac Aqua: Submenus don't appear in global menu
Bug 487427 in Inkscape: “inkscape 0.47 aqua: menus do not display sub-menus
Bug 438603 in Inkscape: “(Gtk+/Quartz) Keyboard shortcuts are not mapped to command key

comment:3 Changed 12 years ago by su-v

Cc: suv-sf@… added

Cc Me!

comment:4 Changed 12 years ago by hosseini@…

It is exactly the case: Saving and Loading work if one does not use global menu bar (For example if one uses shortcuts like Ctrl+C for Saving and Ctrl + O for opening or uses the keys on the toolbar). Thanks for your help!

comment:5 Changed 12 years ago by royliu@…

If you use +quartz, random bad things will happen because of incorrect Mac OS X menu integration. I'm been working on a fix recently (Bug 721448), but progress has been slow because of my rather poor understanding of GTK.

comment:6 Changed 12 years ago by smparkes@…

Cc: smparkes@… added

Cc Me!

comment:7 Changed 12 years ago by su-v

AFAICT this report can be closed:

Inkscape 0.48.3.1 built with +quartz +no_x11 no longer crashes (outdated and broken menubar-integration code has been removed, Bug 721448).

comment:8 Changed 12 years ago by mf2k (Frank Schima)

Note that there are no such variants +quartz +no_x11.

comment:9 in reply to:  8 Changed 12 years ago by su-v

Replying to macsforever2000@…:

Note that there are no such variants +quartz +no_x11.

To clarify (or correct) my earlier comment:

Inkscape 0.48.3.1 built with
a) MacPorts using the global variants +quartz +no_x11
or
b) its dependency gtk2 installed with the variants +quartz+no_x11
no longer crashes as reported.

(Yes, Inkscape itself does not have an explicit variant 'quartz' nor 'no_x11' - the crashes had been triggered with the Quartz backend of Gtk+ (i.e. gtk2 +quartz +no_x11), as described in comment:2)

comment:10 Changed 12 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

Sounds good. I'll close this out.

Note: See TracTickets for help on using tickets.