Win64 Inkscape crashes at startup, due to g_utf8_collate handles null pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
The issue could be reproduced on "0.91" and "0.92.1" Windows 64 version.
To trace the issue, I use gdb with inkscape.dbg symbol file to trace the problem.
Here is the backtrack:
Starting program: C:\temp\
[New Thread 25560.0x437c]
[New Thread 25560.0x8634]
[New Thread 25560.0xef4]
[New Thread 25560.0x8974]
[New Thread 25560.0x8efc]
[New Thread 25560.0x3120]
[New Thread 25560.0x2230]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffe6681c7a3 in strcmp () from C:\WINDOWS\
(gdb) bt
#0 0x00007ffe6681c7a3 in strcmp () from C:\WINDOWS\
#1 0x000000006863802a in g_utf8_collate () from C:\temp\
#2 0x0000000000708c31 in ?? ()
#3 0x0000000000ed663f in ?? ()
#4 0x000000000070b2bd in ?? ()
#5 0x000000000072517f in ?? ()
#6 0x00000000007259ca in ?? ()
#7 0x0000000000d27c64 in ?? ()
#8 0x0000000000d32600 in ?? ()
#9 0x0000000000d2d7d1 in ?? ()
#10 0x0000000000bfab35 in ?? ()
#11 0x0000000000cb0861 in ?? ()
#12 0x0000000000cb0a0a in ?? ()
#13 0x00000000006382d2 in ?? ()
#14 0x0000000000638977 in ?? ()
#15 0x000000000082cfe0 in ?? ()
#16 0x0000000000ee9bbe in ?? ()
#17 0x00000000004013b5 in ?? ()
#18 0x00000000004014c8 in ?? ()
#19 0x00007ffe66ba8364 in KERNEL32!
#20 0x00007ffe688370d1 in ntdll!RtlUserTh
#21 0x0000000000000000 in ?? ()
inkscape-
static bool
compare_
return g_utf8_
}
I can only find the swatches sort using the function call.
I guess if invalid strings are put into std:list and generate the issue.
I set a breakpoint at "0x000000006863802a (g_utf8_collate)" and run the inkscape again.
After the bp breaks the code, I set PC to next step to bypass the function.
The inkscape run perfectly.
To clarify the issue, I try to install the inkscape on a "English" version Win10 64 bits.
The issue couldn't be reproduced.
My default system is "Traditional Chinese" Taiwan Region Win10 64 bits system.
Is it possible the string utf8 (codepage or something else) convert to lead the issue?
GIMP seems to run well on my system. It might not be a GTK + problem.
PS:
I use Visual Studio 2017 Community to trace the problem,
The exception report is:
Exception thrown at 0x00007FFE6681C7A3 (msvcrt.dll) in inkscape.exe: 0xC0000005: Access violation reading location 0x0000000000000000. occurred
Could you please post steps how to actually produce the crash, i.e. how to actually create swatches with illegal characters? Inkscape does not even allow me to create swatches with problematic names...