没辙了,求助网友们。Qt5Widgetsd.dd引发异常:0xC0000005:读取位置0xFFFFFFFFFFFF时发生冲突
报错内容如标题,断点位置#include "mainwindow.h"
#include <QApplication>
#include "qchdbghelp.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
WinDebug::install();
MainWindow w;
w.show();
return a.exec();//断在这里!!!!
}
代码不止这些,比较多不方便放上来,主要就是运用QGraphicsItem绘制图形,做了一个图形框架。
上网查了相关资料,有网友表示可以保存Debug.dmp文件,借助微软的“DbgHelp”可以打开进行查看内容。打开内容如下(比较难缠,看着都头晕,希望有人能看懂):
======================================================================分割线======================================================================
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [E:\Qt\QTVisionApp\build-VisionApp-Desktop_Qt_5_12_1_MSVC2015_64bit-Debug\Debug.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
WARNING: Minidump contains unknown stream type 0x15
WARNING: Minidump contains unknown stream type 0x16
Symbol search path is: E:\Qt\QTVisionApp\build-VisionApp-Desktop_Qt_5_12_1_MSVC2015_64bit-Debug\debug
Executable search path is: E:\Qt\QTVisionApp\build-VisionApp-Desktop_Qt_5_12_1_MSVC2015_64bit-Debug\debug
Windows 7 Version 17134 MP (6 procs) Free x64
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Thu Sep 22 08:12:02.000 2022 (UTC + 8:00)
System Uptime: not available
Process Uptime: 0 days 0:02:22.000
................................................................
...............................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(160c.45d8): Access violation - code c0000005 (first/second chance not available)
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
ntdll!ZwGetContextThread+0x14:
00007ffd`a239bce4 c3 ret
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for Qt5Cored.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for Qt5Cored.dll -
*** WARNING: Unable to verify checksum for qwindowsd.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for qwindowsd.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for user32.dll -
*** WARNING: Unable to verify checksum for Qt5Guid.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for Qt5Guid.dll -
*** WARNING: Unable to verify checksum for VisionApp.exe
*** ERROR: Symbol file could not be found. Defaulted to export symbols for kernel32.dll -
***** OS symbols are WRONG. Please fix symbols to do analysis.
*************************************************************************
*** ***
*** ***
*** Your debugger is not using the correct symbols ***
*** ***
*** In order for this command to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: nt!IMAGE_NT_HEADERS32 ***
*** ***
*************************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for dbgcore.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ole32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for combase.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for QQPinyin.ime -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for winmm.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for propsys.dll -
Failed calling InternetOpenUrl, GLE=12029
FAULTING_IP:
Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+6321b2
00007ffd`39d4587a 4883b88000000000 cmp qword ptr [rax+80h],0
EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00007ffd39d4587a (Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x00000000006321b2)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff
PROCESS_NAME: VisionApp.exe
ADDITIONAL_DEBUG_TEXT:
Use '!findthebuild' command to search for the target build information.
If the build information is available, run '!findthebuild -s ; .reload' to set symbol path and load symbols.
FAULTING_MODULE: 00007ffda2300000 ntdll
DEBUG_FLR_IMAGE_TIMESTAMP: 5c4f3cd2
ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - 0x%p
EXCEPTION_PARAMETER1: 0000000000000000
EXCEPTION_PARAMETER2: ffffffffffffffff
READ_ADDRESS: ffffffffffffffff
FOLLOWUP_IP:
Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+6321b2
00007ffd`39d4587a 4883b88000000000 cmp qword ptr [rax+80h],0
MOD_LIST: <ANALYSIS/>
FAULTING_THREAD: 00000000000045d8
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ_WRONG_SYMBOLS_FILL_PATTERN_dddddddd
PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ_FILL_PATTERN_dddddddd
DEFAULT_BUCKET_ID: INVALID_POINTER_READ_FILL_PATTERN_dddddddd
LAST_CONTROL_TRANSFER: from 00007ffd39d424b8 to 00007ffd39d4587a
STACK_TEXT:
000000ac`76d47930 00007ffd`39d424b8 : 00000240`31409610 00000240`332a7ae8 00000240`32d6abd0 00007ffd`39d43307 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x6321b2
000000ac`76d47980 00007ffd`39d4257a : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00007ffd`00000029 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62edf0
000000ac`76d479d0 00007ffd`39d42523 : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00007ffd`00000014 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62eeb2
000000ac`76d47a20 00007ffd`39d4257a : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00007ffd`00000009 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62ee5b
000000ac`76d47a70 00007ffd`39d42523 : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00007ffd`00000004 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62eeb2
000000ac`76d47ac0 00007ffd`39d4257a : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00000240`00000001 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62ee5b
000000ac`76d47b10 00007ffd`39d41960 : 00000240`331dba68 00000240`31409610 000000ac`76d47ca0 00007ffd`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62eeb2
000000ac`76d47b60 00007ffd`39d47e30 : 00000240`331dba68 000000ac`76d47bd8 000000ac`76d47ca0 00007ffd`39d49b01 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x62e298
000000ac`76d47bb0 00007ffd`39d45fd5 : 00000240`331db9f0 000000ac`76d47c98 000000ac`76d47ca0 00007ffd`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x634768
000000ac`76d47c00 00007ffd`39d144fd : 00000240`32fb40b0 000000ac`76d47c98 000000ac`76d47ca0 00000240`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x63290d
000000ac`76d47c50 00007ffd`39d5e29a : 00000240`33246f60 000000ac`76d47de0 00000000`00000000 00000240`33314de8 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x600e35
000000ac`76d47da0 00007ffd`397b6808 : 00000240`331d1e50 000000ac`76d493a8 3ff00000`00000000 00000000`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x64abd2
000000ac`76d482d0 00007ffd`3990bc2f : 00000240`331d1e50 000000ac`76d493a8 00000240`0000023e 00007ffd`39d68376 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0xa3140
000000ac`76d485d0 00007ffd`3990eccc : 00000240`331d1e50 000000ac`76d493a8 00000240`33314d38 00000240`3ceabd34 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x1f8567
000000ac`76d48610 00007ffd`39d5bc5f : 00000240`331d1e50 000000ac`76d493a8 000000ac`0000023f 00007ffd`0000024c : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x1fb604
000000ac`76d48650 00007ffd`3974b115 : 00000240`331d1e50 000000ac`76d493a8 00000240`2e4c8718 00007ffd`3c0e8453 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x648597
000000ac`76d48780 00007ffd`39913ccd : 00000240`33314910 000000ac`76d493a8 00000240`32d42528 00007ffd`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x37a4d
000000ac`76d487c0 00007ffd`3c50caa4 : 00000240`3140a690 00000240`32d42520 000000ac`76d493a8 ffffffff`fffffffe : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x200605
000000ac`76d48800 00007ffd`3975703e : 00000240`32d42520 000000ac`76d493a8 000000ac`76d493a8 00007ffd`39d0b27a : Qt5Cored!QAnimationDriver::startTime+0x46c6bd
000000ac`76d48870 00007ffd`397547d4 : 00000240`2e4c5370 00000240`32d42520 000000ac`76d493a8 00007ffd`39d09b7d : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x43976
000000ac`76d488d0 00007ffd`3c50bbc6 : 000000ac`76d4f710 00000240`32d42520 000000ac`76d493a8 00007ffd`3a25b966 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x4110c
000000ac`76d492d0 00007ffd`3c50ba6b : 00000240`32d42520 000000ac`76d493a8 00000240`314a8dd0 000000ac`76d49380 : Qt5Cored!QAnimationDriver::startTime+0x46b7df
000000ac`76d49350 00007ffd`397c0b5d : 00000240`32d42520 000000ac`76d493a8 00000000`00000000 3ff00000`00000000 : Qt5Cored!QAnimationDriver::startTime+0x46b684
000000ac`76d49380 00007ffd`397c061f : 00000240`33311ee0 000000ac`76d49460 3ff00000`00000000 000000ac`76d49580 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0xad495
000000ac`76d493f0 00007ffd`39770802 : 00000240`33311ee0 00000240`3146c2b8 000000ac`76d498c0 000000ac`76d498b8 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0xacf57
000000ac`76d49760 00007ffd`3976d9a0 : 00000240`313dcbf0 00000240`31446a90 000000ac`76d4f720 00007ffd`00000008 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x5d13a
000000ac`76d49c10 00007ffd`397c3310 : 00000240`313dcbf0 00007ffd`00000000 000000ac`76d4f728 00007ffd`3c15c4e5 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x5a2d8
000000ac`76d49c60 00007ffd`397b6efd : 00000240`2e504d50 00007ffd`3a758acf 00000240`3125fd80 00000000`00000010 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0xafc48
000000ac`76d49ca0 00007ffd`399cc927 : 000000ac`76d4f720 00000240`31409f70 000000ac`00000002 00000240`31386620 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0xa3835
000000ac`76d49fa0 00007ffd`3975705e : 000000ac`76d4f720 00000240`31409f70 00000240`31409f70 00000000`0000ffc0 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x2b925f
000000ac`76d4a000 00007ffd`397547d4 : 00000240`2e4c5370 000000ac`76d4f720 00000240`31409f70 000000ac`76d4a0b8 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x43996
000000ac`76d4a060 00007ffd`3c50bbc6 : 000000ac`76d4f710 000000ac`76d4f720 00000240`31409f70 00007ffd`3c132123 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x4110c
000000ac`76d4aa60 00007ffd`3c509932 : 000000ac`76d4f720 00000240`31409f70 00000240`332f6a40 00007ffd`3972fcd7 : Qt5Cored!QAnimationDriver::startTime+0x46b7df
000000ac`76d4aae0 00007ffd`3c50d56d : 000000ac`76d4f720 00000240`31409f70 00000240`0000004d 00000240`2e4c86e0 : Qt5Cored!QAnimationDriver::startTime+0x46954b
000000ac`76d4ab10 00007ffd`3c509d7c : 000000ac`76d4f720 00007ffd`0000004d 00000240`2e4c86e0 000000ac`76d4ac50 : Qt5Cored!QAnimationDriver::startTime+0x46d186
000000ac`76d4ac20 00007ffd`397400a1 : 000000ac`76d4f720 00007ffd`0000004d 00000240`00000000 000000ac`76d4acf0 : Qt5Cored!QAnimationDriver::startTime+0x469995
000000ac`76d4ac60 00007ffd`39d0dbaa : 00000240`33314910 00000240`00000000 00007ffd`3ca24d00 3ff00000`00000000 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x2c9d9
000000ac`76d4ac90 00007ffd`39d042b0 : 00000240`33246f60 00007ffd`397b9677 000000ac`76d4f720 00007ffd`3c133b68 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x5fa4e2
000000ac`76d4ad10 00007ffd`3c56fb91 : 00000240`32fb3b60 00007ffd`00000000 000000ac`0000000f 00000240`332f7b00 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x5f0be8
000000ac`76d4ae50 00007ffd`3c56842f : 00000240`331f1e40 00000240`32fb3b60 00000000`00000000 00007ffd`ffffffff : Qt5Cored!QAnimationDriver::startTime+0x4cf7aa
000000ac`76d4ae90 00007ffd`39d0a148 : 00000240`32fb3b60 00000240`331f1e40 00000240`305c0000 00000000`0000053c : Qt5Cored!QAnimationDriver::startTime+0x4c8048
000000ac`76d4b100 00007ffd`3975705e : 00000240`32fb3b60 00000240`331f1e40 00000240`331f1e40 00007ffd`3c132856 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x5f6a80
000000ac`76d4b2e0 00007ffd`39751b1f : 00000240`2e4c5370 00000240`32fb3b60 00000240`331f1e40 00007ffd`00000001 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x43996
000000ac`76d4b340 00007ffd`3c50bbc6 : 000000ac`76d4f710 00000240`32fb3b60 00000240`331f1e40 00007ffd`3c132123 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x3e457
000000ac`76d4bd40 00007ffd`3c509932 : 00000240`32fb3b60 00000240`331f1e40 00000000`00000001 ffffffff`fffffffe : Qt5Cored!QAnimationDriver::startTime+0x46b7df
000000ac`76d4bdc0 00007ffd`3c50d56d : 00000240`32fb3b60 00000240`331f1e40 00000240`00000000 00000240`2e4c86e0 : Qt5Cored!QAnimationDriver::startTime+0x46954b
000000ac`76d4bdf0 00007ffd`3c5d2a2a : 00000000`00000000 00007ffd`00000000 00000240`2e4c86e0 00000000`00c50ee0 : Qt5Cored!QAnimationDriver::startTime+0x46d186
000000ac`76d4bf00 00007ffd`3bd5d1a4 : 00000240`2e4f7570 00007ffd`3ca7d0a0 ffffffff`fffffffe 00000240`2e4c86e0 : Qt5Cored!QAnimationDriver::startTime+0x532643
000000ac`76d4bf40 00007ffd`3c5d0828 : 00000240`2e4f7570 00000000`00000000 000000ac`76d4bfa9 000000ac`76d4bff0 : qwindowsd!qt_plugin_query_metadata+0xe773f
000000ac`76d4bf70 00007ffd`a0a46cc1 : 00000000`00c50ee0 00000000`00000401 00000000`00000000 00000000`00000000 : Qt5Cored!QAnimationDriver::startTime+0x530441
000000ac`76d4c0f0 00007ffd`a0a46693 : 00000240`2e4fbc90 00007ffd`3c096bb7 00000000`00c50ee0 00007ffd`00000401 : user32!CallWindowProcW+0x4c1
000000ac`76d4c280 00007ffd`3c5d1108 : 000000ac`76d4c378 000000ac`00000000 000000ac`76d4c378 00000000`00000000 : user32!DispatchMessageW+0x1d3
000000ac`76d4c310 00007ffd`3bd5d164 : 00000240`2e4f7570 00007ffd`00000024 00000240`2e4c8728 00007ffd`3c1311c3 : Qt5Cored!QAnimationDriver::startTime+0x530d21
000000ac`76d4f4a0 00007ffd`3c505d63 : 00000240`2e4f7570 00007ffd`00000024 00000240`31256074 00000240`31256000 : qwindowsd!qt_plugin_query_metadata+0xe76ff
000000ac`76d4f4e0 00007ffd`3c505f9e : 000000ac`76d4f618 000000ac`00000024 000000ac`00000020 000000ac`ffffffff : Qt5Cored!QAnimationDriver::startTime+0x46597c
000000ac`76d4f520 00007ffd`3c5096ef : 000000ac`76d4f618 00000000`00000000 00000240`31417500 00007ffd`3a2b04b2 : Qt5Cored!QAnimationDriver::startTime+0x465bb7
000000ac`76d4f5d0 00007ffd`3a2e0da8 : 000000ac`76d4f710 00007ffd`397b0ff9 000000ac`76d4f720 00000240`8800f001 : Qt5Cored!QAnimationDriver::startTime+0x469308
000000ac`76d4f680 00007ffd`397514ca : ffffffff`00000000 00000240`2e4e9de0 00007ffd`3bfb2ed8 00000000`00000000 : Qt5Guid!QWindow::yChanged+0xb9668
000000ac`76d4f6b0 00007ff7`d43f51fe : 000000ac`76d4f720 00000000`00000000 00000240`2e4d4be0 00000000`00050c01 : Qt5Widgetsd!QPixmapDropShadowFilter::setBlurRadius+0x3de02
000000ac`76d4f6e0 00007ff7`d451d42d : 00000000`00000001 00000240`2e4d4be0 00000000`00000000 00000000`00000000 : VisionApp!main+0x5e [e:\qt\qtvisionapp\visionapp\main.cpp @ 12]
000000ac`76d4f7c0 00007ff7`d451ba7d : 00007ff7`d43e0000 00000000`00000000 00000240`2e4b60cd 00007ff7`0000000a : VisionApp!WinMain+0xed [c:\users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp @ 104]
000000ac`76d4f840 00007ff7`d451b91e : 00000000`00000000 00007ff7`d453e438 00000000`00000000 00000000`00000000 : VisionApp!invoke_main+0x2d [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 109]
000000ac`76d4f880 00007ff7`d451b7de : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : VisionApp!__scrt_common_main_seh+0x12e [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 264]
000000ac`76d4f8e0 00007ff7`d451ba99 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : VisionApp!__scrt_common_main+0xe [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 309]
000000ac`76d4f910 00007ffd`a0c93034 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : VisionApp!WinMainCRTStartup+0x9 [f:\dd\vctools\crt\vcstartup\src\startup\exe_winmain.cpp @ 17]
000000ac`76d4f940 00007ffd`a2371551 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
000000ac`76d4f970 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_STACK_INDEX: 0
SYMBOL_NAME: qt5widgetsd!QPixmapDropShadowFilter::setBlurRadius+6321b2
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: Qt5Widgetsd
IMAGE_NAME: Qt5Widgetsd.dll
BUCKET_ID: WRONG_SYMBOLS
FAILURE_BUCKET_ID: INVALID_POINTER_READ_FILL_PATTERN_dddddddd_c0000005_Qt5Widgetsd.dll!QPixmapDropShadowFilter::setBlurRadius
WATSON_STAGEONE_URL: http://watson.
Followup: MachineOwner
---------
如果又大神看懂这份调试信息,请救救我,我没辙了