Am Donnerstag, 27. Juli 2017, 00:02:43 CEST schrieb Eduard Braun:
Am 26.07.2017 um 15:10 schrieb Eduard Braun:
Am 26.07.2017 um 14:40 schrieb alvinpenner:
- running from DOS I get the attached error messages (a number of
them):
C:\Program Files (x86)\Inkscape>inkscape (inkscape.exe:1204): GLib-CRITICAL **: g_convert: assertion 'str != NULL' failed (inkscape.exe:1204): GLib-CRITICAL **: g_convert: assertion 'str != NULL' failed
Note that these messages occur only after the program has been closed, not while it is running.
I noticed that, too. It's only happening for the x86 version and I think we had reports about this issue before (so might even be unrelated to MSYS2). I wonder why it happens for x86 only (library versions in both builds are identical now so they should also behave identical in most cases). I wasn't able to find any functional limitation so far but I'll certainly look into it (the function mentioned is unfortunately used in *a lot* of code so it might be hard to track down).
I tracked down the source of this issue and it turns out a fix by Tavmjong committed to master only a week ago fixes this issue, too.
Finding errors thrown by glib, gdk or gtk is easy when running in a debugger and passing --g-fatal-warnings to inkscape. It will stop whenever it throws such an error so a backtrace will show you where it failed.
See [1] for the detailed investigation and [2] for the MR including the fix.
Regards, Eduard
Tobias
[1] https://bugs.launchpad.net/inkscape/+bug/1706776 [2] https://gitlab.com/inkscape/inkscape/merge_requests/53