http://bugs.winehq.org/show_bug.cgi?id=33963
Bug #: 33963 Summary: WINE Wordpad crashes when selecting text from line end to line start Product: Wine Version: 1.6-rc4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: Elias.vds@gmail.com Classification: Unclassified
Steps to reproduce: 1. Compile the latest wine 1.6-rc4. 2. Run 'wine wordpad'. 3. Write one character, e.g. ' ' (space). 4. Select that character, by selecting from the line end (so immediately after the space) to the line start (before the space).
Then, it crashes and starts the debugger: wine: Unhandled page fault on read access to 0x0000000c at address 0x7ac351f7 (thread 0009), starting debugger...
This was tested on Fedora 12 (32-bit wine) and on Fedora 18 (64-bit wine), both on 64bit linux (intel core i5).
http://bugs.winehq.org/show_bug.cgi?id=33963
--- Comment #1 from Elias Vanderstuyft Elias.vds@gmail.com 2013-07-05 12:37:45 CDT --- I just tested with wine-1.5.19, wine-1.5.18 and wine-1.3.22 (compiled 32bit wine) on Fedora 12 (64-bit), and it does not crash on those. So it is probably a regression.
I also noted that on the 'crashy' wordpad version, if you type a '\n' (newline) character in an empty document, and then make a selection from line 1 to line 2, the selected newline character appears to be much larger (looks like a tabulator) than on the earlier 'non-crashy' wordpad versions.
http://bugs.winehq.org/show_bug.cgi?id=33963
Elias Vanderstuyft Elias.vds@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Elias.vds@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33963
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Status|UNCONFIRMED |NEW CC| |fracting@gmail.com Component|programs |richedit Ever Confirmed|0 |1
--- Comment #2 from Qian Hong fracting@gmail.com 2013-07-05 12:44:42 CDT --- Confirming, I would say it is a richedit bug, you can try winetricks -q riched20.
Thanks for reporting :)
http://bugs.winehq.org/show_bug.cgi?id=33963
--- Comment #3 from Qian Hong fracting@gmail.com 2013-07-05 12:45:38 CDT --- Created attachment 45115 --> http://bugs.winehq.org/attachment.cgi?id=45115 Patch: Fixed wordpad crashing
It would be great if you have chance to test this patch :)
http://bugs.winehq.org/show_bug.cgi?id=33963
Elias Vanderstuyft Elias.vds@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Elias Vanderstuyft Elias.vds@gmail.com 2013-07-06 13:10:11 CDT --- (In reply to comment #3)
Created attachment 45115 [details] Patch: Fixed wordpad crashing
It would be great if you have chance to test this patch :)
Nice, yes, that patch fixed it!
http://bugs.winehq.org/show_bug.cgi?id=33963
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2013-07-06 13:49:21 CDT --- Not fixed yet, patch is not in git.
http://bugs.winehq.org/show_bug.cgi?id=33963
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|REOPENED |NEW
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-07-06 16:29:51 CDT --- Confirming then and adding keyword.
http://bugs.winehq.org/show_bug.cgi?id=33963
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33963
timophey.b@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |timophey.b@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33963
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b0f177b61913b9fac1cf8952582 | |d77576705bad1 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Qian Hong fracting@gmail.com 2013-12-10 20:54:42 CST --- Fixed in git, thanks Huw Davies!
commit b0f177b61913b9fac1cf8952582d77576705bad1 Author: Huw Davies huw@codeweavers.com Date: Tue Dec 10 11:19:08 2013 +0000
riched20: Ensure the cursors are correctly ordered in the case of a zero (logical) length selection bridging two runs.
https://bugs.winehq.org/show_bug.cgi?id=33963
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.9.
https://bugs.winehq.org/show_bug.cgi?id=33963
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
https://bugs.winehq.org/show_bug.cgi?id=33963
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Removing 1.6.x milestone from bugs included in 1.6.2.