[Wine] Debugging Natural Selection 2

Brock York twunknown at gmail.com
Mon Feb 4 10:27:38 CST 2013

Hey everyone,
I've been trying to figure out the reason behind Natural Selection 2
crashing on startup. When starting the game in winedbg it normally ends up
stopping with:
Unhandled exception: page fault on read access to 0x13a75694 in 32-bit code

But sometimes it will also stop saying there was stack corruption and the
current frame cannot be found. So I'm having a hard time figuring out what
is causing the problem.
I'm still learning to debug, exspecially on the level of wine.

It seems to stop most often with in wined3d_surface_create or if it doesn't
make there it will crash somewhere with in wined3d_texture_create.
I've attached the output from winedbg after the crash. I don't have
debugging symbols built to tell what file and line the function is on, I'll
be trying to build that soon.
Any help is appreciated.
Regards Brock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-users/attachments/20130205/54af1267/attachment.html>
-------------- next part --------------
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xeb6e9a4): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x95fe9a4): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xeb6e9a4): stub
Unhandled exception: page fault on read access to 0x13a75694 in 32-bit code (0x7bc49d46).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc49d46 ESP:0033ecec EBP:0033ed04 EFLAGS:00010283(  R- --  I S - - -C)
 EAX:10604000 EBX:7bcbc000 ECX:13a75694 EDX:10c15450
 ESI:18e04000 EDI:00000001
Stack dump:
0x0033ecec:  10c24000 00000002 10c15460 7bcbc000
0x0033ecfc:  10bd5438 00040010 0033ed18 7bc49ed6
0x0033ed0c:  02e60244 0000000a 00040010 0033ed88
0x0033ed1c:  7bc4b076 00040010 78134c39 02494000
0x0033ed2c:  7bc375a3 78134c58 5a450000 7bc49d01
0x0033ed3c:  7bc3768d 00000002 03abd908 10bd5438
=>0 0x7bc49d46 in ntdll (+0x39d46) (0x0033ed04)
  1 0x7bc49ed6 in ntdll (+0x39ed5) (0x0033ed18)
  2 0x7bc4b076 RtlAllocateHeap+0xf5() in ntdll (0x0033ed88)
  3 0x7e156104 in wined3d (+0x76103) (0x0033ede8)
  4 0x7e19d7f0 wined3d_surface_create+0x36f() in wined3d (0x0033ee88)
  5 0x7e232632 in d3d9 (+0x22631) (0x0033eef8)
  6 0x7e223a9b in d3d9 (+0x13a9a) (0x0033ef68)
  7 0x7e22c128 in d3d9 (+0x1c127) (0x0033eff8)
  8 0x7e1b0dbf wined3d_texture_create_2d+0x67e() in wined3d (0x0033f0a8)
  9 0x7e236db5 in d3d9 (+0x26db4) (0x0033f118)
  10 0x7e228192 in d3d9 (+0x18191) (0x0033f1a8)
0x7bc49d46: movl	0x0(%ecx),%esi

More information about the wine-users mailing list