[Bug 35077] PSPad 4.5.7 crashes on startup

WineHQ Bugzilla wine-bugs at winehq.org
Sun Mar 8 08:52:27 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=35077

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |kernel32
                 CC|                            |focht at gmx.net
            Summary|PSPad throws an exception   |PSPad 4.5.7 crashes on
                   |when the UI is clicked      |startup
           Severity|minor                       |normal
      Fixed by SHA1|                            |40a1a9e9a242aa694bd28f640f5
                   |                            |1f66ce9eb99ba
                URL|http://www.pspad.com        |https://web.archive.org/web
                   |                            |/20200308120930/http://info
                   |                            |.statik.uni-due.de/Lehre/CM
                   |                            |/CLFE/Software/Editors/pspa
                   |                            |d457inst_en.exe

--- Comment #10 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/40a1a9e9a242aa694bd28f640f51f66ce9eb99ba
("libwine: Decompose characters before comparing in wine_compare_string.")

Thanks Piotr

--- snip ---
...
0009:Call user32.GetMenuItemInfoW(000800bc,000000b8,00000000,00b9f874)
ret=004f7d2c
0009:Ret  user32.GetMenuItemInfoW() retval=00000001 ret=004f7d2c
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001f7e84
L"Fo&rm\00e1t",00000007,00b9e86c,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.MultiByteToWideChar(00000003,00000000,00bdaf38
"Fo&rmat",00000007,00b9e86c,000007ff) ret=0040519b
0009:Ret  KERNEL32.MultiByteToWideChar() retval=00000007 ret=0040519b 
...
0009:Call KERNEL32.CompareStringW(00000400,00000000,001c0594
L"Format",00000006,011d368c L"Form\00e1t",00000006) ret=0040ad82
0009:Ret  KERNEL32.CompareStringW() retval=00000002 ret=0040ad82
0009:Call KERNEL32.GetLastError() ret=0040ad8c
0009:Ret  KERNEL32.GetLastError() retval=00000000 ret=0040ad8c
...
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,00200404
L"Fo&rmat",00000007,00b9e80c,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001c0594
L"Fo&rm\00e1t",00000007,00b9e808,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,00200404
L"Fo&rmat",00000007,00b9e80c,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001c0594
L"Fo&rm\00e1t",00000007,00b9e80c,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f 
...
0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,00b9f804)
ret=004bdb26
0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b44facb ip=7b44facb
tid=0009
0009:trace:seh:raise_exception  info[0]=004f78de
0009:trace:seh:raise_exception  info[1]=00bdafc0
0009:trace:seh:raise_exception  info[2]=00000008
0009:trace:seh:raise_exception  info[3]=00200404
0009:trace:seh:raise_exception  info[4]=00f13674
0009:trace:seh:raise_exception  info[5]=00b9f878
0009:trace:seh:raise_exception  info[6]=00b9f820
0009:trace:seh:raise_exception  eax=00b9f720 ebx=00b9f878 ecx=00000018
edx=00b9f804 esi=00b9f7e0 edi=00b9f7a0
0009:trace:seh:raise_exception  ebp=00b9f778 esp=00b9f714 cs=b90023 ds=002b
es=b9002b fs=7bc80063 gs=b9006b flags=00200216
0009:trace:seh:call_stack_handlers calling handler at 0x4f7943 code=eedfade
flags=1 
--- snip ---

Fixed:

--- snip ---
...
0009:Call user32.GetMenuItemInfoW(000800bc,000000b8,00000000,00b9f874)
ret=004f7d2c
0009:Ret  user32.GetMenuItemInfoW() retval=00000001 ret=004f7d2c
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001f84cc
L"Fo&rm\00e1t",00000007,00b9e86c,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.MultiByteToWideChar(00000003,00000000,00bdaf38
"Fo&rmat",00000007,00b9e86c,000007ff) ret=0040519b
0009:Ret  KERNEL32.MultiByteToWideChar() retval=00000007 ret=0040519b 
...
0009:Call KERNEL32.CompareStringW(00000400,00000000,001f847c
L"Form\00e1t",00000006,001f84a4 L"Format",00000006) ret=0040ad82
0009:Ret  KERNEL32.CompareStringW() retval=00000001 ret=0040ad82 
...
0009:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001f84cc
L"Fo&rm\00e1t",00000007,00b9e848,00000fff,00000000,00000000) ret=0040517f
0009:Ret  KERNEL32.WideCharToMultiByte() retval=00000007 ret=0040517f
0009:Call KERNEL32.MultiByteToWideChar(00000003,00000000,00bdaf38
"Fo&rmat",00000007,00b9e848,000007ff) ret=0040519b
0009:Ret  KERNEL32.MultiByteToWideChar() retval=00000007 ret=0040519b 
--- snip ---

$ sha1sum pspad457inst_en.exe 
e0ed70b5788e2f2d7b13428b042755c44c5112bf  pspad457inst_en.exe

$ du -sh pspad457inst_en.exe 
4.5M    pspad457inst_en.exe

$ wine --version
wine-5.3

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list