http://bugs.winehq.org/show_bug.cgi?id=33182
Bug #: 33182 Summary: Penny Girl fails to run (Unity3D based program) Product: Wine Version: 1.5.25 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: macmolder@gmail.com Classification: Unclassified
Created attachment 43890 --> http://bugs.winehq.org/attachment.cgi?id=43890 Terminal output
This unity3d based program installs fine, but crashes with an error : Verificationerror#3:Client.Version=1.3.4674.081.Culture=neutral.PublicKeyToken=|hex code| might be corrupted. Please re-install.
http://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43890|0 |1 is obsolete| |
--- Comment #1 from Mac Molder macmolder@gmail.com 2013-03-11 02:16:03 CDT --- Created attachment 43891 --> http://bugs.winehq.org/attachment.cgi?id=43891 Terminal output (previous failed to commit)
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #2 from Mac Molder macmolder@gmail.com 2013-03-15 18:04:28 CDT --- Same error and similar termout in 1.5.26.
Error is actually from shader, so I also update the fields too.
http://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3dx10 Summary|Penny Girl fails to run |Penny Girl fails to run, |(Unity3D based program) |errors in Shaders | |(GL_INVALID_OPERATION in | |d3d_shader:shader_glsl_sele | |ct)
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #3 from Mac Molder macmolder@gmail.com 2013-03-31 14:55:45 CDT --- Same error in 1.5.27.
The program btw seems to be still using X11. How does one activate macdriver ?
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #4 from Austin English austinenglish@gmail.com 2013-04-01 12:13:57 CDT --- (In reply to comment #3)
Same error in 1.5.27.
The program btw seems to be still using X11. How does one activate macdriver ?
See http://www.winehq.org/pipermail/wine-devel/2013-March/099035.html
(that should be in the wiki somewhere..)
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #5 from Mac Molder macmolder@gmail.com 2013-04-04 10:41:30 CDT --- X11 still starts.
I wonder if I am configuring it correctly ?
I start registry editor. Go to HKEY_CURRENT_USER/Software/Wine/Drivers. I create a new key 'Graphics'. On the Name (Default), Type REG_SZ I set value mac,x11. Restart game. X11 starts and same crash.
Regarding documentation, this link does not get me to instructions of how to set it up : http://wiki.winehq.org/MacOSX
Nor in here: http://wiki.winehq.org/MacOSX/FAQs
Am I missing something ? Or is the wiki missing it - should I file a new bug about not finding the setup doc ?
http://bugs.winehq.org/show_bug.cgi?id=33182
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |-unknown
--- Comment #6 from Austin English austinenglish@gmail.com 2013-04-04 13:23:50 CDT --- (In reply to comment #5)
X11 still starts.
I wonder if I am configuring it correctly ?
I start registry editor. Go to HKEY_CURRENT_USER/Software/Wine/Drivers. I create a new key 'Graphics'. On the Name (Default), Type REG_SZ I set value mac,x11.
You need to make a REG_SZ value under Drivers, named Graphics (not a key): [Software\Wine\Drivers] "graphics"="mac,x11"
IIRC, you can also do: $ unset $DISPLAY if running from a terminal.
Regarding documentation, this link does not get me to instructions of how to set it up : http://wiki.winehq.org/MacOSX
Nor in here: http://wiki.winehq.org/MacOSX/FAQs
Am I missing something ? Or is the wiki missing it - should I file a new bug about not finding the setup doc ?
Sorry, I was unclear, it is missing, it should be put in the docs. You can file a bug, I'll try to do so or ask someone that has a Mac to do so :)
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2013-04-04 13:42:04 CDT --- For what it's worth, the terminal output makes no sense, Wine hasn't generated shaders like that since at least 1.5.14, and even back when it did it generated proper declarations for the VC uniform array. Are you sure you're actually using 1.5.27, and if you are, did you patch Wine in any way?
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #8 from Mac Molder macmolder@gmail.com 2013-04-04 15:33:21 CDT --- Ha! I was indeed using a version 1.4!
I took 1.5.25 again and made sure I now have the version, this is what I did :
pwd /Users/mac/wineversion/1.5.25/bin wine --version wine-1.5.25
winecfg ... setting to windows 7
wine /Volumes/PennyGirl\ 1.3/PennySetup.exe &> pennyGirl_Install_040413.txt Installed OK
regedit Fontconfig warning: ignoring UTF-8: not a valid region tag Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! Set Graphics value to mac,x11
Running : wine /Users/mac/.wine/drive_c/users/mac/Local\ Settings/Application\ Data/Apex/PennyGirl/Game/PennyG.exe &> pennyGirl_Run_040413.txt
Main screen with manufacturer banner comes up, but game does not proceed, I had to halt it. The log seems to be repeating the same thing again and again. However, the screen still shows that X11 is running on it. I am attaching a new log.
http://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43891|0 |1 is obsolete| |
--- Comment #9 from Mac Molder macmolder@gmail.com 2013-04-04 15:35:54 CDT --- Created attachment 44091 --> http://bugs.winehq.org/attachment.cgi?id=44091 Terminal output during running the game
http://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Penny Girl fails to run, |Penny Girl fails to run |errors in Shaders | |(GL_INVALID_OPERATION in | |d3d_shader:shader_glsl_sele | |ct) |
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #10 from Mac Molder macmolder@gmail.com 2013-04-07 07:42:41 CDT --- I am compiling a new version, 1.5.27 using macports.
http://wiki.winehq.org/MacOSX/Building
The instruction there, however says : Use the following command to configure and build Wine with MacPorts libraries and OpenGL:
./configure CPPFLAGS='-I/usr/X11/include -I/opt/local/include' LIBS='-lGL -lGLU' LDFLAGS='-L/usr/X11/lib -L/opt/local/lib' make && sudo make install
Is this still the correct option when I want to use macdriver and not X11 ? It links x11 to wine.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #11 from Mac Molder macmolder@gmail.com 2013-04-07 08:58:46 CDT --- Regardless, I have now updated to 1.5.27 using MacPorts. Same error log still.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #12 from Mac Molder macmolder@gmail.com 2013-04-07 09:13:18 CDT --- I ran the program with WINEDEBUG=+relay,+seh,+tid
Looking at the list of calls it looks like macdriver is not called, but x11, here is a clip from it :
0013:Call PE DLL (proc=0x42af11b0,module=0x42aa0000 L"winex11.drv",reason=PROCESS_DETACH,res=0x1) 0013:Ret PE DLL (proc=0x42af11b0,module=0x42aa0000 L"winex11.drv",reason=PROCESS_DETACH,res=0x1) retval=1
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #13 from Mac Molder macmolder@gmail.com 2013-04-14 01:44:36 CDT --- Regarding comment #12. I updated to 1.5.28 and now macdriver is loading correctly.
However, I still get the same error of as in Comment #9 :
NullReferenceException: Object reference not set to an instance of an object^M at DK.Apex.ColdScene.Unity.Prioritization.SPrioritizedComponents.FireOnEnableEvents () [0x00000] in <filename unknown>:0 ^M^M at DK.Apex.ColdScene.Unity.Prioritization.SPrioritizedComponents.OnStartEvent (DK.Apex.ColdScene.Unity.Prioritization.PrioritizedComponentsFeeder unityComponentsFeeder) [0x00000] in <filename unknown>:0 ^M^M at DK.Apex.Penny.ClientUnity.Objects.PrioritizedEventFeederComponent.Start () [0x00000] in <filename unknown>:0 ^M ^M (Filename: Line: -1)^M
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #14 from Mac Molder macmolder@gmail.com 2013-05-25 11:17:43 CDT --- Same error in 1.5.31 after install in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #15 from Mac Molder macmolder@gmail.com 2013-06-09 11:10:07 CDT --- Same error in 1.6-rc1 after install in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #16 from Mac Molder macmolder@gmail.com 2013-06-09 14:37:07 CDT --- Just to learn something that might help I tried the dependency walker (from wine debug channels wiki).
I am not sure I am using it correctly or if I am, then curiously, most of the dll calls are incorrect: for example I have a call
LoadLibraryW("C:\users\mac\local settings\application data\apex\pennygirl\game\PENNYG_Data\Managed\System.dll.dll") returned NULL. Error: Module not found (126).
Directory above has System.dll, but the call above adds one more .dll to it and then says its not found ?? Almost all dll's have the same error.
It has the following errors from winemac.drv:
GetProcAddress(0x42710000 [WINEMAC.DRV], "GetAsyncKeyState") called from "USER32.DLL" at address 0x406BE0A6 and returned NULL. Error: Procedure not found (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "LoadKeyboardLayout") called from "USER32.DLL" at address 0x406BE116 and returned NULL. Error: Procedure not found (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "RegisterHotKey") called from "USER32.DLL" at address 0x406BE14E and returned NULL. Error: Procedure not found (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "UnloadKeyboardLayout") called from "USER32.DLL" at address 0x406BE186 and returned NULL. Error: Pro cedure not found (127).GetProcAddress(0x42710000 [WINEMAC.DRV], "UnregisterHotKey") called from "USER32.DLL" at address 0x406BE1A2 and returned NULL. Error: Procedu re not found (127).GetProcAddress(0x42710000 [WINEMAC.DRV], "CreateCursorIcon") called from "USER32.DLL" at address 0x406BE1DA and returned NULL. Error: Procedu re not found (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "GetDC") called from "USER32.DLL" at address 0x406BE42C and returned NULL. Error: Procedure not foun d (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "ReleaseDC") called from "USER32.DLL" at address 0x406BE46A and returned NULL. Error: Procedure not found (127). GetProcAddress(0x42710000 [WINEMAC.DRV], "ScrollDC") called from "USER32.DLL" at address 0x406BE489 and returned NULL. Error: Procedure not f ound (127).
And plenty of font errors from GDIPLUS: GetProcAddress(0x59430000 [GDIPLUS.DLL], "GdipCreateFontFamilyFromNameW") called from "MONO.DLL" at address 0x10007A56 and returned NULL. Error: Procedure not found (127).
It also complains about not finding Alsa : LoadLibraryW("winealsa.drv") called from "MMDEVAPI.DLL" at address 0x5808850C. LoadLibraryW("winealsa.drv") returned NULL. Error: Module not found (126). LoadLibraryW("wineoss.drv") called from "MMDEVAPI.DLL" at address 0x5808850C. LoadLibraryW("wineoss.drv") returned NULL. Error: Module not found (126).
But should Alsa exist in Mac at all ?
Anyway, I am quite green on wine mac debugging, but i would gladly learn more, so if you could give me a pointer to where to go from here, i would try to narrow this more. I think the incorrect reference comes from mono, could there be some fundamental error in Mac version calling Mono, like adding the extra .dll ?
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #17 from Mac Molder macmolder@gmail.com 2013-06-22 15:24:29 CDT --- Same error in 1.6-rc3 after install in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=33182
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #18 from Dan Kegel dank@kegel.com 2013-06-22 19:22:41 CDT --- I can't find Penny Walker, got a url?
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #19 from Mac Molder macmolder@gmail.com 2013-06-23 11:15:26 CDT --- Penny Walker ?
I used dependency walker : http://www.dependencywalker.com/
to look at Penny Girl horse fan club game that one gets when joinig it. This game is proprietary, created with Unity3d.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #20 from Dan Kegel dank@kegel.com 2013-06-23 11:21:03 CDT --- Is this it? http://pennygirl.de/pc-spiele
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #21 from Mac Molder macmolder@gmail.com 2013-06-23 12:51:30 CDT --- Yes.
Part 1.
http://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://pennygirl.de/pc-spie | |le
--- Comment #22 from Mac Molder macmolder@gmail.com 2013-06-30 10:47:45 CDT --- Same error in 1.6-rc4 after install in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #23 from Mac Molder macmolder@gmail.com 2013-07-16 10:31:24 CDT --- Same error in 1.6-rc5 after install in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #24 from Mac Molder macmolder@gmail.com 2013-07-17 01:33:12 CDT --- Correction to last statement: Now I dont get to the problem originally reported, e.g.
Verificationerror#3:Client.Version=1.3.4674.081.Culture=neutral.PublicKeyToken=|hexcode| might be corrupted. Please re-install.
The program crashes after call to
Managed\System.Configuration.dll
After that this message is displayed forever : NullReferenceException: Object reference not set to an instance of an object at DK.Apex.ColdScene.Unity.Prioritization.SPrioritizedComponents.FireOnEnableEvents () [0x00000] in <filename unknown>:0 ^M ...
It is however, pretty hard to say, whether the program now crashes earlier or after of the original error. Please advise what should I do : log a new bug or provide more info to this one ?
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #25 from Mac Molder macmolder@gmail.com 2013-07-17 11:19:09 CDT --- Continuing here a bit.
Setting WINE_MONO_TRACE=all WINEDEBUG=+snoop
Provided a bit more info:
Platform assembly: C:\users\mac\Local Settings\Application Data\Apex\PennyGirl\Game\PennyG_Data\Managed\System.Configuration.dll (this message is harmless)^M 0009:RET mono.mono_runtime_invoke() retval=00000000 ret=005852b1 0009:CALL mono.mono_runtime_invoke() ret=0058d786 0009:RET mono.mono_runtime_invoke() retval=00000000 ret=0058d786 0009:CALL mono.mono_string_to_utf8(<unknown, check return>) ret=0058d8cc 0009:RET mono.mono_string_to_utf8() retval=10338550 ret=0058d8cc 0009:CALL mono.mono_string_to_utf8() ret=0058d8fa 0009:RET mono.mono_string_to_utf8() retval=10330888 ret=0058d8fa 0009:CALL mono.mono_string_new_wrapper(10330888 " at DK.Apex.ColdScene.Unity.Prioritization.SPrioritizedComponents.FireOnEnableE") ret=0058ca6d 0009:RET mono.mono_string_new_wrapper() retval=0ff97000 ret=0058ca6d 0009:CALL mono.mono_runtime_invoke() ret=0058797d 0009:RET mono.mono_runtime_invoke() retval=14772c00 ret=0058797d 0009:CALL mono.mono_string_to_utf8() ret=0058d3ae 0009:RET mono.mono_string_to_utf8() retval=10332588 ret=0058d3ae 0009:CALL mono.g_free(<unknown, check return>) ret=0058d3ea 0009:RET mono.g_free() retval=00000001 ret=0058d3ea NullReferenceException: Object reference not set to an instance of an object^M
Based on this, it looks like System.Configuration.dll from mono is called. It tries to invoke with mono.mono_runtime_invoke() that returns zero. Then it tries mono_string_to_utf8 with unknown value causing a failure '...a t DK.Apex...'. A bit later it tries mono.g_free and that tells that object pointer is missing.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #26 from Mac Molder macmolder@gmail.com 2013-07-19 07:58:31 CDT --- Same error in 1.6 after install in clean prefix.
Mono version 0.0.8.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #27 from Mac Molder macmolder@gmail.com 2013-08-04 03:32:58 CDT --- Same error in 1.7.0 after install in clean prefix.
Mono version 0.0.8.
But now the program crashes after a few minutes with :
fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0 wine(14620,0x4100c400) malloc: *** error for object 0x40217fa0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #28 from Mac Molder macmolder@gmail.com 2013-09-02 13:31:35 CDT --- Same error in 1.7.1 after install in clean prefix.
Mono version 0.0.8.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #29 from Mac Molder macmolder@gmail.com 2013-09-15 07:15:27 CDT --- Same error in 1.7.2 after install in clean prefix.
Mono version 0.0.8.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #30 from Mac Molder macmolder@gmail.com 2013-10-27 05:37:06 CDT --- Same error in 1.7.5 after install in clean prefix.
Mono version 0.0.8.
http://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #31 from Mac Molder macmolder@gmail.com 2013-11-10 12:09:55 CST --- In 1.7.6 with clean prefix i got back to the original error :
fixme:imm:ImmReleaseContext (0x5003e, 0x13f358): stub fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. fixme:win:RegisterDeviceNotificationW (hwnd=0x5003e, filter=0x33f460,flags=0x00000000) returns a fake device notification handle! fixme:d3d:query_init Unhandled query type 0xc. fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0.fixme:mscoree:StrongNameSignatureVerificationEx (L"C:\users\mac\Local Settings\Application Data\Apex\PennyGirl\Patcher\PennyP_Data\Managed\Patcher.dll", 1, 0x33f1d3): stub
Dialog: VericationError#3 : Patcher, Version 1.3.4674.681,Culture=neutral,PublicKeyToken=<id> might be corrupted. Please re-install and OK:
mac$ fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
http://bugs.winehq.org/show_bug.cgi?id=33182
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |mscoree Summary|Penny Girl fails to run |Penny Girl fails with Mono, | |mscoree.StrongNameSignature | |VerificationEx is a stub Ever Confirmed|0 |1
--- Comment #32 from Anastasius Focht focht@gmx.net 2013-11-10 13:08:25 CST --- Hello folks,
refining summary.
Source: http://source.winehq.org/git/wine.git/blob/38adec4ac558b4e49f285b9caeb75975e...
--- snip --- 533 BOOL WINAPI StrongNameSignatureVerificationEx(LPCWSTR filename, BOOL forceVerification, BOOL* pVerified) 534 { 535 FIXME("(%s, %u, %p): stub\n", debugstr_w(filename), forceVerification, pVerified); 536 return FALSE; 537 } --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=33182
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #33 from roger@mailinator.com --- url field is dead
the source code link focht provided is the same
wine 1.7.30
so no change here.
https://bugs.winehq.org/show_bug.cgi?id=33182
--- Comment #34 from Mac Molder macmolder@gmail.com --- We have no longer interest of this game, so I will close this now as abandoned. Thanks for the support!
As for the game itself, it used to be client-server for horse fan-club members only and afaik server is no longer available so it would not be possible to test this elsewhere either. Feel free to reopen if you like.
https://bugs.winehq.org/show_bug.cgi?id=33182
Mac Molder macmolder@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #35 from Mac Molder macmolder@gmail.com --- We have no longer interest of this game, so I will close this now as abandoned. Thanks for the support!
As for the game itself, it used to be client-server for horse fan-club members only and afaik server is no longer available so it would not be possible to test this elsewhere either. Feel free to reopen if you like.
https://bugs.winehq.org/show_bug.cgi?id=33182
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #36 from Austin English austinenglish@gmail.com --- Closing.