https://bugs.winehq.org/show_bug.cgi?id=39168
Bug ID: 39168 Summary: Exception is raised when preview or print Chinese reports Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: cnliou9@fastmail.fm Distribution: ---
Created attachment 52200 --> https://bugs.winehq.org/attachment.cgi?id=52200 Produced by "WINEDEBUG=all wine app.exe >/tmp/wine.log 2>&1"
The application supports only Windows code pages. It is not a Unicode aware application. When preview reports on screen or printing them to PDF file through CUPS, WINE raises exception. Exceptions seem to happen only to Chinese reports but not to English ones. Not all Chinese reports cause exceptions, but some. The same application raised exception about 3 hours ago, but it terminates without error message now although some Chinese characters become rectangles in the PDF file.
Three hours ago, this application raised exception when locale was set to "zh_TW.Utf8". It terminated without error when I typed the following line in terminal console:
LANG=C; WINEDEBUG=all wine app.exe >/tmp/wine.log 2>&1
The bogus characters following "heap.c:455" in the attached log are roughly translated as "assert(0) fails".
https://bugs.winehq.org/show_bug.cgi?id=39168
--- Comment #1 from Austin English austinenglish@gmail.com --- Could you please retest in 1.7.50? 1.6.2 is very old.
https://bugs.winehq.org/show_bug.cgi?id=39168
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdi32 |-unknown
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Does this application have a demo? Or a name? And yes, to have CP_ACP set properly you'll need to set LANG accordingly.
https://bugs.winehq.org/show_bug.cgi?id=39168
CN Liou cnliou9@fastmail.fm changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #3 from CN Liou cnliou9@fastmail.fm --- (In reply to Austin English from comment #1)
Could you please retest in 1.7.50? 1.6.2 is very old.
I have just compiled v1.7.50 from source. The application appears to stop crashing WINE of this version.
I will change the status to "resolved" for this moment. Hopefully I won't have to reopen it!
https://bugs.winehq.org/show_bug.cgi?id=39168
--- Comment #4 from CN Liou cnliou9@fastmail.fm --- (In reply to Nikolay Sivov from comment #2)
Does this application have a demo? Or a name? And yes, to have CP_ACP set properly you'll need to set LANG accordingly.
I wrote that application. It can not run without connecting to database. The issue I experienced earlier disappears at this moment with WINE 1.7.50.
Thank you for your attention!
https://bugs.winehq.org/show_bug.cgi?id=39168
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.