http://bugs.winehq.org/show_bug.cgi?id=32112
Bug #: 32112 Summary: Justice Caculator reporting "Eror dreading RichEdit1->Lines.Strings: RichEdit line insertion error Product: Wine Version: 1.5.16 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
The orignial website is http://www.filehand.net, now it is unavailable.
Anyone would like to test and debug the software please contact to me.
Reproduce: Wine 司法速算器.exe
A popup window reporting: "Error reading RichEdit1->Lines.Strings: RichEdit line insertion error.
after clicking "OK"/"确定", the app quit without any useful log.
Will attach a +richedit trace.
http://bugs.winehq.org/show_bug.cgi?id=32112
--- Comment #1 from Qian Hong fracting@gmail.com 2012-10-31 04:51:28 CDT --- Created attachment 42347 --> http://bugs.winehq.org/attachment.cgi?id=42347 Log: +relay,+richedit trace
http://bugs.winehq.org/show_bug.cgi?id=32112
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32112
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |penghao@linuxdeepin.com
http://bugs.winehq.org/show_bug.cgi?id=32112
--- Comment #2 from Qian Hong fracting@gmail.com --- Seems helpful information:
http://stackoverflow.com/questions/10474883/why-am-i-getting-richedit-line-i...
http://bugs.winehq.org/show_bug.cgi?id=32112
--- Comment #3 from Jactry Zeng jactry92@gmail.com --- This software also can reproduce this bug: http://www.xazhouyi.com/Softs/bazi.htm
installer: http://www.xazhouyi.com/downs/BaZi70.rar
$ pwd /Users/jactry/.wine/drive_c/Program Files/玄奥八字批命试用版 $ wine BaZi.exe
https://bugs.winehq.org/show_bug.cgi?id=32112
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.xazhouyi.com/Sof | |ts/bazi.htm
https://bugs.winehq.org/show_bug.cgi?id=32112
--- Comment #4 from Qian Hong fracting@gmail.com --- Also affects CMBChina online bank: http://szdl.cmbchina.com/download/PB/PBSetup70.exe
https://bugs.winehq.org/show_bug.cgi?id=32112
--- Comment #5 from Qian Hong fracting@gmail.com --- Created attachment 52964 --> https://bugs.winehq.org/attachment.cgi?id=52964 Hack for CMBChina online bank
The application is crazy. It use a third party library, which calculates cursor position in its own, and compare with the result with the cursor position fetch from EM_EXGETSEL. Wine's EM_EXGETSEL calculates cursor position in a different way compares to native RichEdit, as a result, the application refuse to run in Chinese locale. The attached crazy hack reversed what values the application wants, and fool the application (CMBChina online bank client) to run.
Now need some test case to implement a real fix.
https://bugs.winehq.org/show_bug.cgi?id=32112
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |jactry92@gmail.com
--- Comment #6 from Jactry Zeng jactry92@gmail.com --- Created attachment 53377 --> https://bugs.winehq.org/attachment.cgi?id=53377 Add byte count.
Here is a hack for it.
https://bugs.winehq.org/show_bug.cgi?id=32112
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- I tested the link http://szdl.cmbchina.com/download/PB/PBSetup70.exe
No popup occured, but the software is in chinese so.....
https://bugs.winehq.org/show_bug.cgi?id=32112
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.xazhouyi.com/Sof |https://web.archive.org/web |ts/bazi.htm |/20140704130815/http://szdl | |.cmbchina.com/download/PB/P | |BSetup70.exe
--- Comment #8 from Jactry Zeng jactry92@gmail.com --- Updated download URL.
(In reply to joaopa from comment #7)
I tested the link http://szdl.cmbchina.com/download/PB/PBSetup70.exe
No popup occured, but the software is in chinese so.....
I guess this is because the binary you tested with was different to the original one, they didn't change the URL when they replaced the binary.
I still can reproduce this issue with an older installer from web.archive.org on the current Wine 7.1.
$ md5sum PBSetup70.exe 381bbc464b44609a08dde68f4ad59171 PBSetup70.exe $ wine --version wine-7.1-231-gcc91ba6da75