SIGSEGV in g_utf8_collate on Windows

Hello Everybody,

in the upcoming Inkscape 0.92 release, the project has decided to switch from the current autotools build system to CMake. Because there is a large user base on the Windows platform, I am currently trying to get the program to compile and be ready for packaging.

I am currently struggling with an issue that causes the program to raise a SIGSEGV as soon as it tries to load locale (.po/.mo) files - and I honestly ran out of ideas. May be someone with more experience with i18n and Gtk can help me with this issue. Here's the gdb output:

(gdb) run
Starting program: D:\Build\inkscape\inkscape.exe
[New Thread 4468.0x32e4]
[New Thread 4468.0x7c8]
[New Thread 4468.0x968]
[New Thread 4468.0x1cfc]
[New Thread 4468.0x1ed8]
[New Thread 4468.0x346c]
[New Thread 4468.0x314c]
[New Thread 4468.0x2e94]
[New Thread 4468.0x3180]
[New Thread 4468.0x2710]
[New Thread 4468.0xb04]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffa676ec530 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x00007ffa676ec530 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
#1  0x0000000068654fd9 in g_utf8_collate (str1=<optimized out>, str2=<optimized out>) at gunicollate.c:149
#2  0x0000000001136cc0 in Glib::operator== (lhs=..., rhs=...) at c:/devlibs64/include/glibmm-2.4/glibmm/ustring.h:1522
#3  0x000000000092a0f3 in Inkscape::Extension::Effect::merge_menu (this=0x1b66d100, base=0x1c0ff940, start=0x1c0ffa30, patern=0x0, mergee=0x1c105fd0) at D:\Projects\2016\Inkscape\cmake-win32\src\extension\effect.cpp:182
#4  0x000000000092a244 in Inkscape::Extension::Effect::merge_menu (this=0x1b66d100, base=0x1c0b7fd0, start=0x1c0b7c10, patern=0x1c1032b0, mergee=0x1c105fd0) at D:\Projects\2016\Inkscape\cmake-win32\src\extension\effect.cpp:206
#5  0x0000000000929d3b in Inkscape::Extension::Effect::Effect (this=0x1b66d100, in_repr=0x1c103ee0, in_imp=0x1b66bb10) at D:\Projects\2016\Inkscape\cmake-win32\src\extension\effect.cpp:114
#6  0x0000000000932c1f in Inkscape::Extension::build_from_reprdoc (doc=0x1c0f3620, in_imp=0x1b66bb10) at D:\Projects\2016\Inkscape\cmake-win32\src\extension\system.cpp:517
#7  0x0000000000932e33 in Inkscape::Extension::build_from_mem (
    buffer=0x1663ff0 <_ZStL6ignore+14> "<inkscape-extension xmlns=\"\">\n<name>Blur</name>\n<id>org.inkscape.effect.bitmap.blur</id>\n<param name=\"radius\" gui-text=\"Radius:\" type=\"float\" min=\"0"..., in_imp=0x1b66bb10) at D:\Projects\2016\Inkscape\cmake-win32\src\extension\system.cpp:571
#8  0x00000000009dce3d in Inkscape::Extension::Internal::Bitmap::Blur::init () at D:\Projects\2016\Inkscape\cmake-win32\src\extension\internal\bitmap\blur.cpp:49
#9  0x000000000092e0de in Inkscape::Extension::init () at D:\Projects\2016\Inkscape\cmake-win32\src\extension\init.cpp:206
#10 0x0000000000e48463 in Inkscape::Application::Application (this=0x1a1edab0, argv=0x1a1ad0a0 "D:\\Build\\inkscape\\inkscape.exe", use_gui=true) at D:\Projects\2016\Inkscape\cmake-win32\src\inkscape.cpp:469
#11 0x0000000000e47227 in Inkscape::Application::create (argv0=0x1a1ad0a0 "D:\\Build\\inkscape\\inkscape.exe", use_gui=true) at D:\Projects\2016\Inkscape\cmake-win32\src\inkscape.cpp:182
#12 0x0000000000402d3d in sp_main_gui (argc=1, argv=0x1a1ad130) at D:\Projects\2016\Inkscape\cmake-win32\src\main.cpp:1066
#13 0x00000000004023cd in main (argc=1, argv=0x1a1ad130) at D:\Projects\2016\Inkscape\cmake-win32\src\main.cpp:789

I am trying to compile and run the software on a 64bit Windows 10 machine using MinGW. My branch is located here:

I'd be very grateful if someone could give me some ideas on what might be going wrong.

So long - and thanks for all the fish! :)


PS. Upon start, the program displays a dialog box with some translated error message (German in this case). However, the Umlauts do not seem to be rendered properly and are replaced by a [X] box paceholder. Just in case, that might help..

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]