Closed andymozza closed 4 years ago
Hmm, don't know what is happening there but there could be something useful in the log files which will be under AppData, can you find the cura.log and stderr.log files and zip up and attach to this issue, thanks.
I don't know anything about Windows as I only use it for building Cura releases! How do you find out the OS version?
I found these in Appdata->Roaming->Cura->master, but there is nothing recorded about the exit when I open the file browser. Last thing is simply the error because it can't upload the backup.
Also notice that I have this folder somehow and it has crash dumps in it . There is one for cura at the time it crashed.
Not sure if this is of any use. I don't know how to read / view it...... edit - google tells me there is an app in the Microsoft store in preview state to read these .dmp file: https://www.microsoft.com/en-gb/p/windbg-preview/9pgjgd53tn86?rtc=1&activetab=pivot:overviewtab
I just tried my latest build and it doesn't crash. The Windows version is Windows 10 home 1903.
From the microsoft debug analyser: The stored exception information can be accessed via .ecxr. (966c.6364): Security check failure or stack buffer overrun - code c0000409 (first/second chance not available) Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT For analysis of this file, run !analyze -v Qt5Core!QCoreApplicationPrivate::qmljsDebugArgumentsString+0xb8: 00007ff9`e7392b08 cd29 int 29h
Here is the full output of the rather impressive new dmp tool from Microsoft... it actually goes and grabs all the dlls,symbols etc automatically.... Not sure if this means anything to you:
EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 00007ff9e7392b08 (Qt5Core!QCoreApplicationPrivate::qmljsDebugArgumentsString+0x00000000000000b8) ExceptionCode: c0000409 (Security check failure or stack buffer overrun) ExceptionFlags: 00000001 NumberParameters: 1 Parameter[0]: 0000000000000007 Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT
PROCESS_NAME: Cura.exe
ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
EXCEPTION_CODE_STR: c0000409
EXCEPTION_PARAMETER1: 0000000000000007
STACK_TEXT:
000000ce170fca70 00007ff9
e7390ea3 : 000000ce170fcad0 000000ce
170fcb20 000001eea11703b0 000000ce
170fd070 : Qt5Core!QCoreApplicationPrivate::qmljsDebugArgumentsString+0xb8
000000ce170fcaa0 00007ff9
e755a1cc : 000001ee94f939b8 00007ff9
e7743a40 0000000000050d02 00000000
00050d00 : Qt5Core!QMessageLogger::fatal+0x93
000000ce170fcb00 00007ffa
19d2132a : 0000000000000000 00007ffa
19e00000 000001eea1740370 00007ffa
19e09fdb : Qt5Core!QObjectPrivate::QObjectPrivate+0x7c
000000ce170fcb50 00007ffa
19d212e2 : 000000ce170fd070 00007ff9
e7658f00 000001ee00000007 00000000
00000000 : qsqlite+0x132a
000000ce170fcba0 00007ffa
1f2e536c : 00007ffa1f3105b0 000000ce
170f0000 000001ee99598149 00000000
00000000 : qsqlite+0x12e2
000000ce170fcbd0 00007ffa
1f2e3c1e : 000000ce170fcce0 00000000
00000005 000000ce170fd070 ffffffff
ffffffff : Qt5Sql!QSqlDatabase::hostName+0x1bc
000000ce170fccb0 00007ffa
2357fd71 : 0000000000000005 000000ce
170fd070 000001eeafea5660 00007ff9
e7659188 : Qt5Sql!QSqlDatabase::addDatabase+0x3e
000000ce170fcce0 00007ffa
2357f64f : 000000ce170f0020 00000000
00000000 000001eea13f7a30 000001ee
a13016a0 : CHITUBOX_Thumbnail!DllUnregisterServer+0x9a51
000000ce170fce10 00007ffa
23576e71 : 000000ce170fd070 000001ee
a1301ac0 000001eeafea6120 000001ee
9a003b70 : CHITUBOX_Thumbnail!DllUnregisterServer+0x932f
000000ce170fceb0 00007ffa
30e384e3 : 0000000080004002 000001ee
94f939a8 0000000000000000 00000000
00000000 : CHITUBOX_Thumbnail!DllUnregisterServer+0xb51
000000ce170fd500 00007ffa
30ec969d : 0000000000000000 00000000
80004002 000000ce170fd6f8 00000000
00000004 : windows_storage!InitializeFileHandlerWithFile+0x83
000000ce170fd570 00007ffa
30ea34fc : 0000000000000000 00000000
00000000 0000000000000002 00000000
00000000 : windows_storage!CFileSysItemString::HandlerCreateInstance+0x4d9
000000ce170fd660 00007ffa
30ed7e1c : 0000000000000000 00000000
00000000 00007ffa040bafa0 00007ffa
040bafa0 : windows_storage!CFileSysItemString::LoadHandler+0x1f4
000000ce170fd7b0 00007ffa
30ea2cd6 : 00007ffa3149e8b8 000001ee
a18067a0 000000ce170fdf10 00000000
00000000 : windows_storage!CFSFolder::s_GetThumbnailExtractor+0x18c
000000ce170fdb40 00007ffa
30f2ceb2 : 000000ce170fe3c8 00000000
00000000 000000ce170fdf88 000000ce
170fdf80 : windows_storage!CFSFolder::_BindHandler+0x5c6
000000ce170fded0 00007ffa
30ed86c9 : 0000000000000000 000001ee
99cd6cd0 000001ee99cd6cf0 00000000
00000000 : windows_storage!CFSFolder::GetThumbnailHandler+0x62
000000ce170fdf50 00007ffa
30eb6767 : 0000000000000000 000000ce
170fe110 000001ee99cd6cd0 00000000
80004001 : windows_storage!_CreateThumbnailHandler+0xa9
000000ce170fe010 00007ffa
04084ca1 : 0000000000000000 000000ce
170fe3f9 0000000000000000 00000000
00000000 : windows_storage!CShellItem::BindToHandler+0x727
000000ce170fe370 00007ffa
04084905 : 0000000000002220 00000000
00002220 000001eeacc77f20 00000000
00000000 : thumbcache!InitExtractor+0x255
000000ce170fe440 00007ffa
04085b36 : 000000ce00000000 000001ee
00006364 00007ffa040cce90 00000000
00000000 : thumbcache!CThumbnailCache::_PerformFullExtractionCore+0x171
000000ce170fe550 00007ffa
0407a607 : 000001ee82a80000 00000000
00000000 000001ee829c0000 00000000
00000000 : thumbcache!CThumbnailCache::_PerformFullExtraction+0xce
000000ce170fe760 00007ffa
04079028 : 000000008004b200 00000000
00000000 0000000000000000 00000000
00000000 : thumbcache!CThumbnailCache::_GetThumbnailImpl+0x4c7
000000ce170fec50 00007ffa
04078187 : 0000000000000000 00000000
00000000 0000338ab27da887 00007ffa
3360a515 : thumbcache!CThumbnailCache::_GetThumbnailInternal+0x1b8
000000ce170fed40 00007ffa
040843f1 : 0000000000000000 000000ce
170fee80 0000000000000001 000000ce
170fee10 : thumbcache!CThumbnailCache::GetThumbnailPrivate+0x67
000000ce170fedc0 00007ffa
0408432f : 000001ee0000009c 00007ffa
314a0b58 000000ce170fee88 00007ffa
30eeb703 : thumbcache!CThumbnailCacheAPI::GetThumbnailPrivate+0xb1
000000ce170fee60 00007ffa
30eea2da : 0000000000929d9d 00000000
00000001 0000006000000060 00000000
00000009 : thumbcache!CThumbnailCacheAPI::GetThumbnail+0x2f
000000ce170feeb0 00007ffa
30eea209 : 000000ce00000000 00000060
00000060 0000000000000009 00000000
00000000 : windows_storage!CShellItem::_GetThumbnail+0xae
000000ce170fef70 00007ffa
343e162b : 000000ce170ff0f0 00007ffa
3438e114 0000000000000000 00000000
00000000 : windows_storage!CShellItem::GetSharedBitmap+0x159
000000ce170ff040 00007ffa
343e1c7e : 0000000000000000 00007ffa
343e0fb7 0000000000000000 000001ee
8ea81940 : shell32!CImagePrefetchWorkItem::_LoadThumbnail+0xa7
000000ce170ff0c0 00007ffa
343e1b10 : 0000000000000060 00000000
00000000 0000000000000060 00000000
00000060 : shell32!CImagePrefetchWorkItem::_PrefetchThumbnail+0x102
000000ce170ff130 00007ffa
343df550 : 000001ee8ea81940 000000ce
170ff1f0 000001ee8ea819c0 00000000
00000000 : shell32!CImagePrefetchWorkItem::_PrefetchImages+0x74
000000ce170ff180 00007ffa
343e1eb1 : 000001ee99c07910 00000000
00000000 000000ce170ff360 000001ee
97202130 : shell32!CImagePrefetchWorkItem::DoWork+0xf0
000000ce170ff220 00007ffa
343dffbe : 0000000000000000 000001ee
97202130 000000ce170ff290 00007ffa
34349424 : shell32!CItemThumbnail::_SyncPrefetch+0x45
000000ce170ff270 00007ffa
343496a4 : 0000000074010d79 00000000
0049414e 0000000074010d79 00000000
74010d79 : shell32!CItemThumbnail::GetContentBounds+0x5e
000000ce170ff300 00007ffa
34a14316 : 0000000000000000 000001ee
82a7d6c0 0000000000000000 00007ffa
354f04e0 : shell32!CDragDropHelper::s_ExtractThumbnailThreadProc+0x1b4
000000ce170ff3c0 00007ffa
35512de3 : 000001ee99c07010 00000000
7ffe0386 000001ee861aa730 00000000
00000000 : SHCore!ExecuteWorkItemThreadProc+0x16
000000ce170ff3f0 00007ffa
354e276a : 0000000000000000 000001ee
82a7d6c0 00007ffa34a14300 00000000
00000000 : ntdll!RtlpTpWorkCallback+0x173
000000ce170ff4d0 00007ffa
33d96fd4 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : ntdll!TppWorkerThread+0x68a
000000ce170ff7d0 00007ffa
3551cec1 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : kernel32!BaseThreadInitThunk+0x14
000000ce170ff800 00000000
00000000 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : ntdll!RtlUserThreadStart+0x21
SYMBOL_NAME: Qt5Core!QCoreApplicationPrivate::qmljsDebugArgumentsString+b8
MODULE_NAME: Qt5Core
IMAGE_NAME: Qt5Core.dll
STACK_COMMAND: ~9s ; .ecxr ; kb
FAILURE_BUCKET_ID: FAIL_FAST_FATAL_APP_EXIT_c0000409_Qt5Core.dll!QCoreApplicationPrivate::qmljsDebugArgumentsString
OS_VERSION: 10.0.19041.1
BUILDLAB_STR: vb_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 5.13.0.0
FAILURE_ID_HASH: {ce113b38-2589-35b3-af2b-4f6f27571558}
Please search your machine for QtCore.dll and see if you have other instances of that which may conflict with what is supplied in my release.
I have 'loads' of other instances of the file on the machine, but I don't think any should override yours as they are not in the path. I do notice yours is a newer version that the one in 4.6.1
Ok!! Your hint for the qt dll and the mention of chitubox in the stack trace sent me off googling.
I found references to dell backup manager causing later qt to crash in other applications as it installed a file filter which did something inside the file manager.
Chitibox( sla/resin slicer) now includes a file preview thumbnail generator when you view files in windows file explorer...... Chitubox also had a qt5core dll in the list. Chitubox was also in the stack trace for opening the file filter ( obviously it’s loaded when you open a file dialogue to browse and choose inside cura).
So - I unregistered the dll that chitubox supply for creating the preview of the thumbnail and thus resolved it.
Older cura QT version didn’t appear to have a problem with it.
As always thanks for pointing me in the right direction!
As always thanks for pointing me in the right direction!
It was a lucky guess, glad you found a solution, closing...
@andymozza
So - I unregistered the dll that chitubox supply for creating the preview of the thumbnail and thus resolved it.
How did you do this specifically?
There seems to be a post in the chitibox forum now.
https://forum.chitubox.com/?thread-419.htm
I did the regsvr32 /u dll-path option and restarted.
I just uninstalled ChituBox. Cura works fine now.
Application Version Cura Master build from your dropbox. Tried with a few builds and latest I tried was Cura-mb-master-win64-20200610
Platform WIndows 10 1909 and now 2004
Printer Seems not related to chosen printer profile
Steps to Reproduce Go to File-> Open Files
Actual Results Cura just closes completely, no error or warning it just disappears from screen.
Expected results Cura 4.6.1 build from Ultimaker actually shows the file browser and chooses and lets me pick the stl file.
Additional Information I have tested the current build from Ultimaker and this does not show the same issue. I have cleaned out the Master install location and re-installed fresh to ensure there are no left overs.
Hi, if this is something its possible to investigate, then what files / logs should I attach - please let me know. Are there differences between runtimes / libraries used in your build that might affect this ? Appreciate any thoughts on where to go next with diagnosing.