QFileDialog segmentation fault in debug
-
Hi,
I get a segmentation fault every time upon using QFileDialog. It only happens in debug, not in release. When I call QFileDialog::getOpenFileName() or QFileDialog::getExistingDirectory() it crashes before returning from that call.
I made a small sample project:
#include <QApplication> #include <QFileDialog> #include <QDebug> class QFileDialogTester : public QWidget { public: void openFile() { QString filename = QFileDialog::getOpenFileName(this, "Open Document", QDir::currentPath(), "All files (*.*) ;; Document files (*.doc *.rtf);; PNG file (*.png)"); if( !filename.isNull() ) { qDebug() << "selected file path : " << filename.toUtf8(); } } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); QFileDialogTester test; test.openFile(); return app.exec(); }
This is the error I get:
This is the application output:
Debugging starts
onSelectionChange () 0
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(1) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(2) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(3) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(4) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(5) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(6) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(7) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(8) tid(43e4) 80070002 The system cannot find the file specified.
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(1) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(1) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(2) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(2) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(3) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(3) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(4) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(4) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(5) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(5) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(6) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(6) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(7) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(7) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(8) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(8) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(9) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(9) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(10) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(10) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(11) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(11) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(12) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(12) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(13) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(13) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(14) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(14) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(15) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(15) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(16) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(16) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(17) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(17) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(18) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(18) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(19) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(19) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(20) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(20) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(21) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(21) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(22) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(22) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(23) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(23) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(24) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(24) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(25) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(25) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(26) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(26) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(27) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(27) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(28) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(28) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(29) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(29) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(30) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(30) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(31) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(31) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(32) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(32) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(33) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(33) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(34) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(34) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(35) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(35) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(36) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(36) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(37) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(37) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(38) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(38) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(39) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(39) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(40) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(40) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(41) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(41) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(42) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(42) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]I use QtCreator 4.4.1 with Qt 5.9.3 on Windows10
Can somebody help me please?
-
Hi,
I get a segmentation fault every time upon using QFileDialog. It only happens in debug, not in release. When I call QFileDialog::getOpenFileName() or QFileDialog::getExistingDirectory() it crashes before returning from that call.
I made a small sample project:
#include <QApplication> #include <QFileDialog> #include <QDebug> class QFileDialogTester : public QWidget { public: void openFile() { QString filename = QFileDialog::getOpenFileName(this, "Open Document", QDir::currentPath(), "All files (*.*) ;; Document files (*.doc *.rtf);; PNG file (*.png)"); if( !filename.isNull() ) { qDebug() << "selected file path : " << filename.toUtf8(); } } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); QFileDialogTester test; test.openFile(); return app.exec(); }
This is the error I get:
This is the application output:
Debugging starts
onSelectionChange () 0
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(1) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(2) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(3) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(4) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(5) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(6) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(119)\windows.storage.dll!73CB9DC4: (caller: 73CB9DFC) ReturnHr(7) tid(43e4) 80070002 The system cannot find the file specified.
internal\sdk\inc\wil\win32helpers.h(156)\windows.storage.dll!73CB9CF8: (caller: 73B0E011) ReturnHr(8) tid(43e4) 80070002 The system cannot find the file specified.
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(1) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(1) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(2) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(2) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(3) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(3) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(4) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(4) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(5) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(5) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(6) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(6) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(7) tid(3240) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(7) tid(3240) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(8) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(8) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(9) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(9) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(10) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(10) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(11) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(11) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(12) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(12) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(13) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(13) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(14) tid(66c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(14) tid(66c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(15) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(15) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(16) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(16) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(17) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(17) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(18) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(18) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(19) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(19) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(20) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(20) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(21) tid(43e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(21) tid(43e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(22) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(22) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(23) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(23) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(24) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(24) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(25) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(25) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(26) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(26) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(27) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(27) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(28) tid(4e4) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(28) tid(4e4) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(29) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(29) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(30) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(30) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(31) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(31) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(32) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(32) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(33) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(33) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(34) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(34) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(35) tid(13a8) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(35) tid(13a8) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(36) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(36) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(37) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(37) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(38) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(38) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(39) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(39) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(40) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(40) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(41) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(41) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shell\shell32\ovrlaymn.cpp(676)\SHELL32.dll!74A0E255: (caller: 74A0E3D1) ReturnHr(42) tid(270c) 80040154 Class not registered
shell\shell32\ovrlaymn.cpp(758)\SHELL32.dll!74A0E3F0: (caller: 74A0E56B) LogHr(42) tid(270c) 80040154 Class not registered
Msg:[Creating icon overlay handler from ???? failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]I use QtCreator 4.4.1 with Qt 5.9.3 on Windows10
Can somebody help me please?
@Tmalfrere
Apart from trying @mranger90's suggestion, if that is not acceptable to you (or doesn't work), you might instead try one of the non-static functions instead of the two static ones you mention? You would have more control over the presentation if necessary, e.g. your problem seems to be connected to an icon (though I suspect it's for all the icons the dialog is trying to show against each file; you could also try passingNULL
instead ofthis
for the parent in case it's the parentage that is causing Window grief...). -
Have you tried it with the:
QFileDialog::DontUseNativeDialog
flage ? I know that I get a boatload of diagnostic messages if I use the native dialog on Windows.
@mranger90
I tried with or without that flag. It keeps segfaulting. -
@Tmalfrere
Apart from trying @mranger90's suggestion, if that is not acceptable to you (or doesn't work), you might instead try one of the non-static functions instead of the two static ones you mention? You would have more control over the presentation if necessary, e.g. your problem seems to be connected to an icon (though I suspect it's for all the icons the dialog is trying to show against each file; you could also try passingNULL
instead ofthis
for the parent in case it's the parentage that is causing Window grief...). -
Hi,
I think I found a solution.
the ovrlaymn.cpp reference in the logging got me thinking about someone who uninstalled dropbox and it got fixed.I uninstalled 3 applications that use icon overlays in windows explorer:
- Synology Drive
- Helix Plugin for Windows Explorer (P4EXP)
- Resilio Sync
Now I can run my application in debug without a segmentation fault.
-
Hi,
I think I found a solution.
the ovrlaymn.cpp reference in the logging got me thinking about someone who uninstalled dropbox and it got fixed.I uninstalled 3 applications that use icon overlays in windows explorer:
- Synology Drive
- Helix Plugin for Windows Explorer (P4EXP)
- Resilio Sync
Now I can run my application in debug without a segmentation fault.
You should run the main event loop before the nested one. I don't know for sure that's going to fix it, but it's my suspicion. This means you have to queue the call to
QFileDialogTester::openFile
. Something like this:QFileDialogTester test; QMetaObject::invokeMethod(&test, &QFileDialogTester::openFile, Qt::QueuedConnection);