http://bugs.winehq.org/show_bug.cgi?id=21385
Summary: world snooker championship 2009 exits at startup Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: zidsoft@gmail.com
Full output:
% wine WSC2009.exe ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) %
Any advice on extra logging options to turn on?
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-01-16 03:08:03 --- Is there a download available for this application? Please attach a WINEDEBUG=+relay,+seh,+tid log and attach the log to this bug, compressing if necessary.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #2 from zid zidsoft@gmail.com 2010-01-16 03:11:52 --- Created an attachment (id=25748) --> (http://bugs.winehq.org/attachment.cgi?id=25748) seh, tid, relay log
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2010-01-16 04:01:33 ---
From the log, it appears to exit after the call to GetModuleHandleA for
mscoree.dll fails.
0016:Starting process L"C:\Program Files\Blade\WSC Real 09\WSC2009.exe" (entryproc=0x6caf0b) ...snip... 0016:Call KERNEL32.GetModuleHandleA(0073f788 "mscoree.dll") ret=006cd37c 0016:Ret KERNEL32.GetModuleHandleA() retval=00000000 ret=006cd37c 0016:Call KERNEL32.ExitProcess(00000000) ret=006cd3ab
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #4 from zid zidsoft@gmail.com 2010-01-16 04:28:26 --- Created an attachment (id=25750) --> (http://bugs.winehq.org/attachment.cgi?id=25750) code listing of failed mscoree.dll load
I don't think this is our man, it's calling CorExitProcess from mscoree.dll anyway.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-16 11:36:09 --- (In reply to comment #3)
0016:Call KERNEL32.GetModuleHandleA(0073f788 "mscoree.dll") ret=006cd37c 0016:Ret KERNEL32.GetModuleHandleA() retval=00000000 ret=006cd37c 0016:Call KERNEL32.ExitProcess(00000000) ret=006cd3ab
That's how some copy/unti-hack protection systems start...
http://bugs.winehq.org/show_bug.cgi?id=21385
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2010-01-16 18:21:10 --- Hello,
--- quote ---
0016:Call KERNEL32.GetModuleHandleA(0073f788 "mscoree.dll") ret=006cd37c 0016:Ret KERNEL32.GetModuleHandleA() retval=00000000 ret=006cd37c 0016:Call KERNEL32.ExitProcess(00000000) ret=006cd3ab
That's how some copy/unti-hack protection systems start... --- quote ---
No, that looks more like standard MSVC++ runtime shutdown sequence. Normally MSVC++ runtime just calls ExitProcess() after cleanup but on newer versions an extra call to CorExitProcess() is made to ensure proper shutdown of managed parts (even if the app doesn't make use of managed code).
If mscoree module or the CorExitProcess export is not found it causes no harm. It works as designed.
So the reason must be something different ...
---
Did you install the game in a clean/fresh WINEPREFIX? Did you use any native overrides (winetricks steps)? If yes, which ones were used before running the installer? Do you run this game with media (DVD) or do you use patched executable (no-CD/DVD cracks)?
Regards
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #7 from zid zidsoft@gmail.com 2010-01-16 19:27:22 --- Created an attachment (id=25763) --> (http://bugs.winehq.org/attachment.cgi?id=25763) installer trace
Installer needs dotnet20 from winetricks to work, above is the log using native mscoree.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #8 from zid zidsoft@gmail.com 2010-01-16 19:30:05 --- Game is ran with the aid of a noCD patcher. (The only one or I'd try a couple).
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #9 from Anastasius Focht focht@gmx.net 2010-01-17 04:38:35 --- Hello,
--- quote --- Game is ran with the aid of a noCD patcher. (The only one or I'd try a couple). --- quote ---
Any reason for using patches? AFAIK the game has no copy protection at all, only simple media checks (volume type CDFS, volume label compare, check for files on media). So this game should run out of the box in Wine with media properly mounted.
Regards
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #10 from zid zidsoft@gmail.com 2010-01-17 04:41:28 --- (In reply to comment #9)
Hello,
--- quote --- Game is ran with the aid of a noCD patcher. (The only one or I'd try a couple). --- quote ---
Any reason for using patches? AFAIK the game has no copy protection at all, only simple media checks (volume type CDFS, volume label compare, check for files on media). So this game should run out of the box in Wine with media properly mounted.
Regards
Then wine is deficient one of those simple media checks. The unpatched binary complains about the DVD not being inserted. I don't have a DVD drive in this machine, all my stuff is .iso from my fileserver machine.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #11 from Anastasius Focht focht@gmx.net 2010-01-17 06:00:17 --- Hello,
--- quote --- Then wine is deficient one of those simple media checks. The unpatched binary complains about the DVD not being inserted. I don't have a DVD drive in this machine, all my stuff is .iso from my fileserver machine. --- quote ---
I doubt that. Wine should be capable to pass simple media checks even with mounted .iso files. You most likely have some sort of permission problem. Ok, then lets walk though this step by step.
Please give me:
WINEDEBUG=+tid,+seh,+relay,+volume wine WSC2009.exe &> log.txt
with the original, _unpatched_ executable and attach to this bug (if too large, compress it). Additionally provide info about your iso mount point and block device permissions:
$ mount | grep iso $ sudo losetup -a and then for each listed block device from previous command: $ ls -l /dev/loopX (X=0,...)
Regards
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #12 from zid zidsoft@gmail.com 2010-01-17 06:12:08 --- /dev/loop0 on /mnt/cdrom type iso9660 (ro) /dev/loop/0: [0803]:13893680 (/home/.../wsc9.iso) brw-rw---- 1 root disk 7, 0 2010-01-17 08:27 /dev/loop0
This looks rather pertinent: fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #13 from zid zidsoft@gmail.com 2010-01-17 06:23:04 --- Created an attachment (id=25764) --> (http://bugs.winehq.org/attachment.cgi?id=25764) +volume log
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #14 from zid zidsoft@gmail.com 2010-01-17 06:23:54 --- http://zid.yggdrasil.sk/WSC2009.exe (too big to attach)
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #15 from Anastasius Focht focht@gmx.net 2010-01-17 06:39:34 --- Hello,
--- quote --- This looks rather pertinent: fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) --- quote ---
Expected and harmless. Please don't try to guess stuff if you don't know how things work - just provide the logs as asked for.
From your log:
--- snip --- 0009:Call KERNEL32.GetVolumeInformationA(0032f8a4 "C:\",0032faa4,00000100,00000000,00000000,00000000,0032f9a4,00000100) ret=004263a7 ... 0009:trace:volume:GetVolumeInformationW L"\\.\C:": found fs type 1 0009:Ret KERNEL32.GetVolumeInformationA() retval=00000001 ret=004263a7 0009:Call KERNEL32.GetVolumeInformationA(0032f8a4 "Z:\",0032faa4,00000100,00000000,00000000,00000000,0032f9a4,00000100) ret=004263a7 0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) 0009:trace:volume:GetVolumeInformationW L"\\.\Z:": found fs type 1 0009:Ret KERNEL32.GetVolumeInformationA() retval=00000001 ret=004263a7 0009:Call user32.MessageBoxA(00000000,0032fba4 "Please insert 'World Snooker Championship 2009' game Disc into DVD drive",00750718 "World Snooker Championship 2009",00000035) ret=0042644b --- snip ---
Please use "winecfg" (drives tab) to setup a virtual drive for the mounted ISO (type CDROM).
And please don't try to attach copyrighted material (game executables), only attach stuff you are asked for ;-)
Regards
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #16 from zid zidsoft@gmail.com 2010-01-17 06:41:25 --- 'with the original, _unpatched_ executable' I misread your intent.
And have I not provided the logs you asked? I merely pointed something out.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #17 from zid zidsoft@gmail.com 2010-01-17 06:42:48 --- You're right about the missing D: mount, wrong prefix sorry.
trace:volume:GetVolumeInformationW cannot open device L"\\.\D:": err 5 trace:volume:GetDriveTypeW L"D:\" -> 5
Diff.
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #18 from Anastasius Focht focht@gmx.net 2010-01-17 06:53:41 --- Hello,
--- quote --- 'with the original, _unpatched_ executable' I misread your intent.
And have I not provided the logs you asked? I merely pointed something out. --- quote ---
No, it meant to be read: "... generated by using the original, _unpatched_ executable", not attaching the executable itself. Nevermind, blame it to me, I'm non-native english speaker.
--- quote --- You're right about the missing D: mount, wrong prefix sorry.
trace:volume:GetVolumeInformationW cannot open device L"\\.\D:": err 5 trace:volume:GetDriveTypeW L"D:\" -> 5
Diff. --- quote ---
So it looks like permission problem. Can you change to ownership of loop device node to your user ident? E.g. something like:
$ sudo chown <yourusername> /dev/loop0
and run the executable again? If it still complains, please attach another log with: WINEDEBUG=+tid,+seh,+relay,+volume
Regards
http://bugs.winehq.org/show_bug.cgi?id=21385
--- Comment #19 from zid zidsoft@gmail.com 2010-01-17 07:03:36 --- You're quite right, thanks for this. There's a group that user should be in. I managed to not hit the right behaviour as root because he has no D: and hit it as my user because of the group permissions.
Can't believe I haven't hit this issue earlier.
http://bugs.winehq.org/show_bug.cgi?id=21385
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #20 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-17 21:13:42 --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=21385
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-17 21:13:49 --- Closing.