[Tuxpaint-devel] Hidden bug on Windows?
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: TOYAMA Shin-i. <sh...@wm...> - 2021-10-11 22:59:51
|
Hi developpers,
I am concerned that there have been not a few reports of recent
versions not starting on Windows 10.
One thing I can think of is that it doesn't start via gdb in the
MinGW/MSYS2 environment, although the fact that it doesn't
reproduce in the normal environment at hand.
There may be some hidden bug.
The following is a backtrace of a crash immediately after starting
with gdb.
Anyone can see something from this?
-----------------------------------------------------------------------------
mingw64:$ gdb /usr/local/bin/tuxpaint
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
< ... snip ... >
(gdb) run
Starting program: C:\msys64\usr\local\bin\tuxpaint.exe
[New Thread 19064.0x251c]
[New Thread 19064.0x5bdc]
[New Thread 19064.0x69b4]
[New Thread 19064.0x6760]
Thread 1 received signal SIGSEGV, Segmentation fault.
sm_add (sm=0xfeeefeeefeeefeee, seq=seq@entry=0x658c3feae1 "",
unicode=unicode@entry=0x658c3feac0 L"??", flag=flag@entry=45 '-')
at src/im.c:413
413 STATE_MACHINE *sm_found = sm_search_shallow(sm, seq[0]);
(gdb) backtrace
#0 sm_add (sm=0xfeeefeeefeeefeee, seq=seq@entry=0x3e9b5fef61 "",
unicode=unicode@entry=0x3e9b5fef40 L"??", flag=flag@entry=45 '-')
at src/im.c:413
#1 0x00007ff6cb578237 in sm_add (sm=sm@entry=0x7ff6cb619a80 <cm+64>,
seq=seq@entry=0x3e9b5fef60 "a", unicode=unicode@entry=0x3e9b5fef40 L"??",
flag=<optimized out>) at src/im.c:465
#2 0x00007ff6cb57861a in charmap_add (flag=0x3e9b5ff060 "-",
unicode=0x3e9b5fef40 L"??", seq=0x3e9b5fef60 "a", section=1,
cm=0x7ff6cb619a40 <cm>) at src/im.c:523
#3 charmap_load (cm=cm@entry=0x7ff6cb619a40 <cm>,
path=path@entry=0x7ff6cb5a2278 <language_to_locale_array+3960> "C:/msys64/usr/local/share/tuxpaint/im/ja.im") at src/im.c:619
#4 0x00007ff6cb5793c7 in im_event_ja (im=0x7ff6cb5ac500 <im_data>, ks=...)
at src/im.c:1373
#5 0x00007ff6cb578782 in im_read (im=im@entry=0x7ff6cb5ac500 <im_data>,
ks=...) at src/im.c:786
#6 0x00007ff6cb579e5f in im_event (im=0x7ff6cb5ac500 <im_data>)
at src/im.c:812
#7 im_request (request=1, im=0x7ff6cb5ac500 <im_data>) at src/im.c:822
#8 im_init (im=im@entry=0x7ff6cb5ac500 <im_data>, lang=56) at src/im.c:1891
#9 0x00007ff6cb558418 in setup () at src/tuxpaint.c:24595
#10 0x00007ff6cb576e1c in SDL_main (argc=<optimized out>, argv=0x23a0396e200)
at src/tuxpaint.c:25759
#11 0x00007ff6cb5850cb in console_main ()
#12 0x00007ff6cb5851a8 in WinMain ()
#13 0x00007ff6cb5413b1 in __tmainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:321
#14 0x00007ff6cb5414c6 in WinMainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:176
(gdb)
--
TOYAMA Shin-ichi mailto:sh...@wm...
|