- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我构建了一个名为 OpenARK 的开源软件在 Windows 10 64 位上使用 OpenCV3.2.0、Visual Studio 2015 和 PCL 1.8 以及使用 PMD SDK 的 PMD 相机。完全无误地完成构建后,尝试不调试启动时出现以下错误:
ucrtbase.dll fatal program exit requested 0x00007FF86C8AEA1E
如何修复此错误以及导致错误的原因是什么? OpenCV3.2.0 具有为 VC14 构建的库,因此这似乎不会导致问题。调试问题不会提供更多信息。
这是一个更详尽的日志:
'OpenARK-SDK.exe' (Win32): Loaded 'C:\openark_mona\OpenARK\x64\Release\OpenARK-SDK.exe'. Symbols loaded.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_common_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_search_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_filters_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_features_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\wsock32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\opencv\build\x64\vc14\bin\opencv_world320.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_segmentation_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_visualization_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\pmdsdk\lib\pmdaccess2.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_kdtree_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_octree_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_sample_consensus_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_ml_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_io_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.14393.447_none_0d5aa7fbb6d35646\comctl32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ddraw.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\PCL 1.8.0\bin\pcl_io_ply_release.dll'. Module was built without symbols.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Program Files\OpenNI2\Tools\OpenNI2.dll'. Symbols loaded.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\dciman32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msvcr100.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\nvoglv64.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\wtsapi32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\winsta.dll'. Cannot find or open the PDB file.
'OpenARK-SDK.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
The thread 0x1844 has exited with code 0 (0x0).
Unhandled exception at 0x00007FF86C8AEA1E (ucrtbase.dll) in OpenARK-SDK.exe: Fatal program exit requested.
Unhandled exception at 0x00007FF86C8AEA1E (ucrtbase.dll) in OpenARK-SDK.exe: Fatal program exit requested.
Unhandled exception at 0x00007FF86C8AEA1E (ucrtbase.dll) in OpenARK-SDK.exe: Fatal program exit requested.
The program '[960] OpenARK-SDK.exe' has exited with code 0 (0x0).
这是异常的拷贝:
> OpenARK-SDK.exe!__scrt_unhandled_exception_filter(_EXCEPTION_POINTERS * const pointers) Line 75 C++
Unhandled exception at 0x00007FF86C8AEA1E (ucrtbase.dll) in OpenARK-SDK.exe: Fatal program exit requested.
ucrtbase.dll!00007ff86c8aea1e() Unknown
更新:我看到了这个答案:https://stackoverflow.com/a/35453129/2414957我在 x64 模式下使用 Release。
最佳答案
首先尝试在调试中运行。确保在异常设置中为 std::exceptions 启用“抛出时中断”,您将看到导致退出的抛出异常的原因:
请注意,您也可以在发布时这样做,但一般来说,调试调试版本时您的运气会更好。在调试中,您需要链接到 opencv_world320d.lib
您也可以尝试用 try/catch 包装您的 main 以查看抛出的异常。
try {
// your code...
} catch(std::exception& e) {
std::cout << "exception: " << e.what() << std::endl;
}
关于c++ - 请求致命程序退出 (ucrtbase.dll),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43794751/
我目前正在为 Cocoa/Objective-C 项目编写一个脚本来完全自动化我的编译-运行-调试过程。 我的最后一行代码是: lldb -f Build/MyApp.app -o "run" 这实际
我有一个带有登录屏幕的脚本,如果按下取消按钮,我想完全退出该应用程序。我尝试了 3 种方法: 系统退出() QApplication.quit() QCoreApplication.instance(
我有一个 Flash 应用程序,可以重定向到另一个页面。我很乐意捕获任何其他窗口卸载事件(单击链接/提交表单)并警告用户他们将丢失 Flash 应用程序中的进度。 但是,我找不到任何方法来判断 URL
我正在尝试在 Ubuntu 上用 Python 编写一个简单的程序,它将在播放视频完成后关闭/退出/退出 VLC Player。 能否请您指导我应该在我的程序中添加什么以获得我需要的结果。 impor
我在 Lynda.com 上学习 PHP 2 视频时遇到了一个问题,因为讲师似乎忽略了告诉我们他在视频中执行的步骤之一。我在这里上传了相关视频http://www.youtube.com/watch?
某天在群内有同学问到,在python下我用input或者raw_input都得输入完后回车才能获取到输入的值,那如何实现任意键退出暂停等功能呢,我当时也没有多想,因为接触python时间也不算长,主
我按顺序调用了几个函数(我无法编辑),但有些函数会重定向用户,所以我永远不会进入下一个函数。 我正在调用一个第三方函数,它调用了我能够阻止的 wp_redirect(),但是下一行是 exit;我不知
终止/退出主函数的 D 方式是什么? import std.stdio; import core.thread; void main() { int i; while (i <= 5)
我正在申请写作。用户可以打开应用程序、写一些文本、保存他们的工作等。 我试图做到这一点,以便点击 window close按钮将提示用户 (a) 保存他们的工作(如有必要)或 (b) 退出。 我正在尝
我正在通过在 repl 中检查别人的代码来玩弄它。 它不断调用 System/exit,这导致我的 repl 崩溃。这真是令人气愤。 在我有权访问的所有代码中,我都模拟了调用。 但它也会调用一些我没有
我正在使用 subprocess执行mimic的模块程序(指定 here )。下面的代码成功地读取了一些文本并写入了一个 mp3 文件。 import subprocess proc = subpro
退出 .then 范围后数组上的值被清除 在下面的代码中tableValues1.length 给我正确的长度,直到它位于每个循环内当它退出时,作用域数组长度为零。 请谁能帮我解决这个问题 - 谢谢
我正在尝试为 s3cmd 编写一个 docker 镜像。当我通过 docker-compose 运行从 Dockerfile 构建的图像时,容器在 docker compose run 命令之前退出。
这个问题已经有答案了: 已关闭12 年前。 Possible Duplicate: Quitting an application - is that frowned upon? 我编写了一个 And
我遇到 Selenium WebDriver 仅执行一次后退出 for 循环的问题。据推测,这是获取内容和在加载页面之前启动循环的问题。是否有可能让 webdriver 等待页面加载? List al
#include #include #include #include "Player.h" using namespace std; void PlayerMenu(); int main()
class Test{ public static void main(String args[]) { Patron list[] = new PatronData(
我正在做一些作业,遇到了这个问题。 Write a program that reads several lines of text and prints a table indicating the
我正在用 C 创建一个简单的 Linux 命令 shell。我无法理解我的代码在哪里出现问题。 “commands”是我希望作为一个父进程的子进程同时执行的 Linux 命令字符串列表。当所有执行完成
我的控制台应用程序有点问题。应用程序应该从用户那里获取数字并将它们添加到列表中,但是如果输入是“c”,它应该关闭。我不知道如何在不使用 Scanner.nextLine() 挂起应用程序并退出循环的情
我是一名优秀的程序员,十分优秀!