Crash au démarrage sur Glib::ConvertError (MacOS via brew)

Bug #1756856 reported by Jean-Louis Nebut
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

MacOS Version 10.11.6
Installation de Inkscape 0.92.2_1 sous brew par la formule caskformula/caskformula/inkscape

Messages au lancement du binaire :

$ inkscape
libc++abi.dylib: terminating with uncaught exception of type Glib::ConvertError

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: ChannelsAction: missing action ChannelsAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: ThresholdAction: missing action ThresholdAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: OffsetAction: missing action OffsetAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: PaintbucketUnitsAction: missing action PaintbucketUnitsAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: AutoGapAction: missing action AutoGapAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.085: PaintbucketResetAction: missing action PaintbucketResetAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextFontStyleAction: missing action TextFontStyleAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextOuterStyleAction: missing action TextOuterStyleAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextFontSizeAction: missing action TextFontSizeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextLineHeightAction: missing action TextLineHeightAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextLineHeightUnitsAction: missing action TextLineHeightUnitsAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextLineHeightUnsetAction: missing action TextLineHeightUnsetAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextAlignAction: missing action TextAlignAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextSuperscriptAction: missing action TextSuperscriptAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextSubscriptAction: missing action TextSubscriptAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextLetterSpacingAction: missing action TextLetterSpacingAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextWordSpacingAction: missing action TextWordSpacingAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextDxAction: missing action TextDxAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextDyAction: missing action TextDyAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextRotationAction: missing action TextRotationAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextWritingModeAction: missing action TextWritingModeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.244: TextOrientationAction: missing action TextOrientationAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientNewTypeAction: missing action GradientNewTypeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientNewFillStrokeAction: missing action GradientNewFillStrokeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientSelectGradientAction: missing action GradientSelectGradientAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditLinkAction: missing action GradientEditLinkAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditReverseAction: missing action GradientEditReverseAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientSelectRepeatAction: missing action GradientSelectRepeatAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditStopsAction: missing action GradientEditStopsAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditOffsetAction: missing action GradientEditOffsetAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditAddAction: missing action GradientEditAddAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: GradientEditDeleteAction: missing action GradientEditDeleteAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshNewTypeAction: missing action MeshNewTypeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshNewFillStrokeAction: missing action MeshNewFillStrokeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshRowAction: missing action MeshRowAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshColumnAction: missing action MeshColumnAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshToggleSidesAction: missing action MeshToggleSidesAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshMakeEllipticalAction: missing action MeshMakeEllipticalAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshPickColorsAction: missing action MeshPickColorsAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshFitInBoundingBoxAction: missing action MeshFitInBoundingBoxAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshShowHandlesAction: missing action MeshShowHandlesAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshEditFillAction: missing action MeshEditFillAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.248: MeshEditStrokeAction: missing action MeshEditStrokeAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: MeshWarningAction: missing action MeshWarningAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: MeshSmoothAction: missing action MeshSmoothAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: DropperOpacityAction: missing action DropperOpacityAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: DropperPickAlphaAction: missing action DropperPickAlphaAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: DropperSetAlphaAction: missing action DropperSetAlphaAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorAvoidAction: missing action ConnectorAvoidAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorIgnoreAction: missing action ConnectorIgnoreAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorOrthogonalAction: missing action ConnectorOrthogonalAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorCurvatureAction: missing action ConnectorCurvatureAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorSpacingAction: missing action ConnectorSpacingAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorGraphAction: missing action ConnectorGraphAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorLengthAction: missing action ConnectorLengthAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorDirectedAction: missing action ConnectorDirectedAction

(inkscape:13611): Gtk-WARNING **: 12:48:55.249: ConnectorOverlapAction: missing action ConnectorOverlapAction

puis le pop-up de fermeture.

Se reproduit aux essais ultérieurs...

Revision history for this message
Johan (blokkendoos) wrote :

Same Glib::ConvertError on OS X 10.10.5 with Macports Inkscape.

I have built Inkscape 0.92.3 from source with Debug option and found that the error is related to Glib::ustring usage. Inkscape 0.91 gives the same error, so I assume something changed in Glib?
Not being a programmer myself, don't know how to fix this, but maybe this info helps.
Regards,
Johan

Details
=======
OS X 10.10.5

Macports:
inkscape @0.92.2_2+x11 (active)

glib Macports installed:
  dbus-glib @0.110_0 (active)
  geocode-glib @3.24.0_0 (active)
  glib-networking @2.54.1_0 (active)
  glib2 @2.56.0_0+x11 (active)
  glibmm @2.56.0_0+x11 (active)
  json-glib @1.2.8_0 (active)
  taglib @1.11.1_0 (active)

Location of the first occurrence (resulting in ConvertError exception) is in src/widgets/text-toolbar.cpp at line 1792. Bypass using std::string results in the next location on line #1378.

        //Glib::ustring tooltip = Glib::ustring::format(_("Font size"), " (", sp_style_get_css_unit_string(unit), ")");
        std::string tooltip = _("Font size");
        tooltip += " (";
        tooltip += sp_style_get_css_unit_string(unit);
        tooltip += ")";
        ink_comboboxentry_action_set_tooltip ( fontSizeAction, tooltip.c_str());

Revision history for this message
Johan (blokkendoos) wrote :

In addition to my previous comment, last workaround in src/widgets/font-selector.cpp at line 120. Now Inkscape starts and seems to work.
Regards,
J

Revision history for this message
Clemens Lang (neverpanic) wrote :
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

As this is an upstream bug and not an Inkscape issue, closing as invalid. If this is not the case, please reply here or file a new issue: https://inkscape.org/report. Thank you!

Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: New → Invalid
Revision history for this message
Jean-Louis Nebut (jln35) wrote : Re: [Bug 1756856] Re: Crash au démarrage sur Glib::ConvertError (MacOS via brew)

Le 09/05/2019 à 15:10, Qantas94Heavy a écrit :
> As this is an upstream bug and not an Inkscape issue, closing as
> invalid. If this is not the case, please reply here or file a new issue:
> https://inkscape.org/report. Thank you!
>
> Closed by: https://gitlab.com/Qantas94Heavy
>
> ** Changed in: inkscape
> Status: New => Invalid
>

Yes, it's ok

--
Jean-Louis Nebut

tbnorth (terry-n-brown)
tags: added: bug-migration
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.