http://bugs.winehq.org/show_bug.cgi?id=21872
Summary: Webload crashes on WINE Product: Wine Version: 1.1.38 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: correo.cuervo@gmail.com
Created an attachment (id=26501) --> (http://bugs.winehq.org/attachment.cgi?id=26501) Copy of terminal contents from the starting process
I'm launching Webload and appears one error message screen and after, when I'm trying to create something, the application closes.
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #1 from Austin English austinenglish@gmail.com 2010-02-26 12:00:21 ---
err:module:import_dll Library mgmtapi.dll (which is needed by L"C:\Program Files\WebLOAD\bin\SnmpBrowser.dll") not found err:module:import_dll Library SnmpBrowser.dll (which is needed by L"C:\Program Files\WebLOAD\bin\WLSnmpPerfMon.dll") not found
Try cd'ing to the application directory. Or using 'wine start Webload.exe'.
http://bugs.winehq.org/show_bug.cgi?id=21872
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Webload crashes on WINE |Webload crashes
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #2 from Maxwell Draven correo.cuervo@gmail.com 2010-02-26 16:01:37 --- (In reply to comment #1)
err:module:import_dll Library mgmtapi.dll (which is needed by L"C:\Program Files\WebLOAD\bin\SnmpBrowser.dll") not found err:module:import_dll Library SnmpBrowser.dll (which is needed by L"C:\Program Files\WebLOAD\bin\WLSnmpPerfMon.dll") not found
Try cd'ing to the application directory. Or using 'wine start Webload.exe'.
I tried and nothing changes. I'm attaching another data files.
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #3 from Maxwell Draven correo.cuervo@gmail.com 2010-02-26 16:03:55 --- Created an attachment (id=26506) --> (http://bugs.winehq.org/attachment.cgi?id=26506) Screenshot from first dialog box
http://bugs.winehq.org/show_bug.cgi?id=21872
Maxwell Draven correo.cuervo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26506|Screenshot from first |Screenshot from first error description|dialog box |window
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #4 from Maxwell Draven correo.cuervo@gmail.com 2010-02-26 16:05:32 --- Created an attachment (id=26507) --> (http://bugs.winehq.org/attachment.cgi?id=26507) Screenshot from webload main screen
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #5 from Maxwell Draven correo.cuervo@gmail.com 2010-02-26 16:08:38 --- Created an attachment (id=26508) --> (http://bugs.winehq.org/attachment.cgi?id=26508) Copy of terminal contents from the starting process (second try)
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #6 from Austin English austinenglish@gmail.com 2010-02-26 16:10:11 --- Is there a public download of this somewhere?
Try 'wine start Webload.exe' from your home directory.
http://bugs.winehq.org/show_bug.cgi?id=21872
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2010-02-27 01:05:08 --- http://www.webload.org seems to have it
http://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #8 from Austin English austinenglish@gmail.com 2010-02-27 12:57:36 --- I get: austin@midna:~/.wine/drive_c/Program Files/RadView/WebLOAD/bin$ wine WebLoad.exe err:module:import_dll Library RWUXThemeS60.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\og1100as.dll") not found err:module:import_dll Library og1100as.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\PMManager.dll") not found err:module:import_dll Library PMManager.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\WebLoad.exe") not found err:module:import_dll Library RWUXThemeS60.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\ot1000as.dll") not found err:module:import_dll Library RWUXThemeS60.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\sfl400as.dll") not found err:module:import_dll Library sfl400as.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\ot1000as.dll") not found err:module:import_dll Library ot1000as.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\WebLoad.exe") not found err:module:import_dll Library RWUXThemeS60.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\og1100as.dll") not found err:module:import_dll Library og1100as.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\WebLoad.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\RadView\WebLOAD\bin\WebLoad.exe" failed, status c0000135
which seems to be RWUXThemeS60.dll missing.
http://bugs.winehq.org/show_bug.cgi?id=21872
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21872
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://www.radview.com/try- | |webload.aspx CC| |focht@gmx.net Summary|Webload crashes |Webload fails to install | |dll properly (Version.dll | |VerInstallFile 8.3 short | |vs. existing long file | |name) Ever Confirmed|0 |1
--- Comment #9 from Anastasius Focht focht@gmx.net 2012-01-30 17:15:03 CST --- Hello,
needs 'winetricks -q mfc42 mfc40' in clean WINEPREFIX.
There is nothing about missing SNMP libraries yet. I get the same error as Austin about missing dll:
--- snip --- err:module:import_dll Library RWUXThemeS60.dll (which is needed by L"C:\Program Files\RadView\WebLOAD\bin\og1100as.dll") not found ... --- snip ---
Trace log:
--- snip --- 0024:Call KERNEL32.CreateFileA(0032e52c "C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll",80000000,00000001,00000000,00000003,00000080,00000000) ret=100140c9 0024:Ret KERNEL32.CreateFileA() retval=ffffffff ret=100140c9 ... 0024:Call KERNEL32.MoveFileA(0032d29c "C:\PROG~FBU\RadView\WebLOAD\bin\~GLH0316.TMP",0032d39c "C:\PROG~FBU\RadView\WebLOAD\bin\RWUXThemeS60.dll") ret=10014fed 0024:Ret KERNEL32.MoveFileA() retval=00000001 ret=10014fed 0024:Call KERNEL32.DeleteFileA(0032de1c "C:\Program Files\RadView\WebLOAD\bin\~GLH0315.TMP") ret=10006f8a 0024:Ret KERNEL32.DeleteFileA() retval=00000001 ret=10006f8a ... 0024:Call KERNEL32.FindFirstFileA(0032d2ac "C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll",0032d158) ret=10013fe8 0024:Ret KERNEL32.FindFirstFileA() retval=0074d3f0 ret=10013fe8 ... 0024:Call KERNEL32.CreateFileA(0032e52c "C:\PROG~FBU\RadView\WebLOAD\bin\RWUXThemeS60.dll",80000000,00000001,00000000,00000003,00000080,00000000) ret=100140c9 0024:Ret KERNEL32.CreateFileA() retval=0000000c ret=100140c9 ... 0024:Call KERNEL32.FindFirstFileA(0032cf8c "C:\PROG~FBU\RadView\WebLOAD\bin\RWUXThemeS60.dll",0032ca30) ret=10013fe8 0024:Ret KERNEL32.FindFirstFileA() retval=0074d3f0 ret=10013fe8 ... 0024:Call KERNEL32.CreateFileA(0032cf8c "C:\PROG~FBU\RadView\WebLOAD\bin\RWUX~OPY.DLL",80000000,00000001,00000000,00000003,00000080,00000000) ret=100140c9 0024:Ret KERNEL32.CreateFileA() retval=0000000c ret=100140c9 ... 0024:Call KERNEL32.lstrlenA(0032d08c "File Copy: C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll | 02-06-2011 | 17:04:34 | 1.0.8.0 | 81920 | 69e4ecf3\r\n") ret=1000c524 0024:Ret KERNEL32.lstrlenA() retval=00000077 ret=1000c524 ... 0024:Call KERNEL32.GetFileAttributesA(0032e52c "C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll") ret=10014394 0024:Ret KERNEL32.GetFileAttributesA() retval=00000020 ret=10014394 ... 0024:Call version.VerInstallFileA(00000002,0032de41 "~GLH0718.TMP",0032d3bc "RWUX~OPY.DLL",0032da1c "C:\Program Files\RadView\WebLOAD\bin",00591d30 "C:\PROG~FBU\RadView\WebLOAD\bin",00591c18 "C:\PROG~FBU\RadView\WebLOAD\bin",00591e48,0032d4c4) ret=10014fd3 0024:Call KERNEL32.LZOpenFileA(0032cd68 "C:\Program Files\RadView\WebLOAD\bin\~GLH0718.TMP",0032cce0,00000000) ret=7effc0c1 0024:Ret KERNEL32.LZOpenFileA() retval=0000000c ret=7effc0c1 0024:Call KERNEL32.GetFileAttributesA(0032ce6c "C:\PROG~FBU\RadView\WebLOAD\bin\RWUX~OPY.DLL") ret=7effc136 0024:Ret KERNEL32.GetFileAttributesA() retval=00000020 ret=7effc136 0024:Call KERNEL32.GetTempFileNameA(00591d30 "C:\PROG~FBU\RadView\WebLOAD\bin",7effd4b8 "ver",00000000,0032ce6c) ret=7effc215 0024:Ret KERNEL32.GetTempFileNameA() retval=0000aaaa ret=7effc215 0024:Call KERNEL32.OpenFile(0032ce6c "C:\PROG~FBU\RadView\WebLOAD\bin\veraaaa.tmp",0032cce0,00001000) ret=7effc272 0024:Ret KERNEL32.OpenFile() retval=0000009c ret=7effc272 ... 0024:Call KERNEL32.DeleteFileA(0032cf70 "C:\PROG~FBU\RadView\WebLOAD\bin\RWUX~OPY.DLL") ret=7effc5fd 0024:Ret KERNEL32.DeleteFileA() retval=00000001 ret=7effc5fd 0024:Call KERNEL32.MoveFileA(0032ce6c "C:\PROG~FBU\RadView\WebLOAD\bin\veraaaa.tmp",0032cf70 "C:\PROG~FBU\RadView\WebLOAD\bin\RWUX~OPY.DLL") ret=7effc70f 0024:Ret KERNEL32.MoveFileA() retval=00000001 ret=7effc70f 0024:Call KERNEL32.LZClose(0000000c) ret=7effc750 0024:Ret KERNEL32.LZClose() retval=00000000 ret=7effc750 0024:Ret version.VerInstallFileA() retval=00000000 ret=10014fd3 ... 0024:Call KERNEL32.FindFirstFileA(0032d2ac "C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll",0032d158) ret=10013fe8 0024:Ret KERNEL32.FindFirstFileA() retval=ffffffff ret=10013fe8 --- snip ---
The app log file:
--- snip --- File Copy: C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll | 02-06-2011 | 17:04:34 | 1.0.8.0 | 81920 | 69e4ecf3 ... File Overwrite: C:\Program Files\RadView\WebLOAD\bin\og1100as.dll | 02-06-2011 | 17:05:06 | | 1822720 | 9a8c37ff File Copy: C:\Program Files\RadView\WebLOAD\bin\ot1000as.dll | 02-06-2011 | 17:05:02 | 10.0.0.0 | 2486272 | f72fa0b File Overwrite: C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll | | | | 81920 | 69e4ecf3 ... --- snip ---
The file was first created (moved) with long name "RWUXThemeS60.dll" in "bin" folder. Later VerInstallFileA() recreated the file with its short 8.3 name "RWUX~OPY.DLL" in "bin" folder (same binary content). The short version is probably used by installer for Win9X compat. It's the only file with that anomaly.
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms647462%28v=vs.85%2...
Maybe VerInstallFile() isn't supposed to recreate with 8.3 name if long version exists or vise-versa?
There is a VerInstallFile() compatibility problem mentioned here (application shim): http://technet.microsoft.com/en-us/library/cc722047%28WS.10%29.aspx
--- quote --- CorrectVerInstallFile
You receive an error message stating "The application or DLL %SYSTEMDRIVE% :\ %WINDIR% \system32\ole2.dll is not a valid Windows image" when you attempt to install an application.
Corrects a problem that occurs in Windows XP Professional when calling the VerInstallFile function, due to a destination file existing in a destination directory with an 8.3 file name rather than a long file name.
This compatibility fix searches the destination directory for either the long file name or the 8.3 file name to determine whether to overwrite the destination file. --- quote ---
$ sha1sum WebLOAD\ Professional-8.6.0.040.en.exe 04bbd9a6901524d8590d10c880ae566f2e08ba1b WebLOAD Professional-8.6.0.040.en.exe
$ wine --version wine-1.4-rc1-34-g01947e0
Regards
http://bugs.winehq.org/show_bug.cgi?id=21872
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Webload fails to install |Webload fails to install |dll properly (Version.dll |dll properly (Version.dll |VerInstallFile 8.3 short |VerInstallFile with |vs. existing long file |VIFF_DONTDELETEOLD) |name) |
--- Comment #10 from Anastasius Focht focht@gmx.net 2012-01-30 18:09:54 CST --- Hello again,
well it's late so ... ;-)
VerInstallFile() flags -> VIFF_DONTDELETEOLD
MSDN says for VIFF_DONTDELETEOLD: "Installs the file without deleting the previously installed file, if the previously installed file is not in the destination directory."
http://source.winehq.org/git/wine.git/blob/6a8ba3616c7eebd2ea42deba2ce087d58...
--- snip --- 1334 DWORD WINAPI VerInstallFileA( 1335 DWORD flags,LPCSTR srcfilename,LPCSTR destfilename,LPCSTR srcdir, 1336 LPCSTR destdir,LPCSTR curdir,LPSTR tmpfile,PUINT tmpfilelen ) 1337 { ... 1424 if (!(flags & VIFF_FORCEINSTALL)) { 1425 VS_FIXEDFILEINFO *destvffi,*tmpvffi; 1426 buf1 = _fetch_versioninfo(destfn,&destvffi); ... 1455 HeapFree(GetProcessHeap(), 0, buf2); 1456 } else 1457 xret=VIF_MISMATCH|VIF_SRCOLD; 1458 HeapFree(GetProcessHeap(), 0, buf1); 1459 } 1460 } ... 1470 } else { 1471 if (INVALID_FILE_ATTRIBUTES!=GetFileAttributesA(destfn)) 1472 if (!DeleteFileA(destfn)) { 1473 xret|=_error2vif(GetLastError())|VIF_CANNOTDELETE; 1474 DeleteFileA(tmpfn); 1475 LZClose(hfsrc); 1476 return xret; 1477 } 1478 if ((!(flags & VIFF_DONTDELETEOLD)) && 1479 curdir && 1480 *curdir && 1481 lstrcmpiA(curdir,pdest) 1482 ) { 1483 char curfn[260]; 1484 1485 sprintf(curfn,"%s\%s",curdir,destfilename); 1486 if (INVALID_FILE_ATTRIBUTES != GetFileAttributesA(curfn)) { 1487 /* FIXME: check if in use ... if it is, VIF_CANNOTDELETECUR */ 1488 if (!DeleteFileA(curfn)) 1489 xret|=_error2vif(GetLastError())|VIF_CANNOTDELETECUR; 1490 } 1491 } 1492 if (!MoveFileA(tmpfn,destfn)) { 1493 xret|=_error2vif(GetLastError())|VIF_CANNOTRENAME; 1494 DeleteFileA(tmpfn); 1495 } 1496 } 1497 LZClose(hfsrc); 1498 return xret; 1499 } --- snip ---
Existing file prior calling VerInstallFileA(): "RWUXThemeS60.dll"
Winedbg session:
--- snip --- Wine-dbg>bt Backtrace: =>0 0x7effc5ef VerInstallFileA+0x6c3(flags=0x2, srcfilename="~GLH0718.TMP", destfilename="RWUX~OPY.DLL", srcdir="C:\Program Files\RadView\WebLOAD\bin", destdir="C:\PROG~FBU\RadView\WebLOAD\bin", curdir="C:\PROG~FBU\RadView\WebLOAD\bin", tmpfile="", tmpfilelen=0x33d4c4) [/home/focht/projects/wine/wine-git/dlls/version/version.c:1472] in version (0x0033d168) 1 0x10014fd3 in glc3cb9.tmp (+0x14fd2) (0x0033d49c) 2 0x10006dbd in glc3cb9.tmp (+0x6dbc) (0x0033e6a4) 3 0x10005abb in glc3cb9.tmp (+0x5aba) (0x0033e7ac) 4 0x10004314 in glc3cb9.tmp (+0x4313) (0x0033f4c4) ... Wine-dbg>n 1471 if (INVALID_FILE_ATTRIBUTES!=GetFileAttributesA(destfn)) Wine-dbg>n 1472 if (!DeleteFileA(destfn)) { --- snip ---
The source and destination file are binary identical. Maybe VerInstallFile() isn't supposed to delete the destination in this case? Another method might be overwriting the destination file (instead of delete/move), keeping the original long file name.
Regards
https://bugs.winehq.org/show_bug.cgi?id=21872
--- Comment #11 from Austin English austinenglish@gmail.com --- Still present.
austin@aw25 ~ $ wine --version wine-1.7.20-33-g3ccaad8 austin@aw25 ~ $ du -h WebLOAD+Professional-10.1.0.124.en.exe 362M WebLOAD+Professional-10.1.0.124.en.exe austin@aw25 ~ $ sha1sum WebLOAD+Professional-10.1.0.124.en.exe e11860d9104497587c56a90828e374a26e9fdc65 WebLOAD+Professional-10.1.0.124.en.exe