多线程程序的核心转储
我经常使用单线程程序。 我从未见过多线程程序崩溃,因为我没有处理过任何程序。
两个核心转储之间有什么区别吗? 与单线程程序相比,多线程程序的核心转储中是否提供了任何其他信息?
i have regularly worked with single threaded programs.
i never saw a multithreded program crashing since i havent worked on any.
is there any difference between both the core dumps?
is there any additional information provided in the core dump of a multithreaded program when compared to a single threaded program?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您获得完整转储,您将拥有进程的整个地址空间。这包括加载的模块、每个线程的堆栈等等。看一下 此链接了解更多信息。简而言之,转储将具有调试多个线程所需的信息。但仍然可能并不容易。
If you get a full dump, you'll have the entire address space of the process. That includes loaded modules, stacks for each thread and so on. Have a look at this link for additional info. In short the dump will have the necessary info to debug multiple threads. Still may not be easy though.