http://bugs.winehq.org/show_bug.cgi?id=31023
Bug #: 31023 Summary: CuteFTP 8.3.4 - "Encountered an improper argument." Error boxes after most actions. Product: Wine Version: 1.5.7 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: nicekiwi@gmail.com Classification: Unclassified
Created attachment 40721 --> http://bugs.winehq.org/attachment.cgi?id=40721 debug logfile
Interacting with most buttons and will cause at least one popup box with the text "Encountered an improper argument.".
http://bugs.winehq.org/show_bug.cgi?id=31023
--- Comment #1 from Ezra Sharp nicekiwi@gmail.com 2012-06-26 01:45:38 CDT --- Created attachment 40722 --> http://bugs.winehq.org/attachment.cgi?id=40722 Image of the popup error
https://bugs.winehq.org/show_bug.cgi?id=31023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.filehippo.com/do | |wnload_cuteftp_home/7657 CC| |focht@gmx.net Component|-unknown |comctl32 Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@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
https://bugs.winehq.org/show_bug.cgi?id=31023
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- I found a realiable way to reproduce the issue.
Use the second mouse button --> New folder.
still an issue 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=31023
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- This might be fixed with https://source.winehq.org/git/wine.git/commit/af4a757ad2cacbd238486632d0f7bd.... Please retest.
https://bugs.winehq.org/show_bug.cgi?id=31023
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=31023
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |af4a757ad2cacbd238486632d0f | |7bd6f0a94483f Resolution|--- |FIXED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I think that did it, I can reproduce with af4a757ad2cacbd238486632d0f7bd6f0a94483f reverted by connecting to vendor ftp and closing connection pane. That gives error message box two times.
Installer I used (as currently served for v8):
d499ec7de157d6bc65b1c40c6ae4e1294ca47686 cuteftppro.exe
https://bugs.winehq.org/show_bug.cgi?id=31023
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.13.