http://bugs.winehq.org/show_bug.cgi?id=14356
Summary: alt.binz does not run anymore Product: Wine Version: CVS/GIT Platform: PC-x86-64 URL: http://www.altbinz.net/ OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: simjoko@gmail.com
Created an attachment (id=14653) --> (http://bugs.winehq.org/attachment.cgi?id=14653) wine output
In wine 1.0 alt.binz (0.25, freely available at the website) did run (but not flawlessly). At some state in git it stopped working. Maybe I should have reported that a bit earlier but I am still a bit unsure about reporting bugs. Please let me now what information you need.
I will try to find out what patch introduced that regression.
For the tests I used a fresh .wine dir. While I checked back for wine-1.0 and forgot to remove .wine after a succsessfully run I found out, that the program will run on current git, when it first has been run via wine-1.0.
http://bugs.winehq.org/show_bug.cgi?id=14356
simjoko simjoko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=14356
simjoko simjoko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robertshearman@gmail.com, | |simjoko@gmail.com
--- Comment #1 from simjoko simjoko@gmail.com 2008-07-08 11:36:55 --- c9ef063e12d2c2ef7ef5ccafad525b3cd31ba61d is first bad commit commit c9ef063e12d2c2ef7ef5ccafad525b3cd31ba61d Author: Rob Shearman robertshearman@gmail.com Date: Sat Jun 14 16:29:35 2008 +0100
rpcrt4: Fix ndr_marshall tests to cope with using pointer ids instead of using pointer values.
This fixes a number of test failures on XP SP3 and Win2003 upwards.
:040000 040000 8147fac233ddd140770f07abb9c60392954d1d7b 1dfdb96d360fda85db55ed9e33702006b4993a02 M dlls
I hope I did not make any mistakes.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #2 from James Hawkins truiken@gmail.com 2008-07-08 12:12:26 --- Since that patch only changes the tests, you did something wrong when running the regression test.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #3 from simjoko simjoko@gmail.com 2008-07-08 12:31:58 --- oh noes ... Then I have to start over again. Let's see when I got time.
http://bugs.winehq.org/show_bug.cgi?id=14356
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2008-07-08 15:38:06 --- Hello,
can't reproduce the crash. Clean WINEPREFIX, alt.binz 0.25, wine-1.1.0-373-g9575564
Please try current GIT and outline *exact* steps until the crash appears.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #5 from simjoko simjoko@gmail.com 2008-07-08 18:01:25 --- I simpy run wine altbinz.exe without a present .wine directory. I still get this error as of wine-1.1.0-402-g4904c80.
I am currently bisecting between wine-1.0 and wine-1.1.0
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #6 from Simon König simjoko@gmail.com 2008-07-09 04:18:26 --- I finished bisecting:
ff838008393cf57431013aac84d919e5c18c75d5 is first bad commit commit ff838008393cf57431013aac84d919e5c18c75d5 Author: Rob Shearman robertshearman@gmail.com Date: Thu Jun 19 07:51:26 2008 +0100
shell32: Free the correct pointer in XDG_UserDirLookup.
out_ptr is a stack variable. *out_ptr is heap allocated and is what was meant to be freed.
:040000 040000 fade35a85ddfd8cd2d9c6eaaf8955ccd134261e2 3e7d7c19c2a9703cc0441a56a28916af352ab911 M dlls
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #7 from Simon König simjoko@gmail.com 2008-07-09 04:28:29 --- git revert ff838008393cf57431013aac84d919e5c18c75d5
fixes the error.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #8 from Anastasius Focht focht@gmx.net 2008-07-09 06:08:21 --- Hello,
still can't reproduce it. Using same GIT snapshot: wine-1.1.0-402-g4904c80
You run the standalone executable and not the installer with WINEPREFIX not present?
Can you run with: WINEDEBUG=+tid,+seh,+shell,+xdg and attach output? Also the output of: export | grep XDG
Regards
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #9 from Simon König simjoko@gmail.com 2008-07-09 06:42:56 --- I'm running the executable form the zip archive. export | grep XDG gives no results.
I'll attach the output in a few minutes.
(In reply to comment #8)
Hello,
still can't reproduce it. Using same GIT snapshot: wine-1.1.0-402-g4904c80
You run the standalone executable and not the installer with WINEPREFIX not present?
Can you run with: WINEDEBUG=+tid,+seh,+shell,+xdg and attach output? Also the output of: export | grep XDG
Regards
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #10 from Simon König simjoko@gmail.com 2008-07-09 07:15:18 --- Created an attachment (id=14692) --> (http://bugs.winehq.org/attachment.cgi?id=14692) WINEDEBUG=+tid,+seh,+shell,+xdg ./wine ../../altbinz.exe &>out
wine-1.1.0-459-g2893294
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #11 from Anastasius Focht focht@gmx.net 2008-07-09 10:40:15 --- Hello,
judging from your trace it looks like a problem with user shell folders not being created and failure not correctly propagated (DesktopDirectory, ...). I can see multiple times:
--- snip --- 000b:trace:shell:SHGetFolderPathAndSubDirW Created missing system directory L"C:\windows\profiles\simjoko\Desktop" 000b:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\windows\profiles\simjoko\Desktop") --- snip ---
Which looks suspicious.
Please run the following commands and paste output:
ls -la $HOME/Desktop ls -la $HOME/.wine/drive_c/windows/profiles/$USERNAME
My guess is you have a permission problem somewhere (which unearths shell32 bug).
Regards
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #12 from Simon König simjoko@gmail.com 2008-07-09 12:27:15 --- here it is:
ls: cannot access /home/simjoko/Desktop: No such file or directory (I don't use this user actively)
drwxr-xr-x 4 simjoko simjoko 4096 2008-07-09 16:12 . drwxr-xr-x 10 simjoko simjoko 4096 2008-07-09 16:12 .. drwxr-xr-x 8 simjoko simjoko 4096 2008-07-09 16:12 All Users drwxr-xr-x 12 simjoko simjoko 4096 2008-07-09 16:12 simjoko
(In reply to comment #11)
Hello,
judging from your trace it looks like a problem with user shell folders not being created and failure not correctly propagated (DesktopDirectory, ...). I can see multiple times:
--- snip --- 000b:trace:shell:SHGetFolderPathAndSubDirW Created missing system directory L"C:\windows\profiles\simjoko\Desktop" 000b:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\windows\profiles\simjoko\Desktop") --- snip ---
Which looks suspicious.
Please run the following commands and paste output:
ls -la $HOME/Desktop ls -la $HOME/.wine/drive_c/windows/profiles/$USERNAME
My guess is you have a permission problem somewhere (which unearths shell32 bug).
Regards
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #13 from Lei Zhang thestig@google.com 2008-07-16 15:30:46 --- Hmm, maybe $USERNAME was not set. Can you just run:
ls -la $HOME/.wine/drive_c/windows/profiles/simjoko
In anycase, can you try applying this patch [1] to wine-git, recompile, mv ~/.wine ~/.wine.old, and try again?
[1] http://www.winehq.org/pipermail/wine-patches/2008-July/057959.html
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #14 from Simon König simjoko@gmail.com 2008-07-16 15:59:02 --- total 52 drwxr-xr-x 13 simjoko simjoko 4096 2008-07-17 00:48 . drwxr-xr-x 4 simjoko simjoko 4096 2008-07-17 00:48 .. drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 Application Data drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 Cookies lrwxrwxrwx 1 simjoko simjoko 1 2008-07-17 00:48 Desktop -> ? drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 Favorites drwxr-xr-x 5 simjoko simjoko 4096 2008-07-17 00:48 Local Settings lrwxrwxrwx 1 simjoko simjoko 13 2008-07-17 00:48 My Documents -> /home/simjoko drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 My Music lrwxrwxrwx 1 simjoko simjoko 1 2008-07-17 00:48 My Pictures -> ? lrwxrwxrwx 1 simjoko simjoko 3 2008-07-17 00:48 My Videos -> ?g? drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 NetHood drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 PrintHood drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 Recent drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 SendTo drwxr-xr-x 3 simjoko simjoko 4096 2008-07-17 00:48 Start Menu drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 00:48 Templates
I tried the patch but it did not help in this case. I attached the backtrace.
(In reply to comment #13)
Hmm, maybe $USERNAME was not set. Can you just run:
ls -la $HOME/.wine/drive_c/windows/profiles/simjoko
In anycase, can you try applying this patch [1] to wine-git, recompile, mv ~/.wine ~/.wine.old, and try again?
[1] http://www.winehq.org/pipermail/wine-patches/2008-July/057959.html
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #15 from Simon König simjoko@gmail.com 2008-07-16 15:59:50 --- Created an attachment (id=14858) --> (http://bugs.winehq.org/attachment.cgi?id=14858) namedd backtrace
http://bugs.winehq.org/show_bug.cgi?id=14356
Simon König simjoko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14858|namedd backtrace |named backtrace description| |
http://bugs.winehq.org/show_bug.cgi?id=14356
Simon König simjoko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14858|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #16 from Lei Zhang thestig@google.com 2008-07-16 16:04:52 --- After you apply my patch, you need to try again with a clean .wine directory. I.e. mv ~/.wine ~/.wine.old, then run it again. From comment 14, I see you have broken symlinks. Those should go away with my patch.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #17 from Simon König simjoko@gmail.com 2008-07-16 16:06:57 --- I did so. But I can check that again. Give me a minute.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #18 from Simon König simjoko@gmail.com 2008-07-16 16:08:10 --- (In reply to comment #17)
I did so. But I can check that again. Give me a minute.
Dare me, the ls output is from the non-patched created .wine folder. But the error on alt.binz is with the patched wine.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #19 from Simon König simjoko@gmail.com 2008-07-16 16:15:56 --- Success!
The crash is gone and the symlinks are fixed:
drwxr-xr-x 12 simjoko simjoko 4096 2008-07-17 01:14 . drwxr-xr-x 4 simjoko simjoko 4096 2008-07-17 01:14 .. drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 Application Data drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 Cookies lrwxrwxrwx 1 simjoko simjoko 21 2008-07-17 01:14 Desktop -> /home/simjoko/Desktop drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 Favorites drwxr-xr-x 5 simjoko simjoko 4096 2008-07-17 01:14 Local Settings lrwxrwxrwx 1 simjoko simjoko 13 2008-07-17 01:14 My Documents -> /home/simjoko lrwxrwxrwx 1 simjoko simjoko 13 2008-07-17 01:14 My Music -> /home/simjoko lrwxrwxrwx 1 simjoko simjoko 13 2008-07-17 01:14 My Pictures -> /home/simjoko lrwxrwxrwx 1 simjoko simjoko 13 2008-07-17 01:14 My Videos -> /home/simjoko drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 NetHood drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 PrintHood drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 Recent drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 SendTo drwxr-xr-x 3 simjoko simjoko 4096 2008-07-17 01:14 Start Menu drwxr-xr-x 2 simjoko simjoko 4096 2008-07-17 01:14 Templates
Thank you very much. Maybe ccache did some strange stuff here, I don't know. Maybe it's just a bit late for me today. Sorry about the circumstances.
http://bugs.winehq.org/show_bug.cgi?id=14356
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |shell32 Ever Confirmed|0 |1 Keywords| |patch
--- Comment #20 from Lei Zhang thestig@google.com 2008-07-16 16:26:23 --- Excellent. I'll mark the bug fixed when the patch gets in.
http://bugs.winehq.org/show_bug.cgi?id=14356
--- Comment #21 from Simon König simjoko@gmail.com 2008-07-17 05:56:14 --- Glad I could help!
http://bugs.winehq.org/show_bug.cgi?id=14356
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #22 from Lei Zhang thestig@google.com 2008-07-21 15:57:25 --- Looks like Kirill's patch got in instead:
http://www.winehq.org/pipermail/wine-cvs/2008-July/045640.html
http://bugs.winehq.org/show_bug.cgi?id=14356
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2008-07-25 13:22:33 --- Closing bugs fixed in 1.1.2.
http://bugs.winehq.org/show_bug.cgi?id=14356
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.0.1
--- Comment #24 from Lei Zhang thestig@google.com 2008-08-08 17:37:06 --- Nominating for Wine 1.0.1:
commit de3afabf084c3ee3e5b94d9f61bfec69ec4251dc Author: Kirill K. Smirnov lich@math.spbu.ru Date: Sat Jul 19 00:38:03 2008 +0400
shell32: Avoid usage of undefined xdg_results variable, since XDG_UserDirLookup() always corrupts it.
and
commit ff838008393cf57431013aac84d919e5c18c75d5 Author: Rob Shearman robertshearman@gmail.com Date: Thu Jun 19 07:51:26 2008 +0100
shell32: Free the correct pointer in XDG_UserDirLookup.
out_ptr is a stack variable. *out_ptr is heap allocated and is what was meant to be freed.
http://bugs.winehq.org/show_bug.cgi?id=14356
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=14356
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Fixed by SHA1| |de3afabf084c3ee3e5b94d9f61b | |fec69ec4251dc Version|unspecified |1.1.0