Ygugulucky 2021-12-31 15:23 采纳率: 100%
浏览 276
已结题

Qt调用matlab生成的dll文件找不到pdb文件

Qt调用matlab生成的dll文件找不到pdb文件


DBGHELP: Symbol Search Path: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug
DBGHELP: symsrv.dll load failure
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\kernelbase.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\kernelbase.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\kernelbase.pdb - file not found
DBGHELP: kernelbase.pdb - file not found
DBGHELP: KERNELBASE - export symbols
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\vcruntime140d.amd64.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\vcruntime140d.amd64.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\vcruntime140d.amd64.pdb - file not found
DBGHELP: d:\a01\_work\4\s\\binaries\amd64ret\bin\amd64\\vcruntime140d.amd64.pdb - file not found
DBGHELP: VCRUNTIME140D - export symbols
DBGHELP: QAMtest - private symbols & lines 
        D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.pdb
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\kernel32.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\DLL\kernel32.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\DLL\kernel32.pdb - file not found
DBGHELP: kernel32.pdb - file not found
DBGHELP: KERNEL32 - export symbols
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\ntdll.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\ntdll.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\ntdll.pdb - file not found
DBGHELP: ntdll.pdb - file not found
DBGHELP: ntdll - export symbols
DBGHELP: Symbol Search Path: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\kernelbase.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\kernelbase.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\kernelbase.pdb - file not found
DBGHELP: kernelbase.pdb - file not found
DBGHELP: KERNELBASE - export symbols
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\vcruntime140d.amd64.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\vcruntime140d.amd64.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\vcruntime140d.amd64.pdb - file not found
DBGHELP: d:\a01\_work\4\s\\binaries\amd64ret\bin\amd64\\vcruntime140d.amd64.pdb - file not found
DBGHELP: VCRUNTIME140D - export symbols
DBGHELP: QAMtest - private symbols & lines 
        D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.pdb
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\kernel32.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\DLL\kernel32.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\DLL\kernel32.pdb - file not found
DBGHELP: kernel32.pdb - file not found
DBGHELP: KERNEL32 - export symbols
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\ntdll.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\dll\ntdll.pdb - file not found
DBGHELP: D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\symbols\dll\ntdll.pdb - file not found
DBGHELP: ntdll.pdb - file not found
DBGHELP: ntdll - export symbols

------------------------------------------------------------------------
      Unhandled C++ exception detected at Fri Dec 31 15:21:47 2021
------------------------------------------------------------------------

Configuration:
  Crash Decoding      : Disabled - No sandbox or build area path
  Crash Mode          : continue (default)
  Current Graphics Driver: Unknown hardware 
  Default Encoding    : GBK
  Deployed            : true
  Graphics card 1     : NVIDIA ( 0x10de ) NVIDIA GeForce MX350 Version 27.21.14.6230
  Graphics card 2     : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 27.20.100.9168
  Host Name           : LAPTOP-BT7JS95K
  MATLAB Architecture : win64
  MATLAB Entitlement ID: Unknown
  MATLAB Root         : D:\develop\MATLAB\R2016b
  MATLAB Version      : 9.1.0.441655 (R2016b)
  OpenGL              : hardware
  Operating System    : Microsoft Windows 10 家庭中文版
  Processor ID        : x86 Family 6 Model 126 Stepping 5, GenuineIntel
  Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  Window System       : Version 10.0 (Build 19043)

Fault Count: 1


Abnormal termination:
Unhandled C++ exception

Register State (from fault):
  RAX = 00007ff8ffe35ba1  RBX = 0000000000000000
  RCX = 00000092bb6feb90  RDX = 00000092bb6fe9d0
  RSP = 00000092bb6ff3d0  RBP = 0000000000000000
  RSI = 00000092bb6ff6d4  RDI = 00000092bb6ff89c
 
   R8 = 0000024100000016   R9 = 00000092bb6fe8d0
  R10 = 00000241920da930  R11 = 0000000000000000
  R12 = 0000000000000000  R13 = 0000000000000000
  R14 = 0000000000000000  R15 = 0000000000000000
 
  RIP = 00007ff8fdbb4f69  EFL = 00000202
 
   CS = 0033   FS = 0053   GS = 002b

Stack Trace (from fault):
[  0] 0x00007ff8fdbb4f69                 C:\WINDOWS\System32\KERNELBASE.dll+00216937 RaiseException+00000105
[  1] 0x00007ff8d138b460              C:\WINDOWS\SYSTEM32\VCRUNTIME140D.dll+00046176 CxxThrowException+00000288
[  2] 0x00007ff6c0de7ada D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+00096986 mwException::raise_error+00000090
[  3] 0x00007ff6c0de730d D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+00094989 mwArray::GetPromoted+00000093
[  4] 0x00007ff6c0de727a D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+00094842 mwArray::Get+00000058
[  5] 0x00007ff6c0de5cee D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+00089326 MainWindow::MainWindow+00001166
[  6] 0x00007ff6c0de57de D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+00088030 main+00000062
[  7] 0x00007ff6c0f25fe5 D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+01400805 WinMain+00000245
[  8] 0x00007ff6c0f242b2 D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+01393330 invoke_main+00000050
[  9] 0x00007ff6c0f2419e D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+01393054 __scrt_common_main_seh+00000302
[ 10] 0x00007ff6c0f2405e D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+01392734 __scrt_common_main+00000014
[ 11] 0x00007ff6c0f2434e D:\develop\Qt5.13.2\Project\build-QAMtest-Desktop_Qt_5_13_2_MSVC2017_64bit-Debug\debug\QAMtest.exe+01393486 WinMainCRTStartup+00000014
[ 12] 0x00007ff8fe297034                   C:\WINDOWS\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 13] 0x00007ff8ffe62651                      C:\WINDOWS\SYSTEM32\ntdll.dll+00337489 RtlUserThreadStart+00000033


If this problem is reproducible, please submit a Service Request via:
    http://www.mathworks.com/support/contact_us/

A technical support engineer might contact you with further information.

Thank you for your help.** This crash report has been saved to disk as C:\Users\wy\AppData\Local\Temp\matlab_crash_dump.4624-1 **



MATLAB is exiting because of fatal error
  • 写回答

1条回答 默认 最新

  • _GX_ 2022-01-01 10:00
    关注

    pdb文件是在调试程序时用来查找debug symbol用的,如果dll对应的pdb文件没找到,那么有些内存地址就不能翻译成人能看懂的符号,比如函数名。
    所以你这里出错不是由于pdb文件没找到造成的。很可能是由于你传入的参数不符合dll函数的要求引起的。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 1月14日
  • 已采纳回答 1月6日
  • 创建了问题 12月31日

悬赏问题

  • ¥18 深度学习tensorflow1,ssdv1,coco数据集训练一个模型
  • ¥100 关于注册表摄像头和麦克风的问题
  • ¥30 代码本地运行正常,但是TOMCAT部署时闪退
  • ¥15 关于#python#的问题
  • ¥15 主机可以ping通路由器但是连不上网怎么办
  • ¥15 数据库一张以时间排好序的表中,找出多次相邻的那些行
  • ¥50 关于DynamoRIO处理多线程程序时候的问题
  • ¥15 kubeadm部署k8s出错
  • ¥15 Abaqus打不开cae文件怎么办?
  • ¥15 小程序准备上线,软件开发公司需要提供哪些资料给甲方