Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

C/C++本地代码调试

帖子发起人: 烈火   发起时间: 2013-01-26 22:53 下午   回复: 5

Print Search
帖子排序:    
   2013-01-26, 22:53 下午
FireBurn 离线,最后访问时间: 2014/2/10 8:02:11 烈火

发帖数前50位
注册: 2013-01-26
发 贴: 28
Angry [:@] 求助,调试一个无响应的游戏。
Reply Quote
最近玩Renegade Ops这个游戏,发现建立联机游戏的时候,游戏会失去响应。向代理的SEGA公司的客服发了邮件说明问题,来往几次电邮联系,始终不解决问题。客服也只会在Windows更新,网络端口这些方向上打转,实在令人恼火,感觉根本在浪费时间。

于是试着自己调试一下,用WinDbg附加到游戏进程,

Microsoft (R) Windows Debugger Version 6.2.9200.16384 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

*** wait with pending attach
Symbol search path is: srv*
Executable search path is: srv*
ModLoad: 00000000`00400000 00000000`01476000   D:\Steam\steamapps\common\Renegade Ops\RenegadeOps.exe
ModLoad: 00000000`77400000 00000000`775a9000   C:\Windows\SYSTEM32\ntdll.dll
ModLoad: 00000000`775e0000 00000000`77760000   ntdll.dll
.....
ModLoad: 00000000`70770000 00000000`70777000   MIDIMAP.dll
(12bc.14f4): Break instruction exception - code 80000003 (first chance)
ntdll!DbgBreakPoint:
00000000`77450530 cc              int     3

接着继续进行游戏,运行到无响应的地方,WinDbg显示捕捉到C++异常

0:029> g
(12bc.d64): C++ EH exception - code e06d7363 (first chance)

然后在WinDbg里中断游戏,使用k命令显示堆栈

0:016> k
Child-SP          RetAddr           Call Site
00000000`0a0ffc78 00000000`774f7ef8 ntdll!DbgBreakPoint
00000000`0a0ffc80 00000000`77464a00 ntdll!DbgUiRemoteBreakin+0x38
00000000`0a0ffcb0 00000000`00000000 ntdll!RtlUserThreadStart+0x25

从这个堆栈上看不出什么来。因为才刚开始学习《软件调试》,WinDbg也只学习了两三个简单的命令,所以换用更熟悉的OllyICE看看。

同样重复上面的过程,把OllyICE附加入游戏进程,游戏无响应后中断,在OllyICE的堆栈区里显示出比较多的信息。

0C70FA88   771BF8B1  返回到 ntdll.771BF8B1
0C70FA8C   7608149D  返回到 KERNELBA.7608149D 来自 ntdll.ZwWaitForSingleObject
0C70FA90   000003A0
0C70FA94   00000000
0C70FA98   0C70FAD0
0C70FA9C   5B493B93
0C70FAA0   0AF56B78
0C70FAA4   000003A0
0C70FAA8   757B1136  kernel32.WaitForSingleObject
0C70FAAC   00000024
0C70FAB0   00000001
0C70FAB4   00000000
0C70FAB8   00000000
0C70FABC   00000000
0C70FAC0   00000000
0C70FAC4   00000000
0C70FAC8   00000000
0C70FACC   00000000
0C70FAD0   FFFCF2C0
0C70FAD4   FFFFFFFF
0C70FAD8   00000000
0C70FADC   0C70FA9C
0C70FAE0   00000000
0C70FAE4   0C70FFC4  指向下一个 SEH 记录的指针
0C70FAE8   760A6FF0  SE处理程序
0C70FAEC   213349FF
0C70FAF0   00000000
0C70FAF4  /0C70FB0C
0C70FAF8  |757B1194  返回到 kernel32.757B1194 来自 <jmp.&API-MS-Win-Core-Synch-L1-1-0.WaitForSingleObjectEx>
0C70FAFC  |000003A0
0C70FB00  |00000014
0C70FB04  |00000000
0C70FB08  |0AF56B70
0C70FB0C  ]0C70FB20
0C70FB10  |757B1148  返回到 kernel32.757B1148 来自 kernel32.WaitForSingleObjectEx
0C70FB14  |000003A0
0C70FB18  |00000014
0C70FB1C  |00000000
0C70FB20  ]0C70FB38
0C70FB24  |6942672B  返回到 atidxx32.6942672B
0C70FB28  |000003A0
0C70FB2C  |00000014
0C70FB30  |0AF56D80
0C70FB34  |00000103
0C70FB38  ]0C70FB50
0C70FB3C  |69417708  返回到 atidxx32.69417708 来自 atidxx32.694266F0
0C70FB40  |0AF56B40
0C70FB44  |03110804
0C70FB48  |0AF56D80
0C70FB4C  |0B20F99C
0C70FB50  ]0C70FB6C
0C70FB54  |6941DCF3  返回到 atidxx32.6941DCF3 来自 atidxx32.69417610
0C70FB58  |0AF56B40
0C70FB5C  |00000005
0C70FB60  |031107F8
0C70FB64  |00000001
0C70FB68  |694024B7  返回到 atidxx32.694024B7
0C70FB6C  ]0C70FB78
0C70FB70  |733C5268  返回到 atiuxpag.733C5268
0C70FB74  |0311349C
0C70FB78  \0C70FB98
0C70FB7C   73381F33  返回到 d3d10_1c.73381F33
0C70FB80   03111D7C
0C70FB84   104D74C0
0C70FB88   00000009
0C70FB8C   006A6411  Renegade.006A6411

接下来就不知道该做什么了,对游戏进行逆向不是我的本意,也超出了我的水平。请教一下,根据OllyICE的堆栈内容是否已经足够确定问题所在了。我是不是可以直接把这个砸给客服,或者说联系AMD?

IP 地址: 已记录   报告
   2013-01-26, 23:01 下午
single 离线,最后访问时间: 2010/12/4 5:48:40 single

发帖数前100位
注册: 2008-10-06
发 贴: 12
Re: 求助,调试一个无响应的游戏。
Reply Quote
从OD上看是一直在等待一个信号  WaitForSingleObject,windbg 你可以在断下来的时候打印下所有线程的堆栈那样看的更清楚,

随便问下张老师您的新书什么时候可以订购的?

IP 地址: 已记录   报告
   2013-01-28, 09:53 上午
Raymond 离线,最后访问时间: 2020/7/3 3:40:25 格蠹老雷

发帖数前10位
注册: 2005-12-19
发 贴: 1,303
Re: 求助,调试一个无响应的游戏。
Reply Quote

对于WinDBG,需要切换一下当前线程,或者观察所有线程的栈回溯:~* k

对于OllyDbg,是ati的驱动发起一个等待动作,但这个信息很有限,不能断定是谁的错...

新书估计春节后出来


IP 地址: 已记录   报告
   2013-02-03, 08:59 上午
FireBurn 离线,最后访问时间: 2014/2/10 8:02:11 烈火

发帖数前50位
注册: 2013-01-26
发 贴: 28
Re: 求助,调试一个无响应的游戏。
Reply Quote
感谢两位回复,用~*k查看堆栈,结果显示出来这么个东西

Child-SP          RetAddr           Call Site
00000000`0008ec08 00000000`73182bf1 wow64cpu!CpupSyscallStub+0x9
00000000`0008ec10 00000000`731fd07e wow64cpu!Thunk0ArgReloadState+0x23
00000000`0008ecd0 00000000`731fc549 wow64!RunCpuSimulation+0xa
00000000`0008ed20 00000000`771f4956 wow64!Wow64LdrpInitialize+0x429
00000000`0008f270 00000000`771f1a17 ntdll!LdrpInitializeProcess+0x17e4
00000000`0008f760 00000000`771dc32e ntdll! ?? ::FNODOBFM::`string'+0x29220
00000000`0008f7d0 00000000`00000000 ntdll!LdrInitializeThunk+0xe

29个线程基本都显示一样的。看到wow64,想到是不是因为我用的是64位的winDbg的缘故。

重新下了个32位的winDbg,这回基本正常了。这个游戏有29个线程,有点恐怖啊。

0:016> ~*k

   0  Id: 850.108 Suspend: 2 Teb: 7efdd000 Unfrozen
ChildEBP RetAddr  
0018f7f8 7667149d ntdll!ZwWaitForSingleObject+0x15
0018f864 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0018f87c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
*** ERROR: Module load completed but symbols could not be loaded for D:\Steam\steamapps\common\Renegade Ops\RenegadeOps.exe
0018f890 006a8729 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0018f8b8 0043a613 RenegadeOps+0x2a8729
0018f8c0 0048f159 RenegadeOps+0x3a613
0018f910 004926a1 RenegadeOps+0x8f159
0018f978 0040405c RenegadeOps+0x926a1
0018fa00 0040f2d5 RenegadeOps+0x405c
0018fef4 0072d9dd RenegadeOps+0xf2d5
0018ff88 74ce33aa RenegadeOps+0x32d9dd
0018ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0018ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0018ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   1  Id: 850.f2c Suspend: 2 Teb: 7efda000 Unfrozen
ChildEBP RetAddr  
04e2fdf4 773e2f51 ntdll!NtWaitForMultipleObjects+0x15
04e2ff88 74ce33aa ntdll!TppWaiterpThread+0x33d
04e2ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
04e2ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
04e2ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   2  Id: 850.ec8 Suspend: 2 Teb: 7efd7000 Unfrozen
ChildEBP RetAddr  
0939fd90 7667149d ntdll!ZwWaitForSingleObject+0x15
0939fdfc 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0939fe14 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0939fe28 00731dbf kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0939ff74 007320d0 RenegadeOps+0x331dbf
0939ff94 773c9ef2 RenegadeOps+0x3320d0
0939ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0939ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   3  Id: 850.b8c Suspend: 2 Teb: 7ef9f000 Unfrozen
ChildEBP RetAddr  
0954fea8 7667149d ntdll!ZwWaitForSingleObject+0x15
0954ff14 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0954ff2c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0954ff40 0056d22c kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0954ff88 74ce33aa RenegadeOps+0x16d22c
0954ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0954ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0954ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   4  Id: 850.1150 Suspend: 2 Teb: 7ef9c000 Unfrozen
ChildEBP RetAddr  
0964feac 7667149d ntdll!ZwWaitForSingleObject+0x15
0964ff18 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0964ff30 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0964ff44 00731dbf kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0964ff50 00412369 RenegadeOps+0x331dbf
0964ff74 007320d0 RenegadeOps+0x12369
00000000 00000000 RenegadeOps+0x3320d0

   5  Id: 850.112c Suspend: 2 Teb: 7ef99000 Unfrozen
ChildEBP RetAddr  
0997fb64 7667149d ntdll!ZwWaitForSingleObject+0x15
0997fbd0 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0997fbe8 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0997fbfc 0075bf2b kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0997ff80 74ce33aa RenegadeOps+0x35bf2b
0997ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0997ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0997ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   6  Id: 850.11a4 Suspend: 2 Teb: 7ef96000 Unfrozen
ChildEBP RetAddr  
0b23fb64 7667149d ntdll!ZwWaitForSingleObject+0x15
0b23fbd0 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0b23fbe8 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0b23fbfc 0075bf2b kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0b23ff80 74ce33aa RenegadeOps+0x35bf2b
0b23ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0b23ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0b23ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   7  Id: 850.13b0 Suspend: 2 Teb: 7ef93000 Unfrozen
ChildEBP RetAddr  
0b53fe68 7667149d ntdll!ZwWaitForSingleObject+0x15
0b53fed4 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0b53feec 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
*** WARNING: Unable to verify checksum for C:\Windows\system32\atidxx32.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\system32\atidxx32.dll - 
0b53ff00 61f1b19f kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0b53ff44 622b15e7 atidxx32!XdxInitXopAdapterServices+0x382df
0b53ff7c 622b15cb atidxx32!AmdDxExtCreate11+0x5087
0b53ff88 74ce33aa atidxx32!AmdDxExtCreate11+0x506b
0b53ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0b53ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0b53ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   8  Id: 850.758 Suspend: 2 Teb: 7ef90000 Unfrozen
ChildEBP RetAddr  
0ca2fd9c 7667149d ntdll!ZwWaitForSingleObject+0x15
0ca2fe08 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0ca2fe20 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0ca2fe34 00731dbf kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0ca2ff7c 0056d2b4 RenegadeOps+0x331dbf
0ca2ff88 74ce33aa RenegadeOps+0x16d2b4
0ca2ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0ca2ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0ca2ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

   9  Id: 850.e78 Suspend: 1 Teb: 7ef8d000 Unfrozen
ChildEBP RetAddr  
0cb2fa88 7667149d ntdll!ZwWaitForSingleObject+0x15
0cb2faf4 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0cb2fb0c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0cb2fb20 61f2a5db kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0cb2fb38 61f1ad68 atidxx32!XdxInitXopAdapterServices+0x4771b
0cb2fb50 61f21363 atidxx32!XdxInitXopAdapterServices+0x37ea8
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\system32\atiuxpag.dll - 
0cb2fb6c 74505260 atidxx32!XdxInitXopAdapterServices+0x3e4a3
0cb2fb78 62fe1f33 atiuxpag!OpenAdapter10_2+0xf10
0cb2fb88 006a6411 d3d10_1core!NMultithread::CDevice::Flush+0x33
0cb2fb98 006abb14 RenegadeOps+0x2a6411
0cb2fbe0 004b3771 RenegadeOps+0x2abb14
0cb2fcbc 0044553b RenegadeOps+0xb3771
0cb2fd28 00445e43 RenegadeOps+0x4553b
0cb2fd4c 0049959c RenegadeOps+0x45e43
0cb2fda0 006b214f RenegadeOps+0x9959c
0cb2fdc4 006c2c27 RenegadeOps+0x2b214f
0cb2fdfc 006c399e RenegadeOps+0x2c2c27
0cb2fe0c 006adc05 RenegadeOps+0x2c399e
0cb2fe24 0055371d RenegadeOps+0x2adc05
0cb2fe40 00553f79 RenegadeOps+0x15371d
0cb2ff7c 0056d2b4 RenegadeOps+0x153f79
0cb2ff88 74ce33aa RenegadeOps+0x16d2b4
0cb2ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0cb2ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0cb2ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  10  Id: 850.f74 Suspend: 2 Teb: 7ef8a000 Unfrozen
ChildEBP RetAddr  
0cc2fd9c 7667149d ntdll!ZwWaitForSingleObject+0x15
0cc2fe08 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0cc2fe20 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0cc2fe34 00731dbf kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0cc2ff7c 0056d2b4 RenegadeOps+0x331dbf
0cc2ff88 74ce33aa RenegadeOps+0x16d2b4
0cc2ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0cc2ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0cc2ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  11  Id: 850.13e4 Suspend: 2 Teb: 7ef87000 Unfrozen
ChildEBP RetAddr  
0d16fe88 7667149d ntdll!ZwWaitForSingleObject+0x15
0d16fef4 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0d16ff0c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0d16ff20 0088a5a0 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0d16ff30 008827d6 RenegadeOps+0x48a5a0
0d16ff44 6582c556 RenegadeOps+0x4827d6
0d16ff7c 6582c600 MSVCR100!_endthreadex+0x3f
0d16ff88 74ce33aa MSVCR100!_endthreadex+0xce
0d16ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0d16ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0d16ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  12  Id: 850.1098 Suspend: 2 Teb: 7ef84000 Unfrozen
ChildEBP RetAddr  
0d36fdb0 72f56f0f ntdll!ZwWaitForSingleObject+0x15
0d36fdf0 72f61fc7 mswsock!SockWaitForSingleObject+0x1ba
0d36fe74 7520b755 mswsock!WSPRecvFrom+0x20c
0d36fec4 00417c5f WS2_32!recvfrom+0x8d
WARNING: Stack unwind information not available. Following frames may be wrong.
0d36fef8 0087cdce RenegadeOps+0x17c5f
0d36ff44 6582c556 RenegadeOps+0x47cdce
0d36ff7c 6582c600 MSVCR100!_endthreadex+0x3f
0d36ff88 74ce33aa MSVCR100!_endthreadex+0xce
0d36ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0d36ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0d36ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  13  Id: 850.814 Suspend: 2 Teb: 7ef81000 Unfrozen
ChildEBP RetAddr  
0cf5fe98 7667149d ntdll!ZwWaitForSingleObject+0x15
0cf5ff04 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0cf5ff1c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0cf5ff30 008a97c3 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0cf5ff44 6582c556 RenegadeOps+0x4a97c3
0cf5ff7c 6582c600 MSVCR100!_endthreadex+0x3f
0cf5ff88 74ce33aa MSVCR100!_endthreadex+0xce
0cf5ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0cf5ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0cf5ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  14  Id: 850.810 Suspend: 2 Teb: 7ef7e000 Unfrozen
ChildEBP RetAddr  
0d4afe98 7667149d ntdll!ZwWaitForSingleObject+0x15
0d4aff04 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0d4aff1c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0d4aff30 008a97c3 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0d4aff44 6582c556 RenegadeOps+0x4a97c3
0d4aff7c 6582c600 MSVCR100!_endthreadex+0x3f
0d4aff88 74ce33aa MSVCR100!_endthreadex+0xce
0d4aff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0d4affd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0d4affec 00000000 ntdll!_RtlUserThreadStart+0x1b

  15  Id: 850.119c Suspend: 2 Teb: 7ef7b000 Unfrozen
ChildEBP RetAddr  
0d5efe98 7667149d ntdll!ZwWaitForSingleObject+0x15
0d5eff04 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0d5eff1c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
0d5eff30 008a97c3 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0d5eff44 6582c556 RenegadeOps+0x4a97c3
0d5eff7c 6582c600 MSVCR100!_endthreadex+0x3f
0d5eff88 74ce33aa MSVCR100!_endthreadex+0xce
0d5eff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0d5effd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0d5effec 00000000 ntdll!_RtlUserThreadStart+0x1b

# 16  Id: 850.137c Suspend: 1 Teb: 7ef75000 Unfrozen
ChildEBP RetAddr  
09b8ff58 7742f896 ntdll!DbgBreakPoint
09b8ff88 74ce33aa ntdll!DbgUiRemoteBreakin+0x3c
09b8ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
09b8ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
09b8ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  17  Id: 850.fbc Suspend: 2 Teb: 7ef72000 Unfrozen
ChildEBP RetAddr  
0ddbfe28 773e3352 ntdll!ZwWaitForWorkViaWorkerFactory+0x12
0ddbff88 74ce33aa ntdll!TppWorkerThread+0x216
0ddbff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0ddbffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0ddbffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  18  Id: 850.bdc Suspend: 2 Teb: 7ef6f000 Unfrozen
ChildEBP RetAddr  
0defff58 773e7156 ntdll!NtTraceControl+0x12
0defff88 74ce33aa ntdll!EtwpNotificationThread+0x3d
0defff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0defffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0defffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  19  Id: 850.10a4 Suspend: 2 Teb: 7ef6c000 Unfrozen
ChildEBP RetAddr  
0e03fe28 773e3352 ntdll!ZwWaitForWorkViaWorkerFactory+0x12
0e03ff88 74ce33aa ntdll!TppWorkerThread+0x216
0e03ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0e03ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0e03ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  20  Id: 850.13a0 Suspend: 2 Teb: 7ef69000 Unfrozen
ChildEBP RetAddr  
0e17fe28 773e3352 ntdll!ZwWaitForWorkViaWorkerFactory+0x12
0e17ff88 74ce33aa ntdll!TppWorkerThread+0x216
0e17ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0e17ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0e17ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  21  Id: 850.414 Suspend: 2 Teb: 7ef78000 Unfrozen
ChildEBP RetAddr  
0f07fe0c 766715e9 ntdll!NtWaitForMultipleObjects+0x15
0f07fea8 74ce1a2c KERNELBASE!WaitForMultipleObjectsEx+0x100
0f07fef0 7690086a kernel32!WaitForMultipleObjectsExImplementation+0xe0
0f07ff44 658992a6 USER32!RealMsgWaitForMultipleObjectsEx+0x14d
0f07ff88 74ce33aa DINPUT8!CEm_LL_ThreadProc+0xb6
0f07ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0f07ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0f07ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  22  Id: 850.9e8 Suspend: 2 Teb: 7ef63000 Unfrozen
ChildEBP RetAddr  
0f2ffea8 77438051 ntdll!NtWaitForKeyedEvent+0x15
0f2fff00 74d64bc3 ntdll!RtlSleepConditionVariableCS+0xb6
0f2fff20 61f4ab9a kernel32!SleepConditionVariableCS+0x21
WARNING: Stack unwind information not available. Following frames may be wrong.
0f2fff44 622b15e7 atidxx32!AmdDxGsaFreeCompiledShader+0x1f91a
0f2fff7c 622b15cb atidxx32!AmdDxExtCreate11+0x5087
0f2fff88 74ce33aa atidxx32!AmdDxExtCreate11+0x506b
0f2fff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0f2fffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0f2fffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  23  Id: 850.1254 Suspend: 2 Teb: 7ef60000 Unfrozen
ChildEBP RetAddr  
0f43fea8 77438051 ntdll!NtWaitForKeyedEvent+0x15
0f43ff00 74d64bc3 ntdll!RtlSleepConditionVariableCS+0xb6
0f43ff20 61f4ab9a kernel32!SleepConditionVariableCS+0x21
WARNING: Stack unwind information not available. Following frames may be wrong.
0f43ff44 622b15e7 atidxx32!AmdDxGsaFreeCompiledShader+0x1f91a
0f43ff7c 622b15cb atidxx32!AmdDxExtCreate11+0x5087
0f43ff88 74ce33aa atidxx32!AmdDxExtCreate11+0x506b
0f43ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0f43ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0f43ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  24  Id: 850.1144 Suspend: 2 Teb: 7ef5d000 Unfrozen
ChildEBP RetAddr  
0ffcfeac 7667149d ntdll!ZwWaitForSingleObject+0x15
0ffcff18 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
0ffcff30 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for D:\Steam\steamapps\common\Renegade Ops\fmodex.dll - 
0ffcff44 6323fe9b kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0ffcff74 6324ea45 fmodex!FMOD::SystemI::createChannelGroupInternal+0x18197
0ffcff88 74ce33aa fmodex!FMOD_File_GetDiskBusy+0x4efc
0ffcff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
0ffcffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
0ffcffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  25  Id: 850.cc8 Suspend: 2 Teb: 7ef5a000 Unfrozen
ChildEBP RetAddr  
21d7feb8 7667149d ntdll!ZwWaitForSingleObject+0x15
21d7ff24 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
21d7ff3c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
21d7ff50 6322fad8 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
21d7ff64 6322ee1a fmodex!FMOD::SystemI::createChannelGroupInternal+0x7dd4
21d7ff74 6324ea29 fmodex!FMOD::SystemI::createChannelGroupInternal+0x7116
21d7ff88 74ce33aa fmodex!FMOD_File_GetDiskBusy+0x4ee0
21d7ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
21d7ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
21d7ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  26  Id: 850.cac Suspend: 2 Teb: 7ef57000 Unfrozen
ChildEBP RetAddr  
21ebfef0 76673bc8 ntdll!NtDelayExecution+0x15
21ebff58 76674498 KERNELBASE!SleepEx+0x65
21ebff68 6322ec5c KERNELBASE!Sleep+0xf
WARNING: Stack unwind information not available. Following frames may be wrong.
21ebff74 6324ea5e fmodex!FMOD::SystemI::createChannelGroupInternal+0x6f58
21ebff88 74ce33aa fmodex!FMOD_File_GetDiskBusy+0x4f15
21ebff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
21ebffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
21ebffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  27  Id: 850.7c Suspend: 2 Teb: 7ef54000 Unfrozen
ChildEBP RetAddr  
220ffeb8 7667149d ntdll!ZwWaitForSingleObject+0x15
220fff24 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
220fff3c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
220fff50 6322fad8 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
220fff64 6322ee1a fmodex!FMOD::SystemI::createChannelGroupInternal+0x7dd4
220fff74 6324ea29 fmodex!FMOD::SystemI::createChannelGroupInternal+0x7116
220fff88 74ce33aa fmodex!FMOD_File_GetDiskBusy+0x4ee0
220fff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
220fffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
220fffec 00000000 ntdll!_RtlUserThreadStart+0x1b

  28  Id: 850.190 Suspend: 2 Teb: 7ef51000 Unfrozen
ChildEBP RetAddr  
2223feb8 7667149d ntdll!ZwWaitForSingleObject+0x15
2223ff24 74ce1194 KERNELBASE!WaitForSingleObjectEx+0x98
2223ff3c 74ce1148 kernel32!WaitForSingleObjectExImplementation+0x75
2223ff50 6322fad8 kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
2223ff64 6322ee1a fmodex!FMOD::SystemI::createChannelGroupInternal+0x7dd4
2223ff74 6324ea29 fmodex!FMOD::SystemI::createChannelGroupInternal+0x7116
2223ff88 74ce33aa fmodex!FMOD_File_GetDiskBusy+0x4ee0
2223ff94 773c9ef2 kernel32!BaseThreadInitThunk+0xe
2223ffd4 773c9ec5 ntdll!__RtlUserThreadStart+0x70
2223ffec 00000000 ntdll!_RtlUserThreadStart+0x1b

IP 地址: 已记录   报告
   2013-02-05, 22:54 下午
Raymond 离线,最后访问时间: 2020/7/3 3:40:25 格蠹老雷

发帖数前10位
注册: 2005-12-19
发 贴: 1,303
Re: 求助,调试一个无响应的游戏。
Reply Quote

UI线程是被阻塞了,如果正面分析的话,接下来要分析各个线程所等待的同步对象之间的关系了.......这可不像打游戏那么有趣

出现问题后就一直不响应了么?每次都出现么?

可以考虑把显卡驱动或者游戏升级一下看。


IP 地址: 已记录   报告
   2013-02-06, 10:30 上午
FireBurn 离线,最后访问时间: 2014/2/10 8:02:11 烈火

发帖数前50位
注册: 2013-01-26
发 贴: 28
Re: 求助,调试一个无响应的游戏。
Reply Quote
是的,每次在建立多人游戏的时候都会无响应。AMD的显卡驱动试过三个版本的,都没用。
这个游戏我买了四份,本来是想和朋友联机玩的。送了两个朋友,一个和我一样,用的A卡,建立多人游戏的时候会无响应。另外一个用N卡可以建立,但是我一加入,他也会无响应,不知道是不是因为我这边的缘故。

还有一个共同的现象是进入单人游戏的关卡的时候,如果不快点按键,跳过高分显示,那么游戏也会无响应。

我打算也在朋友的电脑上用winDbg看看。SEGA的客服已经我无力去搭理他了,只会让我去查网络环境,查映射端口什么的。

IP 地址: 已记录   报告
高端调试 » 软件调试 » C/C++本地代码调试 » Re: 求助,调试一个无响应的游戏。

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.