- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我最近才开始遇到这个问题,我不知道它是什么时候开始出现的/是什么原因造成的。
我这里有这个简单的测试程序:
#include <iostream>
int main()
{
return 0;
}
但是当我尝试正常运行它时,它会创建一个堆栈转储。
Stack trace:
Frame Function Args
00CBC498 6101D93A (00000198, 0000EA60, 000000A4, 00CBC508)
00CBC5C8 610E2F3F (00000000, 60FC04E8, 00CBC658, 7794ABEE)
然而,当我尝试在 GDB 中运行它时,它显然无法运行。
gdb: unknown target exception 0x406d1388 at 0x778edae8
Program received signal ?, Unknown signal.
0x778edae8 in RaiseException ()
from /cygdrive/c/WINDOWS/SYSTEM32/KERNELBASE.dll
(gdb) n
Single stepping until exit from function RaiseException,
which has no line number information.
[Thread 14880.0x11ac exited with code 1080890248]
[Thread 14880.0x3fd8 exited with code 1080890248]
[Thread 14880.0x3b24 exited with code 1080890248]
[Inferior 1 (process 14880) exited with code 010033211610]
我的编译器是这样设置的:
g++ -g -std=c++1y -Wall -c main.cpp -o main.o main.cpp compiled...
g++ -g -std=c++1y -Wall -o a main.o Successfully compiled!
知道我在这里做错了什么吗?我使用的平台是 Windows,我使用 Cygwin 作为我的开发环境。
注意:无论我在 main.cpp 中有什么,我仍然会遇到上述 GDB 错误。
我以前需要 cygboost_filesystem.dll
让 boost_filesystem 工作,我需要 libgcc_s_sjlj-1.dll
和 libstdc++6
因为没有他们就不行。
最佳答案
将 gdb 更新到 7.11.1-1 实验发布版本。
关于c++ - 由于 KERNELBASE.dll 错误,GDB 无法运行程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39321216/
当我检查事件查看器时,我的应用程序在没有任何应用程序错误记录的情况下崩溃,我发现以下信息。可以解释一下为什么会发生这种情况和 如何预防它? Faulting application name: MyA
我正在尝试使用 VS2012 Pro 构建并运行这段程序。 #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { STARTUP
晚上好 我正在开发一个通用应用程序。在几次随机崩溃和调试 native 代码后,我发现 native 异常是:“AssemblyName.UniversalApp.WindowsPhone.exe 中
我在 .Net Framework 3.5 (C#.Net) 中完成了一个应用程序。我在 Windows 7 中安装了该应用程序。但是在打开某些表单时,应用程序会出现以下错误 如果有人知道解决方案,请
我在 Windows 7/8 x64 上运行应用程序时遇到问题,但我可以在 Windows 10 x64 上启动。在 Visual Studio 中,平台目标设置为任何 CPU,但它对我没有帮助。我在
我在向我网站的某个页面发出 response.redirect 时遇到以下错误,我完全不知道从哪里开始。 它完全破坏了整个应用程序: Faulting application name: w3wp.e
我正在做一个简单的程序来检测网络摄像头,它运行了一段时间,但比我收到错误消息要多。 我从中获取了代码, https://thefreecoder.wordpress.com/2012/09/11/op
我的 C#/WinForms 应用程序在启动时崩溃。我在这里浏览了几篇涉及该主题的帖子,但我还无法解决问题。 这是我得到的错误: Problemsignature: Problemeventname:
我得到这个异常: Unhandled exception at 0x75374B32 (KernelBase.dll) in LogLoaderUnmanaged.exe: 0xE0434352 (p
我最近才开始遇到这个问题,我不知道它是什么时候开始出现的/是什么原因造成的。 我这里有这个简单的测试程序: #include int main() { return 0; } 但是当我尝试正
这个问题在这里已经有了答案: My C# application is returning 0xE0434352 to Windows Task Scheduler but it is not cr
我在D7中编写了一个Windows服务。直到今天它工作得很好不想发射。 在事件日志中我收到错误: 故障应用程序名称:XServ12.exe,版本:0.0.0.0,时间戳:0x2a425e19错误模块名
用Delphi 2010(Windows XP3计算机)编译的应用程序无法在Windows 7上运行。但是,在Windows XP上可以正常运行。使用D2010编译程序时,没有看到特殊消息。使用的第三
我编写了一个在 64 位 Windows Server 2008 上运行的应用程序,它需要按计划运行,因为它需要每 15 分钟运行一次。由于某种原因,程序在打开几分钟后崩溃(这是没有在计划中的)。该程
我试图在非托管 Visual C++ 解决方案中调用 C# COM 项目的方法,但我不断收到下一个错误 First-chance exception at 0x7697C41F (KernelBase
在 Visual Studio 2010 上,当我刚刚启动程序(无需打开任何项目)然后在它连接到 TFS 后,每次我打开一个工作项,创建新的工作项然后保存/关闭该工作项,Visual Studio 2
我最近在尝试运行调用多个子包的主父 SSIS 包时遇到了一个问题。我还没有找到有关此确切问题的帖子,因此我想分享一下我认为如何解决该问题的方法。这是尝试运行包时会发生的错误: 因此,在研究了这个问题之
我有一个 .NET 3.5 可执行文件,使用“任何 CPU”编译,当我尝试在 Windows Server 2008 x64 R2 上运行它时 - 它给我: Faulting application
我在Windows 7 32位操作系统中将opencv 2.4.10与Visual Studio 2010一起使用... 由于我是该 Realm 的新手,所以我首先尝试显示图像...效果很好...但是
我正在使用 Visual Studio 2019 并以以下简单的 OpenGL 程序作为最小示例(使用 GLFW 和 GLAD): #include #include #include void
我是一名优秀的程序员,十分优秀!