[Bug 33619] New: UWIN installer fails with cannot seek to data offset
http://bugs.winehq.org/show_bug.cgi?id=33619 Bug #: 33619 Summary: UWIN installer fails with cannot seek to data offset Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: simon.toedt(a)gmail.com Classification: Unclassified The UWIN (Unix emulation on Windows) installer fails on Wine wine-1.5.23. The goal is to use WINE for automated testing without having to fire up a full blown Windows system each time in VMware or real iron. Steps to test: wget --http-user="I accept www.opensource.org/licenses/eclipse" --http-passwd="." 'http://www2.research.att.com/~gsf/download/beta/uwin-base.2013-02-08.win32.i...' wine uwin-base.2013-02-08.win32.i386.exe wine version is wine-1.5.23 The output of the first attempt: wine uwin-base.2013-02-08.win32.i386.exe wine: created the configuration directory '/home/stoe/.wine' fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:iphlpapi:NotifyAddrChange (Handle 0xf3e308, overlapped 0xf3e320): stub fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:iphlpapi:NotifyAddrChange (Handle 0x114e8d0, overlapped 0x114e8dc): stub wine: configuration in '/home/stoe/.wine' has been updated. Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: cannot seek to data offset The output of the second attempt: wine uwin-base.2013-02-08.win32.i386.exe Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: cannot seek to data offset I have no clue whatsoever what this means. Per http://www.opensource.apple.com/source/ksh/ksh-13/ksh/src/cmd/INIT/ratz.c the message comes from ratz.c when either open() or lseek() fails: ===========cut========== static int sear_seek(off_t offset, int tmp) { int n; char cmd[PATH_MAX]; GetModuleFileName(NULL, cmd, sizeof(cmd)); sear_stdin = dup(0); close(0); if (open(cmd, O_BINARY|O_RDONLY) || lseek(0, offset, 0) != offset) { fprintf(stderr, "%s: %s: cannot seek to data offset\n", state.id, cmd); return -1; } ===========cut========== AFAIK this should not fail, at least at the first glance. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Simon Toedt <simon.toedt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simon.toedt(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 --- Comment #1 from Simon Toedt <simon.toedt(a)gmail.com> 2013-05-19 14:14:47 CDT --- Here is a response from David Korn (yes, author of the Korn Shell 93):
uwin-base.2013-02-08.win32.i386.exe is an executable that is a version of pax followed by the pax file. The first thing that it does is seek to the byte location of the pax file and the executable portion of uwin-base.2013-02-08.win32.i386.exe then reads this file.
It looks as if seeking to a byte location in uwin-base.2013-02-08.win32.i386.exe isn't working in wine.
How can I debug this situation? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-05-19 15:16:29 CDT --- I remember a seek bug being fixed recently so I think the first thing you should do is to update to the latest development version (1.5.30). I can't reproduce the issue you describe. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 --- Comment #3 from Simon Toedt <simon.toedt(a)gmail.com> 2013-05-19 16:37:39 CDT --- (In reply to comment #2)
I remember a seek bug being fixed recently so I think the first thing you should do is to update to the latest development version (1.5.30). I can't reproduce the issue you describe.
Using 1.5.30 the installation appears to work, except that something is spamming the logs with messages like: fixme:netapi32:NetQueryDisplayInformation Level 1 partially implemented fixme:netapi32:NetUserGetInfo Level 3 is not implemented I'll file a bug for that problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 --- Comment #4 from Simon Toedt <simon.toedt(a)gmail.com> 2013-05-19 16:46:14 CDT --- Follow-up bug is bug #33621 - "[UWIN] ksh93 from UWIN generates a lot of fixme warnings". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2013-05-20 03:02:51 CDT --- Fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Simon Toedt <simon.toedt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|UWIN installer fails with |[UWIN] UWIN installer fails |cannot seek to data offset |with cannot seek to data | |offset -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Simon Toedt <simon.toedt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33619 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2013-05-24 13:33:22 CDT --- Closing bugs fixed in 1.5.31. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=33619 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Version|unspecified |1.5.23 -- 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.
participants (1)
-
wine-bugs@winehq.org