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

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日

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效