http://bugs.winehq.com/show_bug.cgi?id=1503
------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2003-02-06 12:15 -------
Andreas, thanks for reply
any ideas about some points of relay where all scenario should be changed? or
should we wait for Alexandre to come back from vacation :-?
in any case i am afraid it would be too hard for me to handle this situation
alone.
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1503
------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2003-02-06 12:06 -------
hi Duane, that's a no problem :)
i have read through bodies of some functions and saw some unexpected details.
one for example could be that 32-to-16 bit message translations. at first i
thought the cause of crash is translation, wrongly truncating "wParam". after i
read some old win3.1 api help and thought both the pointers, and both integers
they are pointing to should be 16-bit wide.
it seems, wine passes 32-bit pointers to win16 subroutines. here arises
question for me: why? shouldn't that address/pointers be translated alltogether
somewhere between the:
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)
or somewhere else?
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1503
andi(a)rhlx01.fht-esslingen.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2003-02-06 11:56 -------
Hmm, if I have a closer look at WINPROC_MapMsg32ATo16(),
I notice that SBM_GETRANGE doesn't receive any special handling.
However I think it should be handled specially, since both LPARAM and WPARAM
are supposed to be pointers to min and max values.
In Win16 Watcom, it is defined as:
void WINAPI GetScrollRange(HWND, int, int FAR*, int FAR*);
In other words, *both* variables should be FAR pointers.
Ah, WAIT!! Watcom has:
./h/nt/winuser.h:#define SBM_GETRANGE 0x00E3 /*not in win3.1 */
Guess why this is not available in Win3.1??
Because WPARAM is only 16bit-sized in Win16 (this was the big mystery that I've
been trying to solve for 10 minutes now: how to fit a FAR pointer in a 16bit
variable?? Answer: you don't ;)
So it seems like Wine misbehaves here and does a Win16 call into our
ScrollBarWndProc() for some reason. It should prevent this from happening much
earlier, since using such Win16-crippled "pointers" CANNOT work, of course...
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1503
------- Additional Comments From dclark(a)akamail.com 2003-02-06 11:27 -------
Oops, I read the second comment before the first. You already figured that out,
sorry.
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1503
------- Additional Comments From dclark(a)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.
http://bugs.winehq.com/show_bug.cgi?id=1505
Summary: RE:OLE32.dll does not work for visual foxpro application
Product: Wine
Version: 20030508
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: ungsm(a)onlineeos.com
the OCX library since unable to loaded into the visual foxpro application when
the native ole32.dll have been call
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1504
------- Additional Comments From jon(a)campbellsci.com 2003-02-06 10:29 -------
I can provide a binary for the application if that would be of use
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1504
Summary: Can't connect to a server running under wine
Product: Wine
Version: 20030508
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-net
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: jon(a)campbellsci.com
I have a windows server application that I am attempting to test under wine
that offers a TCP service listening on port 6785. The application appears to
be running (it creates an entry in the system tray and I can access its about
box) and I can see the service entry when I use "netstat -a -p | grep
tcp.*6785" but when I attempt to connect to my server, the connection is
refused.
I am running the specified version of wine on a RedHat 9.0 linux distribution.
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1503
------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2003-02-06 10:16 -------
[s2@localhost c]$ wine --version
Wine 20030508
[s2@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.