[Bug 34125] JX3Client.exe crashes at start

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 26 06:30:10 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34125

--- Comment #15 from Henri Verbeet <hverbeet at gmail.com> 2013-07-26 06:30:10 CDT ---
(In reply to comment #11)
> I have no idea about anything related to d3d but this looks like where it
> fails:
> 
> ---
> 118566706:0025:trace:d3d9:d3d9_device_CreateVertexDeclaration iface 0x16d4d0,
> elements 0x1953365c, declaration 0x19533658.
> 118566707:0025:Call ntdll.RtlAllocateHeap(00110000,00000008,0000001c)
> ret=b73fb55e
> 118566708:0025:Ret  ntdll.RtlAllocateHeap() retval=19530bd0 ret=b73fb55e
> 118566709:0025:trace:d3d9:convert_to_wined3d_declaration d3d9_elements
> 0x1953365c, wined3d_elements 0x33d448
> 118566710:0025:Call ntdll.RtlAllocateHeap(00110000,00000000,00000050)
> ret=b73fb051
> 118566711:0025:Ret  ntdll.RtlAllocateHeap() retval=19531800 ret=b73fb051
> 118566712:0025:warn:d3d9:convert_to_wined3d_declaration Invalid element type
> 0xfe.
> 118566713:0025:Call ntdll.RtlFreeHeap(00110000,00000000,19531800) ret=b73fb15c
> 118566714:0025:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=b73fb15c
> 118566715:0025:warn:d3d9:vertexdeclaration_init Failed to create wined3d vertex
> declaration elements, hr 0x80004005.
> 118566716:0025:warn:d3d9:d3d9_vertex_declaration_create Failed to initialize
> vertex declaration, hr 0x80004005.
> ---
> 
> It's just a guess, but you could try to zero 'declaration' - out parameter in
> this call. It's probably possible that application checks for null and if not
> null it tries to call.

It might make it worse, but I think the "Invalid element type 0xfe." warning
suggests the stack is already corrupted at that point. (Specifically, that code
is processing the data in "elements" / 0x1953365c.)

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



More information about the wine-bugs mailing list