http://bugs.winehq.org/show_bug.cgi?id=24424
Summary: msvcrt.dll invalid ELF header Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: s.zuban@gmail.com
after upgrade from 1.3.1 to 1.3.2 Far manager (http://farmanager.com/download.php?l=en) stopped working. Debug log attached.
WINEDEBUG=warn+all wineconsole --backend=user Far.exe
Tried other console apps and got the same error:
warn:module:load_builtin_dll failed to load .so lib for builtin L"C:\windows\system32\msvcrt.dll": /home/sezal/.wine/dosdevices/c:/windows/system32/msvcrt.dll: invalid ELF header
Note, it can't load PxHelp20.sys as well.
http://bugs.winehq.org/show_bug.cgi?id=24424
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Component|msvcrt |-unknown Summary|msvcrt.dll invalid ELF |Far manager stopped to run |header |
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-16 07:26:21 CDT --- (In reply to comment #0)
warn:module:load_builtin_dll failed to load .so lib for builtin L"C:\windows\system32\msvcrt.dll": /home/sezal/.wine/dosdevices/c:/windows/system32/msvcrt.dll: invalid ELF header
The warning above has nothing to do with the problem.
If this is a regression please post the results of your regression testing: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=24424
--- Comment #2 from Sergiy Zuban s.zuban@gmail.com 2010-09-16 08:31:13 CDT --- Created an attachment (id=30793) --> (http://bugs.winehq.org/attachment.cgi?id=30793) debug log
anyway the bug seems to be related to msvcrt (sorry i forgot to attach debug log during initial post):
warn:msvcrt:msvcrt_init_console :Console handle Initialisation FAILED!
sorry, I'm not technical enough to perform complete regression testing (as I understand it requires revision-by-revision recomplication of wine).
http://bugs.winehq.org/show_bug.cgi?id=24424
--- Comment #3 from Austin English austinenglish@gmail.com 2010-09-16 10:23:10 CDT --- (In reply to comment #2)
sorry, I'm not technical enough to perform complete regression testing (as I understand it requires revision-by-revision recomplication of wine).
Yes, but it's relatively easy, git does most of the work for you. If you need help, use wine-users/the forums.
http://bugs.winehq.org/show_bug.cgi?id=24424
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |wylda@volny.cz Ever Confirmed|0 |1
--- Comment #4 from Wylda wylda@volny.cz 2010-09-18 20:13:13 CDT ---
Confirming. Partially fixed in wine-1.3.3. (wine-1.3.1 is OK, wine-1.3.2 does not work).
So in 1.3.3 Far runs, but on exit it don't give me my console back, so i must press Ctrl+C. Then it gives me console back under my control, but: 1. console reset is needed 2. cursor is still missing 3. vomits:
0x979ed40:1: Fd unix_fd=24 user=0x9728700 options=00000020 0x9728700:1: Console screen buffer input=0x97a18f8 0x9727e58:1: Fd unix_fd=23 user=0x97a18f8 options=00000020 0x9798bb0:1: Event manual=1 signaled=0 name="" 0x97a18f8:1: Console input active=0x9728700 evt=(nil) ^C
For those who never run Far under wine like me, you need to run it by: wineconsole --backend=curses cmd.exe /c c:/Program Files/Far/Far.exe /ag /x 'c:\'
I think regression test is not needed this time. Adding Eric to CC.
http://bugs.winehq.org/show_bug.cgi?id=24424
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
http://bugs.winehq.org/show_bug.cgi?id=24424
Yuri Khan yurivkhan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yurivkhan@gmail.com
--- Comment #5 from Yuri Khan yurivkhan@gmail.com 2010-09-20 04:08:48 CDT --- I believe I am seeing the same regression. I have performed a 'git bisect' between wine-1.3.1 (good) and wine-1.3.2 (bad), and it points to:
commit b39a8d9ea2879f079b4daa9832b1c01deb5b56a7 Author: Eric Pouech eric.pouech@orange.fr Date: Mon Aug 30 22:18:44 2010 +0200
server: Enhanced the console input object so that it doesn't require a wineconsole to be running.
Further, I partially confirm Wylda's observation:
* In wine-1.3.3, Far works. * Executing 'wineconsole Far.exe' starts several processes: wineconsole.exe Far.exe, Far.exe (as child of wineconsole.exe), services.exe, winedevice.exe MountMgr (as child of services.exe), and explorer.exe /desktop. * Quitting Far by pressing F10 and confirming the quit dialog causes Far.exe to terminate. The four remaining processes (wineconsole.exe, services.exe, winedevice.exe, explorer.exe) continue running. The console window remains open and control does not return to the parent shell from which 'wineconsole Far.exe' was started. * It is then possible to kill the wineconsole process by closing the console window, or by pressing Ctrl+C in terminal, or by issuing a kill command in a concurrent shell session. This gives back the shell prompt, and shortly after that, some debug information is printed.
0x8d2ea88:1: Fd unix_fd=24 user=0x8d2ea18 options=00000020 0x8d2ea18:1: Console screen buffer input=0x8d5fc48 0x8d30150:1: Fd unix_fd=23 user=0x8d5fc48 options=00000020 0x8d9b400:1: Event manual=1 signaled=0 name="" 0x8d5fc48:1: Console input active=0x8d2ea18 evt=(nil)
The auxiliary processes (services.exe, winedevice.exe and explorer.exe) also terminate at this point.
I do not seem to need a terminal reset.
http://bugs.winehq.org/show_bug.cgi?id=24424
--- Comment #6 from Austin English austinenglish@gmail.com 2010-09-22 16:09:42 CDT --- Should be fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=04607ca6320289b64fa7dc...
http://bugs.winehq.org/show_bug.cgi?id=24424
--- Comment #7 from Yuri Khan yurivkhan@gmail.com 2010-09-22 20:46:38 CDT --- Indeed it is.
http://bugs.winehq.org/show_bug.cgi?id=24424
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2010-09-22 21:01:48 CDT --- (In reply to comment #7)
Indeed it is.
Yippee! Marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=24424
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2010-10-01 13:56:46 CDT --- Closing bugs fixed in 1.3.4.