New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32413 (closed defect: worksforme)

Opened 18 months ago

Last modified 13 months ago

Inkscape crashes while loading or saving

Reported by: hosseini@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: suv-sf@…, smparkes@…
Port: inkscape

Description (last modified by ryandesign@…) (diff)

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

comment:1 Changed 18 months ago by ryandesign@…

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

comment:2 Changed 18 months ago by suv-sf@…

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 18 months ago by suv-sf@…

  • Cc suv-sf@… added

Cc Me!

comment:4 Changed 18 months 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 18 months 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 17 months ago by smparkes@…

  • Cc smparkes@… added

Cc Me!

comment:7 Changed 13 months ago by suv-sf@…

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 follow-up: ↓ 9 Changed 13 months ago by macsforever2000@…

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

comment:9 in reply to: ↑ 8 Changed 13 months ago by suv-sf@…

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 13 months ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to worksforme

Sounds good. I'll close this out.

Note: See TracTickets for help on using tickets.