[Bug 1503] executing old 16-bit program leads to unhandled exception in scroll.c

Wine Bugs wine-bugs at winehq.com
Mon Jun 2 11:25:45 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1503





------- Additional Comments From dclark at akamail.com  2003-02-06 11:25 -------
It looks to me like the interesting part is here. Notice how the pointer in
wParam in line 12 (0x415a2428) was truncated to a the number 2428. And then that
number caused the page fault.

Unhandled exception: page fault on write access to 0x00002428 in 32-bit code
(0x407faf61).
In 32-bit mode.
0x407faf61 (SCROLL_GetScrollRange+0x25 [scroll.c:1321] in user32.dll.so): movl
%edx,0x0(%esi)
1322	    if (lpMax) *lpMax = infoPtr ? infoPtr->maxVal : 0;
Wine-dbg>Backtrace:
=>0 0x407faf61 (SCROLL_GetScrollRange+0x25(hwnd=0x10039, nBar=0x2, lpMin=0x2428,
lpMax=0x415a242c) [scroll.c:1321] in user32.dll.so) (ebp=415a1e00)
...
  11 0x4082a957 (WINPROC_CallWndProc16+0x163(proc=0x4a700dd, hwnd=0x39,
msg=0xe3, wParam=0x2428, lParam=0x415a242c) [winproc.c:255] in user32.dll.so)
(ebp=415a22c0)
  12 0x4082f1fa (WINPROC_CallProc32ATo16+0x66(func=0x4a700dd, hwnd=0x10039,
msg=0xe3, wParam=0x415a2428, lParam=0x415a242c) [winproc.c:2738] in
user32.dll.so) (ebp=415a22fc)


-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list