Re: [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-15 02:13:35
|
Just a brief report.
Deleting mtw() seems to be OK.
I found crash when loading drowing with labels occur in other
part.
------------------------------------------------------------
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ffd86ab7f09 in msvcrt!memmove () from C:\WINDOWS\System32\msvcrt.dll
(gdb) backtrace
#0 0x00007ffd86ab7f09 in msvcrt!memmove ()
from C:\WINDOWS\System32\msvcrt.dll
#1 0x00007ff6e502743e in load_embedded_data ()
#2 0x00007ff6e50281f2 in load_current ()
#3 0x00007ff6e5036842 in SDL_main ()
#4 0x00007ff6e504461b in console_main ()
#5 0x00007ff6e50446f8 in WinMain ()
#6 0x00007ff6e50013b1 in __tmainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:321
#7 0x00007ff6e50014c6 in WinMainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:176
------------------------------------------------------------
Thanks.
TOYAMA Shin-ichi wrote in <61681fa6.4962%sh...@wm...>
>I was wrong again ;-<
>
>It crash when re-opening drawing with labels.....
>
>Sorry for the mess.
>
>
>TOYAMA Shin-ichi wrote in <61681264.4961%sh...@wm...>
>>Hi,
>>
>>It is becoming clear.
>>
>>I suppose it was wrong to delete WIN32 specific code in
>>load_info_about_label_surface() function for 0.9.26-2.
>>
>>Pere Pujal i Carabantes wrote in
>><693...@gm...>
>>>Unfortunately msys mbstowcs() seems not work outside ascii :(
>>
>>Because I am not so sure about this, I removed mtw() from
>>onscreen_keyboard.c and tuxpaint.c again and just replaced mtw()
>>in the label function with mbstowcs() not deleting all the
>>windows specific part.
>>
>>It seems to work fine for me.
>>No crash, rapid osk layout change and no problem when using labels
>>and osk with Japanese characters!
>>
>>Could you please give a try to 0.9.26-3 packages in
>>
>> https://z1.plala.jp/tuxpaint/release/0.9.26-3/
>>
>>If they are fine also for you, I will commit the changes to the
>>git repo.
>>
>>Thanks!
--
TOYAMA Shin-ichi mailto:sh...@wm...
|