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

Wine Bugs wine-bugs at winehq.com
Mon Jun 2 10:16:16 CDT 2003


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





------- Additional Comments From saulius.krasuckas at elst.vtu.lt  2003-02-06 10:16 -------
[s2 at localhost c]$ wine --version
Wine 20030508

[s2 at localhost c]$ wine --debugmsg +scroll Program\ Files/winled/ledw.exe

Could not stat /mnt/cdrom (No such file or directory), ignoring drive D:
fixme:toolhelp:InterruptRegister16 (0000, 0x21f00ba), stub.
fixme:font:WineEngAddFontResourceEx :stub
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10037 bar=1 page=11 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo     new values: page=1 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10037 bar=1 page=11 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo     new values: page=1 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10037 bar=1 page=11 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo     new values: page=1 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10037 bar=1 page=11 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo     new values: page=1 pos=0 min=0 max=0
trace:scroll:SCROLL_CreateScrollBar hwnd=0x10039 lpCreate=0x404d33e8
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10039 bar=2 min=0 max=100
trace:scroll:SCROLL_SetScrollInfo     new values: page=0 pos=0 min=0 max=100
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10037 bar=1 page=11 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo     new values: page=1 pos=0 min=0 max=0
trace:scroll:SCROLL_SetScrollInfo hwnd=0x10039 bar=2 min=1 max=32767
trace:scroll:SCROLL_SetScrollInfo     new values: page=0 pos=1 min=1 max=32767
trace:scroll:GetScrollRange hwnd=0x10039 nBar=2 lpMin=0x415a2428 lpMax=0x415a242c
wine: Unhandled exception, starting debugger...
Could not stat /mnt/cdrom (No such file or directory), ignoring drive D:
WineDbg starting on pid 8
Loaded debug information from ELF 'wine' ((nil))
Breakpoint 1 at 0x4000bae0 (_end+0x400a3d4)
Loaded debug information from ELF '/usr/local/lib/libntdll.dll.so' (0x4001c000)
Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x400f6000)
Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1' (0x4010d000)
No debug information in ELF '/lib/i686/libm.so.6' (0x401ee000)
No debug information in ELF '/lib/libdl.so.2' (0x40210000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40414000)
Loaded debug information from ELF '/usr/local/lib/wine/winevdm.exe.so' (0x40531000)
Loaded debug information from ELF '/usr/local/lib/wine/winedos.dll.so' (0x40763000)
Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so' (0x407a4000)
Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so' (0x408bf000)
Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so' (0x4092f000)
Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so' (0x4095a000)
Loaded debug information from ELF '/usr/local/lib/wine/x11drv.dll.so' (0x40a1c000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40545000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40a82000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40a99000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40aa7000)
No debug information in ELF '/usr/lib/libGL.so.1' (0x40b85000)
No debug information in ELF '/usr/lib/libGLcore.so.1' (0x40bec000)
No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x41139000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/common/xlcUTF8Load.so.2'
(0x4001a000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/common/ximcp.so.2'
(0x41150000)
Loaded debug information from ELF '/usr/local/lib/wine/mmsystem.dll.so' (0x4116e000)
Loaded debug information from ELF '/usr/local/lib/wine/wineoss.drv.so' (0x411d3000)
Loaded debug information from ELF '/usr/local/lib/wine/msacm.drv.so' (0x41213000)
Loaded debug information from ELF '/usr/local/lib/wine/msacm32.dll.so' (0x4122a000)
Loaded debug information from ELF '/usr/local/lib/wine/midimap.drv.so' (0x41360000)
Loaded debug information from ELF '/usr/local/lib/wine/shell.dll.so' (0x415a5000)
Loaded debug information from ELF '/usr/local/lib/wine/ole32.dll.so' (0x4161c000)
Loaded debug information from ELF '/usr/local/lib/wine/rpcrt4.dll.so' (0x41689000)
Loaded debug information from ELF '/usr/local/lib/wine/shlwapi.dll.so' (0x416ce000)
Loaded debug information from ELF '/usr/local/lib/wine/comctl32.dll.so' (0x41718000)
No debug information in 32bit DLL 'C:\Program Files\winled\ledw.exe' (0x40540000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40050000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40980000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x40940000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x408d0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x407d0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEDOS.DLL' (0x40770000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40a30000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x41180000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0x411e0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x41230000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x41220000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x41370000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x416a0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x41640000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x416f0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x41730000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x415c0000)
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)
  1 0x407fb316 (ScrollBarWndProc+0x392(hwnd=0x10039, message=0xe3,
wParam=0x2428, lParam=0x415a242c) [scroll.c:1466] in user32.dll.so) (ebp=415a1eb0)
  2 0x4082a707 (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=415a1ed4)
  3 0x4082a765 (WINPROC_CallWndProc+0x55(proc=0x407faf84, hwnd=0x10039,
msg=0xe3, wParam=0x2428, lParam=0x415a242c) [winproc.c:185] in user32.dll.so)
(ebp=415a1f00)
  4 0x4082f174 (__wine_call_wndproc_32W+0x5c(hwnd=0x39, msg=0xe3, wParam=0x2428,
lParam=0x415a242c, func=0x407faf84) [winproc.c:2714] in user32.dll.so)
(ebp=415a1f34)
  5 0x4082f3f4 (CallWindowProc16+0xe8(func=0x18703c8, hwnd=0x39, msg=0xe3,
wParam=0x2428, lParam=0x415a242c) [winproc.c:2798] in user32.dll.so) (ebp=415a1f64)
  6 0x407d8629 (__wine_user_exe_CallFrom16_p_long_lwwwl+0x1d(proc=0x4082f30c,
args=0x404882d2) [user.exe.spec.c:1281] in user32.dll.so) (ebp=415a1f80)
  7 0x400b6060 (__wine_call_from_16_long+0x94 [relay16.s] in libntdll.dll.so)
(ebp=415a1fb8)
  8 0x0247:0x1155 (bp=a590)
  9 0x0247:0x016f (bp=a5b2)
  10 0x009f:0x0000 (bp=a5ec)
  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)
  13 0x40840ffc (call_window_proc+0x10c(hwnd=0x10039, msg=0xe3,
wparam=0x415a2428, lparam=0x415a242c, unicode=0x0, same_thread=0x1)
[message.c:1405] in user32.dll.so) (ebp=415a2358)
  14 0x40841d02 (SendMessageTimeoutA+0x1ba(hwnd=0x10039, msg=0xe3,
wparam=0x415a2428, lparam=0x415a242c, flags=0x0, timeout=0xffffffff,
res_ptr=0x415a23e4) [message.c:1840] in user32.dll.so) (ebp=415a23c0)
  15 0x40841d89 (SendMessageA+0x31(hwnd=0x10039, msg=0xe3, wparam=0x415a2428,
lparam=0x415a242c) [message.c:1884] in user32.dll.so) (ebp=415a23ec)
  16 0x407fbb59 (GetScrollRange+0x55(hwnd=0x10039, nBar=0x2, lpMin=0x415a2428,
lpMax=0x415a242c) [scroll.c:1837] in user32.dll.so) (ebp=415a2410)
  17 0x407dccf6 (GetScrollRange16+0x3a(hwnd=0x39, nBar=0x2, lpMin=0x40488362,
lpMax=0x40488360) [wnd16.c:493] in user32.dll.so) (ebp=415a243c)
  18 0x407d7d90 (__wine_user_exe_CallFrom16_p_word_wwpp+0x4c(proc=0x407dccbc,
args=0x40488342) [user.exe.spec.c:890] in user32.dll.so) (ebp=415a245c)
  19 0x400b5f8c (__wine_call_from_16_word+0x94 [relay16.s] in libntdll.dll.so)
(ebp=415a2494)
  20 0x0247:0x33b4 (bp=a5fe)
  21 0x0247:0x3409 (bp=a614)
  22 0x0237:0x26fc (bp=a620, far call assumed)
  23 0x0237:0x366c (bp=a62e)
  24 0x0237:0x8556 (bp=a664)
  25 0x0237:0x85ba (bp=a694)
  26 0x0237:0x47df (bp=a6a2)
  27 0x0247:0x016f (bp=a6c4, far call assumed)
  28 0x009f:0x0000 (bp=a6fe)
  29 0x4082a957 (WINPROC_CallWndProc16+0x163(proc=0x4a700f9, hwnd=0x2e,
msg=0x500, wParam=0x0, lParam=0x0) [winproc.c:255] in user32.dll.so) (ebp=415a279c)
  30 0x40807d71 (DefDlgProc16+0x69(hwnd=0x2e, msg=0x500, wParam=0x0, lParam=0x0)
[defdlg.c:301] in user32.dll.so) (ebp=415a27d4)
  31 0x407d89a6 (__wine_user_exe_CallFrom16_p_long_wwwl+0x1a(proc=0x40807d08,
args=0x40488454) [user.exe.spec.c:1449] in user32.dll.so) (ebp=415a27ec)
  32 0x400b6060 (__wine_call_from_16_long+0x94 [relay16.s] in libntdll.dll.so)
(ebp=415a2824)
  33 0x0287:0x0d4b (bp=a73a)
  34 0x0287:0x0d97 (bp=a74a)
  35 0x009f:0x0000 (bp=a784)
  36 0x4082a957 (WINPROC_CallWndProc16+0x163(proc=0x2870d7b, hwnd=0x2e,
msg=0x500, wParam=0x0, lParam=0x0) [winproc.c:255] in user32.dll.so) (ebp=415a2b2c)
  37 0x40843837 (DispatchMessage16+0xaf(msg=0x40488502) [msg16.c:301] in
user32.dll.so) (ebp=415a2b74)
  38 0x40843a3c (IsDialogMessage16+0x40(hwndDlg=0x2e, msg16=0x40488502)
[msg16.c:364] in user32.dll.so) (ebp=415a2bb0)
  39 0x407d7398 (__wine_user_exe_CallFrom16_p_word_wp+0x34(proc=0x408439fc,
args=0x404884da) [user.exe.spec.c:514] in user32.dll.so) (ebp=415a2bc8)
  40 0x400b5f8c (__wine_call_from_16_word+0x94 [relay16.s] in libntdll.dll.so)
(ebp=415a2c00)
  41 0x0247:0x1a9a (bp=a792)
  42 0x0247:0x1a29 (bp=a7a2)
  43 0x0247:0x19d3 (bp=a7c4)
  44 0x0247:0x196c (bp=a7ce)
  45 0x0237:0x918f (bp=a7d8, far call assumed)

Wine-dbg>WineDbg terminated on pid 8


-- 
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