[Bug 31023] CuteFTP 8.3.4 - "Encountered an improper argument." Error boxes after most actions.

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 2 07:01:01 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=31023

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://www.filehippo.com/do
                   |                            |wnload_cuteftp_home/7657
                 CC|                            |focht at gmx.net
          Component|-unknown                    |comctl32
     Ever confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

'winetricks comctl32' works around.

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/GlobalSCAPE/CuteFTP 8 Home

$ WINEDEBUG=+tid,+seh,+relay,+win,+msg,+commctl,+listview wine ./cuteftp.exe
>>log.txt 2>&1
...
0024:Call user32.SendMessageA(00020496,0000102f,00000000,00000000) ret=004f65ce
0024:Call window proc 0x5d8276
(hwnd=0x20496,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0024:Call user32.CallWindowProcA(ffff0014,00020496,0000102f,00000000,00000000)
ret=005d5322
0024:trace:msg:WINPROC_CallProcAtoW
(hwnd=0x20496,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0024:Call window proc 0x7e1f626e
(hwnd=0x20496,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0024:Call user32.GetWindowLongW(00020496,00000000) ret=7e1f62a0
0024:Ret  user32.GetWindowLongW() retval=0219d200 ret=7e1f62a0
0024:trace:listview:LISTVIEW_WindowProc (hwnd=0x20496 uMsg=102f wParam=0
lParam=0)
0024:trace:listview:LISTVIEW_SetItemCount (nItems=0, dwFlags=0)
0024:trace:listview:ranges_del ([0, 16])
0024:trace:listview:ranges_assert *** Checking
/home/focht/projects/wine/wine.repo/src/dlls/comctl32/listview.c:3279:before
del ***
0024:trace:listview:ranges_assert --- Done checking---
0024:trace:listview:ranges_assert *** Checking
/home/focht/projects/wine/wine.repo/src/dlls/comctl32/listview.c:3338:after del
***
0024:trace:listview:ranges_assert --- Done checking---
0024:trace:listview:LISTVIEW_SetItemState item={iItem=0, iSubItem=0, state=0,
stateMask=1}
0024:trace:listview:LISTVIEW_SetItemT (lpLVItem={iItem=0, iSubItem=0, state=0,
stateMask=1}, isW=1)
0024:Call user32.GetScrollInfo(00020496,00000000,0033d60c) ret=7e1ee117
0024:Ret  user32.GetScrollInfo() retval=00000001 ret=7e1ee117
0024:Call user32.GetScrollInfo(00020496,00000001,0033d60c) ret=7e1ee140
0024:Ret  user32.GetScrollInfo() retval=00000001 ret=7e1ee140
0024:trace:listview:LISTVIEW_GetOrigin nHorzPos=0, nVertPos=0
0024:trace:listview:LISTVIEW_GetOrigin  origin=(0,17)
0024:trace:listview:LISTVIEW_GetItemMetrics (lpLVItem={iItem=0, iSubItem=0})
0024:trace:listview:LISTVIEW_GetItemMetrics     - box=(0,0)-(640,17)
0024:Call user32.OffsetRect(0033d908,00000002,00000011) ret=7e1e313e
0024:Ret  user32.OffsetRect() retval=00000001 ret=7e1e313e
0024:trace:listview:set_main_item ()
0024:trace:listview:LISTVIEW_GetItemT (item={iItem=0, iSubItem=0, state=0,
stateMask=3, lParam=0}, isW=1)
0024:trace:listview:LISTVIEW_GetItemT mask=c
0024:trace:listview:ranges_contain (nItem=0)
0024:trace:listview:ranges_assert *** Checking
/home/focht/projects/wine/wine.repo/src/dlls/comctl32/listview.c:3154:before
contain ***
0024:trace:listview:ranges_assert --- Done checking---
0024:trace:listview:set_main_item oldState=1, newState=0
0024:trace:listview:set_main_item change mask=0x8
0024:trace:listview:notify_listview (code=-101, plvnm=iItem=0, iSubItem=0,
uNewState=0x0, uOldState=0x1, uChanged=0x8, ptAction=(0,0), lParam=0)
0024:trace:listview:notify_hdr (code=-101)
0024:Call user32.GetWindowLongW(00020496,fffffff4) ret=7e1dee61
0024:Ret  user32.GetWindowLongW() retval=0000e900 ret=7e1dee61
0024:Call user32.SendMessageW(0005040c,0000004e,0000e900,0033d878) ret=7e1dee9c
0024:trace:msg:WINPROC_CallProcWtoA
(hwnd=0x5040c,msg=WM_NOTIFY,wp=0000e900,lp=0033d878)
0024:Call window proc 0x5d8276
(hwnd=0x5040c,msg=WM_NOTIFY,wp=0000e900,lp=0033d878)
0024:Call user32.GetDlgCtrlID(00020496) ret=005d911e
0024:Ret  user32.GetDlgCtrlID() retval=0000e900 ret=005d911e
0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033cd94)
ret=0064768c
0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a97b
ip=7b83a97b tid=0024
0024:trace:seh:raise_exception  info[0]=19930520
0024:trace:seh:raise_exception  info[1]=0033cdb0
0024:trace:seh:raise_exception  info[2]=007715e4
0024:trace:seh:raise_exception  eax=7b8269e1 ebx=7b8bb000 ecx=19930520
edx=0033ccd4 esi=0033cd80 edi=0033cd40
0024:trace:seh:raise_exception  ebp=0033cd18 esp=0033ccb4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200283
0024:trace:seh:call_stack_handlers calling handler at 0x6c0961 code=e06d7363
flags=1
...
0024:Call user32.MessageBoxA(000a0524,0033c3cc "Encountered an improper
argument.",006d8828 "CuteFTP",00000010) ret=004136d8 
--- snip ---

The same place with native override:

--- snip ---
0029:Call user32.SendMessageA(0002047e,0000102f,00000000,00000000) ret=004f65ce
0029:Call window proc 0x5d8276
(hwnd=0x2047e,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0029:Call user32.CallWindowProcA(ffff0010,0002047e,0000102f,00000000,00000000)
ret=005d5322
0029:trace:msg:WINPROC_CallProcAtoW
(hwnd=0x2047e,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0029:Call window proc 0x715968da
(hwnd=0x2047e,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000)
0029:Call user32.GetWindowLongW(0002047e,00000000) ret=715968f1
0029:Ret  user32.GetWindowLongW() retval=031fe7d0 ret=715968f1
0029:Call user32.InvalidateRect(0002047e,00000000,00000001) ret=715b1bb0
0029:trace:win:RedrawWindow 0x2047e whole window flags: RDW_INVALIDATE
RDW_ERASE
0029:Ret  user32.InvalidateRect() retval=00000001 ret=715b1bb0
0029:Ret  window proc 0x715968da
(hwnd=0x2047e,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000) retval=00000001
0029:Ret  user32.CallWindowProcA() retval=00000001 ret=005d5322
0029:Ret  window proc 0x5d8276
(hwnd=0x2047e,msg=LVM_SETITEMCOUNT,wp=00000000,lp=00000000) retval=00000001
0029:Ret  user32.SendMessageA() retval=00000001 ret=004f65ce
0029:Call KERNEL32.GetLastError() ret=00657e5a
0029:Ret  KERNEL32.GetLastError() retval=00000000 ret=00657e5a
0029:Call user32.GetParent(0002047e) ret=005d844d
0029:Ret  user32.GetParent() retval=000503f2 ret=005d844d
0029:Call user32.GetParent(000503f2) ret=005dbd9c
0029:Ret  user32.GetParent() retval=0001010c ret=005dbd9c
0029:Call ntdll.RtlAllocateHeap(0094f000,00000000,00000015) ret=006477d2
0029:Ret  ntdll.RtlAllocateHeap() retval=009ad3f0 ret=006477d2
0029:Call user32.SendMessageA(000404aa,00000146,00000000,00000000) ret=00516d84
0029:Call window proc 0x5d8276
(hwnd=0x404aa,msg=CB_GETCOUNT,wp=00000000,lp=00000000)
0029:Call user32.CallWindowProcA(ffff0023,000404aa,00000146,00000000,00000000)
ret=005d5322
...
--- snip ---

$ sha1sum cuteftp.exe 
c3e9bf00874865abdc41848ef0e456ad2df33319  cuteftp.exe

$ du -sh cuteftp.exe 
17M    cuteftp.exe

$ wine --version
wine-1.7.13-118-g0eb6265

Regards

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



More information about the wine-bugs mailing list