[Bug 17822] New: Logic Friday: crashes when entering equation
http://bugs.winehq.org/show_bug.cgi?id=17822 Summary: Logic Friday: crashes when entering equation Product: Wine Version: 1.1.17 Platform: PC-x86-64 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: richedit AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com Created an attachment (id=20080) --> (http://bugs.winehq.org/attachment.cgi?id=20080) +richedit Reported in wine-users: http://forum.winehq.org/viewtopic.php?t=4199&highlight=logic+friday native riched20 works around it. Backtrace: =>0 0xf7c9c4f6 memcpy+0x46() in libc.so.6 (0x0033d888) 1 0x7de9b72f ME_GetTextRange+0x7f(editor=0x6a28d8, rng=<register EDI not in topmost frame>, unicode=0) [/home/austin/wine-git/dlls/riched20/editor.c:1922] in riched20 (0x0033d8c8) 2 0x7dea4d3e ME_HandleMessage+0x3e3e(editor=0x6a28d8, msg=<register EDI not in topmost frame>, wParam=0, lParam=4525552, unicode=0, phresult=0x33e344) [/home/austin/wine-git/dlls/riched20/editor.c:3603] in riched20 (0x0033e2e8) 3 0x7dea7239 RichEditWndProc_common+0x1a9(hWnd=0x20040, msg=<register ESI not in topmost frame>, wParam=0, lParam=4525552, unicode=0) [/home/austin/wine-git/dlls/riched20/editor.c:4439] in riched20 (0x0033e398) 4 0x7dea7686 RichEditWndProcA+0x26(hWnd=0x20040, msg=1099, wParam=0, lParam=4525552) [/home/austin/wine-git/dlls/riched20/editor.c:4462] in riched20 (0x0033e3b8) 5 0x7eb3008a WINPROC_wrapper+0x1a() in user32 (0x0033e3e8) 6 0x7eb304da call_window_proc+0x6a(hwnd=<register EDI not in topmost frame>, msg=<register ESI not in topmost frame>, wp=0, lp=4525552, result=0x33e460, arg=0x7dea7660) [/home/austin/wine-git/dlls/user32/winproc.c:458] in user32 (0x0033e428) 7 0x7eb36592 CallWindowProcA+0x52(func=0x7dea7660, hwnd=0x20040, msg=1099, wParam=0, lParam=4525552) [/home/austin/wine-git/dlls/user32/winproc.c:2292] in user32 (0x0033e468) +richedit attached -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://sontrak.com/downloads | |.aspx -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 Dylan Smith <dylan.ah.smith(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith(a)gmail.com Status|NEW |ASSIGNED --- Comment #1 from Dylan Smith <dylan.ah.smith(a)gmail.com> 2009-03-22 23:17:41 --- The problem was the lack of a bounds check on EM_GETTEXTRANGE, and not handling the undocumented special case of cpMin==0 && cpMax==-1, which is treated as select all. I created a patch to fix the bug and sent it to wine-patches. richedit: Add bounds checks for EM_GETTEXTRANGE with tests. (Bug 17822) http://www.winehq.org/pipermail/wine-patches/2009-March/070916.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2009-03-23 01:58:27 --- (In reply to comment #1)
The problem was the lack of a bounds check on EM_GETTEXTRANGE, and not handling the undocumented special case of cpMin==0 && cpMax==-1, which is treated as select all.
I created a patch to fix the bug and sent it to wine-patches.
richedit: Add bounds checks for EM_GETTEXTRANGE with tests. (Bug 17822) http://www.winehq.org/pipermail/wine-patches/2009-March/070916.html
I swear I can't file a richedit bug without it going 12 hours before you've fixed it. Slow down, jeez...give others a chance ;-). Now if only I could everyone else to fix their bugs that quickly... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 Dylan Smith <dylan.ah.smith(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Dylan Smith <dylan.ah.smith(a)gmail.com> 2009-03-23 13:23:26 --- (In reply to comment #2)
I swear I can't file a richedit bug without it going 12 hours before you've fixed it.
I'm sure I leave some bugs. I just watch the new richedit bugs for easy ones to fix.
Slow down, jeez...give others a chance ;-).
Now if only I could everyone else to fix their bugs that quickly...
Thanks for the compliment. I'm sure the other developers are just distracted by the many other bugs to fix, so don't have the time to fix the new bugs. Anyway, the my patch was accepted as commit caca4860290013b8fcf63a101d314346f870cbf4. The bug seems to be fixed now. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2009-03-23 13:25:18 --- (In reply to comment #3)
Slow down, jeez...give others a chance ;-).
Now if only I could everyone else to fix their bugs that quickly...
Thanks for the compliment.
I'm sure the other developers are just distracted by the many other bugs to fix, so don't have the time to fix the new bugs.
I know, just teasing.
Anyway, the my patch was accepted as commit caca4860290013b8fcf63a101d314346f870cbf4.
The bug seems to be fixed now.
Yep, works great. I'll put a note in the forum for the user. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17822 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2009-03-27 13:57:03 --- Closing bugs fixed in 1.1.18. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org