http://bugs.winehq.org/show_bug.cgi?id=9638
Summary: fileant won't start Product: Wine Version: CVS/GIT Platform: Other URL: http://fileant.com OS/Version: other Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
In http://groups.google.com/group/bsdg/msg/0dddf606e5dab3a7 a user mentioned that he wanted the app FileAnt to work, so I gave it a shot with wine-0.9.44-gcdc8d97. It seems to be a VB6 app, so I did winetricks vcrun6 vbrun60 before installing. This helped the installer complete without warnings about missing vb runtime. However, on startup, the app complains FileAnt needs a Microsoft file. FileAnt will now open the url for this file. +relay revealed the missing object was WSH: 0009:Call ole32.CLSIDFromProgID(00419b14 L"Scripting.FileSystemObject",0034f888) ret=660d965e
winetricks wsh51 got past that, but then the app crashed in the app's window proc.
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #1 from Dan Kegel dank@kegel.com 2007-09-12 08:54:47 --- Created an attachment (id=8038) --> (http://bugs.winehq.org/attachment.cgi?id=8038) Log of app crashing.
http://bugs.winehq.org/show_bug.cgi?id=9638
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Component|-unknown |ole
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-07 14:37:04 --- Starts fine with native oleaut32.dll. (have to run in virtual desktop though, the app starts minimized, and only in virtual desktop i can maximize it)
http://bugs.winehq.org/show_bug.cgi?id=9638
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nodisgod@yahoo.com
--- Comment #3 from scguy318 nodisgod@yahoo.com 2008-06-02 23:57:29 --- When I try FileAnt with today's Git (wine-1.0-rc3-37-gb4bf355), after installing vbrun60 and wsh56 through winetricks, I get this output:
fixme:ole:OleLoadPictureEx (0xbd273c,326,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f9dc), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x14d898)->(0x18be98, 0, (nil)), hacked stub. wine: Unhandled page fault on write access to 0x006c0070 at address 0x7bc43f56 (thread 0009), starting debugger...
The application simply hangs without any backtrace information.
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #4 from Dan Kegel dank@kegel.com 2008-06-03 07:19:21 --- That's consistent with my log, I think. Does native oleaut32.dll help, as it did for Louis?
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #5 from Austin English austinenglish@gmail.com 2008-06-03 11:02:27 --- (In reply to comment #3)
When I try FileAnt with today's Git (wine-1.0-rc3-37-gb4bf355), after installing vbrun60 and wsh56 through winetricks, I get this output:
fixme:ole:OleLoadPictureEx (0xbd273c,326,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f9dc), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x14d898)->(0x18be98, 0, (nil)), hacked stub. wine: Unhandled page fault on write access to 0x006c0070 at address 0x7bc43f56 (thread 0009), starting debugger...
The application simply hangs without any backtrace information.
$ winedbg winedbg> bt all
Will give you the backtrace.
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #6 from scguy318 nodisgod@yahoo.com 2008-06-03 14:54:19 --- Created an attachment (id=13645) --> (http://bugs.winehq.org/attachment.cgi?id=13645) FileAnt exception backtraces
I obtained a backtrace. The backtraces of the other Wine processes (e.g. winedevice and services) were not relevant to the problem so I omitted them. Initially an exception "inexact float result in 32-bit code" occurs in msvbvm60, then as I passed the exception up, rpcrt4 raises an exception, then eventually a page fault occurs in RtlAllocateHeap, then the process terminates.
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #7 from scguy318 nodisgod@yahoo.com 2008-06-03 14:55:39 --- I forgot to mention also that using native oleaut32.dll allows the application to start successfully.
http://bugs.winehq.org/show_bug.cgi?id=9638
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole |oleaut32
http://bugs.winehq.org/show_bug.cgi?id=9638
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |0.9.44.
--- Comment #8 from Austin English austinenglish@gmail.com 2009-01-10 16:38:27 --- Main website it down, PCWorld has a copy:
http://www.pcworld.com/downloads/file/fid,24148-order,1-page,1-c,alldownload...
Just hangs when I try to launch it.
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #9 from Andrew Nguyen arethusa26@gmail.com 2010-05-02 04:19:47 --- The application still crashes in wine-1.1.43-408-g3317fc3.
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29344
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|oleaut32 |-unknown
--- Comment #10 from Anastasius Focht focht@gmx.net 2011-12-14 09:06:21 CST --- Hello,
the app installs/starts successfully with following recipe:
$ bash winetricks -q vbrun60 wsh57
The full gui can be shown by double clicking systray icon.
Though there is still a (different) crash on update (first install) or shutdown. Might be a regression, deserving separate bug.
--- snip --- fixme:richedit:IRichEditOle_fnInPlaceDeactivate stub 0x9c564b0 fixme:richedit:IRichEditOle_fnInPlaceDeactivate stub 0x9c564b0 fixme:richedit:IRichEditOle_fnInPlaceDeactivate stub 0x9c57c88 wine: Unhandled page fault on read access to 0x00bbf894 at address 0x790136c4 (thread 000b), starting debugger... err:ntdll:RtlpWaitForCriticalSection section 0x40b468 "?" wait timed out in thread 0034, blocked by 0033, retrying (60 sec) Unhandled exception: page fault on read access to 0x00bbf894 in 32-bit code (0x790136c4). ... Backtrace: =>0 0x790136c4 DropTargetWrapper_Release+0x4f(iface=0x147e4c0) [/home/focht/projects/wine/wine-git/dlls/ole32/ole2.c:425] in ole32 (0x0033fbd0) 1 0x7903d253 stub_manager_delete+0xd6(m=0x147c8f0) [/home/focht/projects/wine/wine-git/dlls/ole32/stubmanager.c:245] in ole32 (0x0033fc20) 2 0x7903d419 stub_manager_int_release+0xc6(This=0x147c8f0) [/home/focht/projects/wine/wine-git/dlls/ole32/stubmanager.c:286] in ole32 (0x0033fc60) 3 0x78fe64ec apartment_release+0x203(apt=0x12a458) [/home/focht/projects/wine/wine-git/dlls/ole32/compobj.c:718] in ole32 (0x0033fce0) 4 0x78fe8108 CoUninitialize+0x149() [/home/focht/projects/wine/wine-git/dlls/ole32/compobj.c:1507] in ole32 (0x0033fd40) 5 0x790131ae OleUninitialize+0xfb() [/home/focht/projects/wine/wine-git/dlls/ole32/ole2.c:263] in ole32 (0x0033fd80) 6 0x6600e933 in msvbvm60 (+0xe932) (0x0033fd9c) 0x790136c4 DropTargetWrapper_Release+0x4f [/home/focht/projects/wine/wine-git/dlls/ole32/ole2.c:425] in ole32: movl 0x0(%eax),%eax 425 IDropTarget_Release(This->inner);
--- snip ---
$ sha1sum fileant.exe 1ec5daa9cabaf6960b20c5f06f1530c02c9ad6c8 fileant.exe
$ wine --version wine-1.3.34-295-g4918d91
Regards
http://bugs.winehq.org/show_bug.cgi?id=9638
Bug 9638 depends on bug 29344, which changed state.
Bug 29344 Summary: Multiple apps need Scripting.FileSystemObject implementation (Microsoft Scripting Runtime) http://bugs.winehq.org/show_bug.cgi?id=29344
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|fileant won't start |VB6 apps using scrrun | |FileSystem object fail | |because GetIDsOfNames is | |not implemented (Fileant, | |WinAmbulance, ...) Severity|enhancement |normal
--- Comment #11 from Anastasius Focht focht@gmx.net 2012-04-30 12:43:56 CDT --- Hello,
initial show stopper bug 29344 has been implemented now.
Capturing this bug for VB6 apps using FileSystem object.
The 'fileant' app doesn't crash anymore but a message box is displayed.
Prerequisite: 'winetricks -q vb6run'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/FileAnt ... WINEDEBUG=+tid,+seh,+scrrun,+ole,+variant wine ./FileAnt.exe >>log.txt 2>&1 ... 0024:trace:ole:CoCreateInstance (rclsid={0d43fe01-f093-11cf-8940-00a0c9054228}, pUnkOuter=(nil), dwClsContext=00000005, riid={00000000-0000-0000-c000-000000000046}, ppv=0x32f7ec) 0024:trace:ole:CoGetClassObject CLSID: {0d43fe01-f093-11cf-8940-00a0c9054228},IID: {00000001-0000-0000-c000-000000000046} 0024:trace:ole:COMPOBJ_DllList_Add 0024:trace:scrrun:DllMain 0x7d910000, 1, (nil) 0024:trace:ole:apartment_getclassobject added new loaded dll L"C:\windows\system32\scrrun.dll" 0024:trace:ole:apartment_getclassobject calling DllGetClassObject 0x7d91949e 0024:trace:scrrun:DllGetClassObject (CLSID_WshShell {00000001-0000-0000-c000-000000000046} 0x32f6e4) 0024:trace:scrrun:scrruncf_QueryInterface (0x7d92694c)->(IID_IClassFactory 0x32f6e4) 0024:trace:scrrun:scrruncf_AddRef (0x7d92694c) 0024:trace:scrrun:FileSystem_CreateInstance ((nil) {00000000-0000-0000-c000-000000000046} 0x32f7ec) 0024:trace:scrrun:filesys_QueryInterface 0x7d926938 {00000000-0000-0000-c000-000000000046} 0x32f7ec 0024:trace:scrrun:filesys_AddRef 0x7d926938 0024:trace:scrrun:scrruncf_Release (0x7d92694c) 0024:trace:scrrun:filesys_QueryInterface 0x7d926938 {7fd52380-4e07-101b-ae2d-08002b2ec713} 0x32f7fc 0024:fixme:scrrun:filesys_QueryInterface Unsupported interface {7fd52380-4e07-101b-ae2d-08002b2ec713} 0024:trace:scrrun:filesys_QueryInterface 0x7d926938 {37d84f60-42cb-11ce-8135-00aa004bb851} 0x32f800 0024:fixme:scrrun:filesys_QueryInterface Unsupported interface {37d84f60-42cb-11ce-8135-00aa004bb851} 0024:trace:scrrun:filesys_QueryInterface 0x7d926938 {00020400-0000-0000-c000-000000000046} 0x32f7cc 0024:trace:scrrun:filesys_AddRef 0x7d926938 0024:trace:scrrun:filesys_Release 0x7d926938 0024:trace:scrrun:filesys_AddRef 0x7d926938 0024:trace:scrrun:filesys_Release 0x7d926938 0024:fixme:scrrun:filesys_GetIDsOfNames (0x7d926938)->({00000000-0000-0000-0000-000000000000} 0x32f7e8 1 1033 0x32f7ec) 0024:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b8393b7 ip=7b8393b7 tid=0024 0024:trace:seh:raise_exception info[0]=deadcafe 0024:trace:seh:raise_exception info[1]=deadcafe 0024:trace:seh:raise_exception eax=7b8263e1 ebx=7b8af6b0 ecx=deadcafe edx=0032f710 esi=0012e6c0 edi=0012e6c0 0024:trace:seh:raise_exception ebp=0032f74c esp=0032f6e8 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 0024:trace:seh:call_stack_handlers calling handler at 0x735044eb code=c000008f flags=1 ... 0024:trace:variant:VarBstrCat L"Form_Initialize: ",L"Object doesn't support this action",0x32f7ec ... 0024:trace:ole:ICreateErrorInfoImpl_SetSource (0x16aa78): L"FileAnt" 0024:trace:ole:ICreateErrorInfoImpl_SetDescription (0x16aa78): L"Application-defined or object-defined error" --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/62077059a5aa9bd26eb51be82a5c31691...
--- snip --- 98 static HRESULT WINAPI filesys_GetIDsOfNames(IFileSystem3 *iface, REFIID riid, 99 LPOLESTR *rgszNames, UINT cNames, 100 LCID lcid, DISPID *rgDispId) 101 { 102 FIXME("(%p)->(%s %p %u %u %p)\n", iface, debugstr_guid(riid), rgszNames, cNames, 103 lcid, rgDispId); 104 105 return E_NOTIMPL; 106 } --- snip ---
$ du -sh fileant.exe 2.4M fileant.exe
$ sha1sum fileant.exe c5ae1630444ee4a11b2f7aa417002fac581f3273 fileant.exe
$ wine --version wine-1.5.3
Regards
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|29344 |
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |13982
http://bugs.winehq.org/show_bug.cgi?id=9638
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |scrrun
http://bugs.winehq.org/show_bug.cgi?id=9638
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com 2012-07-12 22:39:49 CDT --- IDispatch support is implemented by 6c5588f95d2e27aa14a1cc15d4fdfda012a4bd2f, it could fail as in bug 28605 though. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=9638
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Dan Kegel dank@kegel.com 2012-07-12 22:54:22 CDT --- Fileant seems to work now with just vbrun60!
Tested 1ec5daa9cabaf6960b20c5f06f1530c02c9ad6c8 fileant.exe from http://www.pcworld.com/downloads/file/fid,24148-order,1-page,1-c,alldownload...
http://bugs.winehq.org/show_bug.cgi?id=9638
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6c5588f95d2e27aa14a1cc15d4f | |dfda012a4bd2f
http://bugs.winehq.org/show_bug.cgi?id=9638
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2012-07-17 13:52:04 CDT --- Closing bugs fixed in 1.5.9.
http://bugs.winehq.org/show_bug.cgi?id=9638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux