https://bugs.winehq.org/show_bug.cgi?id=50025
Bug ID: 50025 Summary: Cannot run Line (chat app) on Wine Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gaul@gaul.org Distribution: ---
Created attachment 68457 --> https://bugs.winehq.org/attachment.cgi?id=68457 Backtrace
I successfully installed Line (chat app) from https://line.me/en-US/download . The application automatically launches but fails with:
Unhandled exception: page fault on read access to 0x0f204000 in 32-bit code (0x6233d881).
Running wine-5.18 (Staging) on Fedora 32.
https://bugs.winehq.org/show_bug.cgi?id=50025
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://line.me/en-US/downl | |oad Component|-unknown |msvcp Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW Keywords| |download, regression
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming. Actually starts fine into login-screen when I use an old wine-5.0 I have lying around here, so looks like a regression to me.
If you set msvcp140 to native the crash is gone and starts fine into login screen (app brings it`s own msvcp140 in directory "current" so no need to install it with winetricks). Probably relevant debug output:
012c:Call msvcp140.?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005bdfd1 012c:Ret msvcp140.?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=1021dd40 ret=005bdfd1 012c:Call msvcp140.?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005bdfdb 012c:Ret msvcp140.?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=10221082 ret=005bdfdb 012c:Call msvcp140.?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005bdfe7 012c:Ret msvcp140.?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=1021dd40 ret=005bdfe7 012c:Call msvcp140.?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005bdff1 012c:Ret msvcp140.?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=1021dd40 ret=005bdff1 012c:Call msvcp140.?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005bdfff 012c:Ret msvcp140.?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=1021dd40 ret=005bdfff 012c:Call msvcp140.?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z(0ec6f854,102210a0,10225d83) ret=005be012 012c:Ret msvcp140.?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z() retval=102210a0 ret=005be012 012c:Call msvcp140.?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z(0ec6f854,00003342) ret=005be01b 012c:Ret msvcp140.?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z() retval=0ec6f87c ret=005be01b 012c:Call msvcp140.?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ(0ec6f854) ret=005be029 012c:Ret msvcp140.?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ() retval=102243e2 ret=005be029 012c:Call msvcp140.?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z(0ec6f854,102210a0,102210a0,102243e3) ret=005be03d 012c:Ret msvcp140.?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z() retval=6230ede0 ret=005be03d 012c:Call msvcp140.?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z(0ec6f854,00000000) ret=005be04a 012c:Ret msvcp140.?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z() retval=00000000 ret=005be04a 012c:trace:seh:dispatch_exception code=c0000005 flags=0 addr=6233C9EC ip=6233c9ec tid=012c
https://bugs.winehq.org/show_bug.cgi?id=50025
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #2 from Roman Pišl rpisl@seznam.cz --- dc117553905c1b779ef083aa7418d169cd180a3d is the first bad commit commit dc117553905c1b779ef083aa7418d169cd180a3d Author: Piotr Caban piotr@codeweavers.com Date: Fri Sep 18 15:52:54 2020 +0200
msvcrt: Use default user locale when only codepage is passed to setlocale.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=50025
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com Regression SHA1| |dc117553905c1b779ef083aa741 | |8d169cd180a3d
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Roman Pišl from comment #2)
dc117553905c1b779ef083aa7418d169cd180a3d is the first bad commit commit dc117553905c1b779ef083aa7418d169cd180a3d Author: Piotr Caban piotr@codeweavers.com Date: Fri Sep 18 15:52:54 2020 +0200
msvcrt: Use default user locale when only codepage is passed to
setlocale.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Hi Roman, Thanks for doing the regression test.
Add regression sha1 to bugreport
https://bugs.winehq.org/show_bug.cgi?id=50025
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- The patch made it possible to create locale with utf8 codepage (it was introduced in ucrtbase). We're not supporting utf8 in some functions yet. In case of LINE we will need to support it in wcstombs function (I don't know if it's the only function that needs to be fixed for the application).
https://bugs.winehq.org/show_bug.cgi?id=50025
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |6180c2fc83bf85254607d977ea0 | |85f2fb9c85f02
--- Comment #5 from Piotr Caban piotr.caban@gmail.com --- The application starts now. Marking as fixed by 6180c2fc83bf85254607d977ea085f2fb9c85f02.
https://bugs.winehq.org/show_bug.cgi?id=50025
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.20.