[Bug 33034] Many GFWL (Games For Windows Live) 1.x/2.x/3.x games crash or exit silently on startup (DiRT 2/3, GTA IV Steam)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 2 12:03:37 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=33034

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de

--- Comment #8 from Sebastian Lackner <sebastian at fds-team.de> ---
Created attachment 49191
  --> https://bugs.winehq.org/attachment.cgi?id=49191
ntdll: Set ldr.EntryPoint for main executable.

Does the attached patch solve the problem?

@Anastasius: I'm not really sure what you mean with "nasty things" though.

A case senstive search for "EntryPoint" in the whole wine source looks like
this field is only used by:
* K32GetModuleInformation
* alloc_module
* MODULE_InitDLL

The first one is never called directly, the associated export
"GetModuleInformation" is only used from dbghelp, but EntryPoint isn't used
there. For the third command it is necessary to exclude all modules without the
LDR_IMAGE_IS_DLL flag set.

Am I missing any other places where we have to take into account that the main
executable now has EntryPoint set?

-- 
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.



More information about the wine-bugs mailing list