Summary: | graphics/inkscape 0.92.3_3 crash after start, bunch of (inkscape:87801): Gtk-WARNING **, core dump | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | A Seda <aseda86> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | ale, allaonix, aspera81, freebsd.ed.lists, lantw44, matthias, maxim.usatov, me, pi, rhurlin, tijl, trialero, uii, vvd, w.schwarzenfeld | ||||
Priority: | --- | Keywords: | regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(gnome) jbeich: merge-quarterly? |
||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Bug Depends on: | 232305 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
A Seda
2018-10-08 14:54:28 UTC
I have the same problem since I tried to upgrade my ports. Me too. I was able to use it before this update. FreeBSD 11.2 amd64 Using MATE desktop on VirtualBox $ inkscape 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:1300): Gtk-WARNING **: 01:40:24.798: ChannelsAction: missing action ChannelsAction (inkscape:1300): Gtk-WARNING **: 01:40:24.799: ThresholdAction: missing action ThresholdAction (inkscape:1300): Gtk-WARNING **: 01:40:24.799: OffsetAction: missing action OffsetAction (inkscape:1300): Gtk-WARNING **: 01:40:24.799: PaintbucketUnitsAction: missing action PaintbucketUnitsAction (inkscape:1300): Gtk-WARNING **: 01:40:24.799: AutoGapAction: missing action AutoGapAction (inkscape:1300): Gtk-WARNING **: 01:40:24.799: PaintbucketResetAction: missing action PaintbucketResetAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextFontStyleAction: missing action TextFontStyleAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextOuterStyleAction: missing action TextOuterStyleAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextFontSizeAction: missing action TextFontSizeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextLineHeightAction: missing action TextLineHeightAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextLineHeightUnitsAction: missing action TextLineHeightUnitsAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextLineHeightUnsetAction: missing action TextLineHeightUnsetAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextAlignAction: missing action TextAlignAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextSuperscriptAction: missing action TextSuperscriptAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextSubscriptAction: missing action TextSubscriptAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextLetterSpacingAction: missing action TextLetterSpacingAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextWordSpacingAction: missing action TextWordSpacingAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextDxAction: missing action TextDxAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextDyAction: missing action TextDyAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextRotationAction: missing action TextRotationAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextWritingModeAction: missing action TextWritingModeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextOrientationAction: missing action TextOrientationAction (inkscape:1300): Gtk-WARNING **: 01:40:24.819: TextDirectionAction: missing action TextDirectionAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientNewTypeAction: missing action GradientNewTypeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientNewFillStrokeAction: missing action GradientNewFillStrokeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientSelectGradientAction: missing action GradientSelectGradientAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditLinkAction: missing action GradientEditLinkAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditReverseAction: missing action GradientEditReverseAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientSelectRepeatAction: missing action GradientSelectRepeatAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditStopsAction: missing action GradientEditStopsAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditOffsetAction: missing action GradientEditOffsetAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditAddAction: missing action GradientEditAddAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: GradientEditDeleteAction: missing action GradientEditDeleteAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshNewTypeAction: missing action MeshNewTypeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshNewFillStrokeAction: missing action MeshNewFillStrokeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshRowAction: missing action MeshRowAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshColumnAction: missing action MeshColumnAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshToggleSidesAction: missing action MeshToggleSidesAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshMakeEllipticalAction: missing action MeshMakeEllipticalAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshPickColorsAction: missing action MeshPickColorsAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshFitInBoundingBoxAction: missing action MeshFitInBoundingBoxAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshShowHandlesAction: missing action MeshShowHandlesAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshEditFillAction: missing action MeshEditFillAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshEditStrokeAction: missing action MeshEditStrokeAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshWarningAction: missing action MeshWarningAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: MeshSmoothAction: missing action MeshSmoothAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: DropperOpacityAction: missing action DropperOpacityAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: DropperPickAlphaAction: missing action DropperPickAlphaAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: DropperSetAlphaAction: missing action DropperSetAlphaAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorAvoidAction: missing action ConnectorAvoidAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorIgnoreAction: missing action ConnectorIgnoreAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorOrthogonalAction: missing action ConnectorOrthogonalAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorCurvatureAction: missing action ConnectorCurvatureAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorSpacingAction: missing action ConnectorSpacingAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorGraphAction: missing action ConnectorGraphAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorLengthAction: missing action ConnectorLengthAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorDirectedAction: missing action ConnectorDirectedAction (inkscape:1300): Gtk-WARNING **: 01:40:24.825: ConnectorOverlapAction: missing action ConnectorOverlapAction アボートトラップ (core dumped) I can confirm the problem since I upgraded my ports. "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 ..." Confirm the problem 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 08:16:24 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 inkscape-0.92.3_3 Also confirm. Any fix or workaround? Marcin Cieslak postet a working patch on pipermail: https://lists.freebsd.org/pipermail/freebsd-ports/2018-October/114474.html The patch is for devel/glibmm. Created attachment 198183 [details] patch for the patch of Marcin Cieslak For the patch, postet by Marcin Cieslak on pipermail[1] and reported by Walter Schwarzenfeld, I created a patch for devel/glibmm via 'make makeplist'. This patch applied clean and after rebuilding devel/glibmm, graphics/inkscape starts and work normal again (on 12.0-ALPHA9 r339335 amd64). Many thanks! [1] https://lists.freebsd.org/pipermail/freebsd-ports/2018-October/114474.html Patch works. Thanks. HI, Applied patch to devel/glibmm, recompile, install. Seems to be working. Thanks all. Thank you!! I am also able to use Inkscape. Applied patch, reinstalled glibmm, however, inkspace still crashes for me. FreeBSD 11.2-RELEASE-p2 #0: Tue Aug 14 21:45:40 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Have you also rebuild inkscape? Yes, I have rebuilt inkscape. Just double-checked: patched and rebuilt glibmm then, again, rebuilt inkscape. Getting the same problem. Just to make sure, what I did was: - Copy the attachment patch to /usr/ports/devel/glibmm/files - In /usr/ports/devel/glibmm: # make patch # make deinstall (to remove the binary package I've had installed) # make install - Then switched to /usr/ports/graphics/inkscape: # make deinstall (to remove the binary package) # make install Reverting devel/glib20 update from ports r480951 appears to help as well. After bisecting I've found the following commit as the first bad: https://gitlab.gnome.org/GNOME/glib/commit/8abf3a04e699abd486c4dcaa57977203584acf0e Tijl, Ting-Wei, can you review if the proposed fix is correct or suggest a better one? See also bug 175930 and https://bugzilla.gnome.org/show_bug.cgi?id=795338 *** Bug 232305 has been marked as a duplicate of this bug. *** (In reply to Jan Beich from comment #16) Patching glibmm like that isn't correct on FreeBSD because the wchar_t encoding depends on the locale. It is only ucs4 encoded for utf-8 locales (lib/libc/locale/utf8.c). Both clang and gcc seem to convert wchar_t string literals like L"¹²³" to ucs4 though so I wouldn't be surprised if libc++ also assumes it's ucs4. With both Linux and MacOS always using ucs4 this is a fight we can't win so I'm all for making wchar_t always ucs4 and defining __STDC_ISO_10646__ (glibc defines it in /usr/include/stdc-predef.h iirc). In the mean time, if reverting https://gitlab.gnome.org/GNOME/glib/commit/8abf3a04e699abd486c4dcaa57977203584acf0e fixes the problem you can add a patch for that to devel/glib20. A commit references this bug: Author: jbeich Date: Sat Nov 3 06:10:29 UTC 2018 New revision: 483878 URL: https://svnweb.freebsd.org/changeset/ports/483878 Log: devel/glib20: revert to old g_convert() behavior PR: 232073 Reported by: many (via inkscape) Suggested by: tijl Tested by: glib/tests/convert MFH: 2018Q4 Changes: head/devel/glib20/Makefile head/devel/glib20/files/patch-revert-8abf3a0 Can someone confirm the fix? Rebuilding glib with patch makes inkscape work again. Thank you very much! Also confirm. Works! Thanks! A commit references this bug: Author: jbeich Date: Tue Nov 6 15:42:39 UTC 2018 New revision: 484301 URL: https://svnweb.freebsd.org/changeset/ports/484301 Log: MFH: r483878 devel/glib20: revert to old g_convert() behavior PR: 232073 Reported by: many (via inkscape) Suggested by: tijl Tested by: glib/tests/convert Approved by: ports-secteam blanket Changes: _U branches/2018Q4/ branches/2018Q4/devel/glib20/Makefile branches/2018Q4/devel/glib20/files/patch-revert-8abf3a0 It still crashes for me on recent FreeBSD 12.x and quarterly branch: glib-2.56.3_2,1 inkscape-0.92.3_7 (inkscape:54258): GLib-CRITICAL **: 11:18:18.160: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.161: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.164: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.164: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.164: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.164: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed (inkscape:54258): GLib-CRITICAL **: 11:18:18.165: g_convert: assertion 'str != NULL' failed 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:54258): Pango-WARNING **: 11:18:18.175: Invalid UTF-8 string passed to pango_layout_set_text() Errore di accesso al segmento di memoria(creato file core) (In reply to Tijl Coosemans from comment #18) macOS also doesn't define __STDC_ISO_10646__, so upstream used _LIBCPP_VERSION. https://gitlab.gnome.org/GNOME/glibmm/commit/e798fa7b2084 Nevermind comment 25. I forgot to look at the date and that it was already in comment 16 by me no less. (In reply to Alex Dupre from comment #24) I can confirm the non starting of inkscape 0.92.4_15 with the same output FreeBSD 12.1-RELEASE-p3 GENERIC amd64 with all packages updated searched for a bug with 'GLib-CRITICAL' on https://gitlab.com/inkscape/inbox/-/issues but it seems not to be reported there. //meine (In reply to meine from comment #27) Is this still issue with inkscape 1.0? (In reply to VVD from comment #28) I have no issues with Inkscape 1.0_2 Use 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC amd64, but must add that I have a new box and installed all from scratch using packages. //meine (In reply to VVD from comment #28) I am using inkscape 1.0, built from ports, for some time now with no problems. This is on 13.0-CURRENT amd64. |