View Issue Details

IDProjectCategoryView StatusLast Update
0003504SketcherBugpublic2018-09-22 11:34
Reporterdhombios Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Platformx86-64OSMicrosoft WindowsOS Version10
Product Version0.17 
Summary0003504: Crash when new sketch is created (because of obsolete Qtwebkit)
DescriptionFreecad closes if new sketch is created in new part, so it isn't possible to create new parts
Steps To Reproduce1. Open Freecad
2. Click on part design in Start Page
3. Click on create Sketch
4. Select XY plane in tasks menu
5. Click Ok
Additional InformationFreecad version:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Spanish/Spain (es_ES)

How to avoid this bug:

If the plane is selected in the part design window, it usually works (although it still crashes from time to time). After first sketch is created, it doesn´t crash anymore
TagsSketch, sketcher, Win
FreeCAD Information

Activities

Kunda1

2018-06-09 12:57

administrator   ~0011382

@dhombios can you recreate on the 0.18dev ? ( https://github.com/FreeCAD/FreeCAD/releases/tag/0.18_pre )
Also, please follow the FreeCAD guidelines next time you find a bug as requested in the large yellow banner at the top of this page. This link is mentioned: https://freecadweb.org/wiki/Tracker

Kunda1

2018-06-25 12:53

administrator   ~0011466

@dhombios ping

Kunda1

2018-08-01 02:57

administrator   ~0011571

@dhombios ping

Kunda1

2018-08-08 20:15

administrator   ~0011610

@dhombios please respond we need more info from you

dhombios

2018-08-08 20:46

reporter   ~0011612

Sorry, we answered to your first response notification but we did not realized that your bug tracking system does not support it (in GitHub this feature exists). I don't usually check this mail, so I didn't notice your pings. Is there a nightly build that we could use to check the fix you have provided?

On the other hand, sorry for not following the guidelines. I work for an engineering laboratory which evaluates lots of software (both closed and open source). In this case we where looking for an open source cad to substitute the one we where using due to stability problems. FreeCAD was checked but it wasn't considered stable enough for our purposes, so we decided to use Salome. Therefore we notified bugs found in every software tested and FreeCAD was the only one that requires starting a discussion to do that

Kunda1

2018-08-08 20:56

administrator   ~0011613

Is there a nightly build that we could use to check the fix you have provided?

dhombios
Yes, I mentioned it in 0003504:0011382

Regarding opening a forum thread, we know this is unconventional but the strength of FreeCAD comes from its community. Many bugs are solved even before a ticket needs to be filled. There are not many volunteers to man the bugtracker and many times people open tickets without doing much research and create tracker-bloat.

If you decide to revisit FreeCAD feel free to check out our forums.

kopernikus

2018-08-09 20:46

reporter   ~0011615

Hello,

I think I see the same bug, see attached callstack from windbg. Same crash on 0.17 and 0.18. I can provide a crashdump if that helps anyone but its quite big (550MB)

On a sidenote: Not handling bugs through github or gitlab or any "mainstream" collaboration platform just creates an unnecessary burden... (IMHO)
FreeCAD17-callstack.txt (9,255 bytes)   
: 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!NtWaitForMultipleObjects+0x14
: 00000000`00000000 00000000`00002ca0 0000007a`e6ef4350 00000000`00001000 : ntdll!WerpWaitForCrashReporting+0xa8
: 00000000`00000000 0000007a`e6ef3cf0 00000000`00000000 00000013`00000046 : ntdll!RtlReportExceptionHelper+0x33e
: 00007fff`c3b552cc 0000007a`e6ef4300 00000000`00000001 00000000`00000000 : ntdll!RtlReportException+0x9d
: 00000000`ffffffff ffffffff`fffffffe 404e8000`00000000 40200000`00000000 : ntdll!RtlReportCriticalFailure$filt$0+0x33
: 00007fff`c3b552ec 0000007a`e6ef4350 0000007a`e6ef4300 0000007a`e6ef4350 : ntdll!_C_specific_handler+0x96
: 00000000`00000000 0000007a`e6ef3610 00000000`00000001 00000000`00000000 : ntdll!_GSHandlerCheck_SEH+0x6a
: 00000000`00000000 00000000`00000001 0000019f`976a3a00 0000019f`00000002 : ntdll!RtlpExecuteHandlerForException+0xd
: ffa60101`ffa90303 ffa40000`ffa40000 0000007a`e6ef3c80 ffac0404`ffa70202 : ntdll!RtlDispatchException+0x358
: 00000000`00000000 00000000`c0000374 00000000`00000001 00007fff`c3b6c6e0 : ntdll!RtlRaiseException+0x303
: 00000000`00000000 00007fff`c3b6c6e0 0000019f`8f760000 0000019f`8f760000 : ntdll!RtlReportCriticalFailure+0x97
: 0000019f`8f760000 0000019f`9edf2b90 0000019f`8f760000 00000000`00000000 : ntdll!RtlpHeapHandleError+0x12
: 0000019f`8f760000 00000000`0000008f 00000000`000014a9 00000000`00000069 : ntdll!RtlpLogHeapFailure+0x96
: 0000019f`8f760000 00007fff`71c43498 0000007a`00000000 00007fff`c3a2ad30 : ntdll!RtlFreeHeap+0x7b59c
: 0000019f`8f760000 0000007a`00000000 00000000`009fcf00 0053002b`00000002 : nvoglv64!DllMain+0x10faf
: 00007fff`63a5cf00 0000007a`00000103 0000007a`e6ef8e90 00007fff`63df6d88 : msvcr120!free+0x1c
: 00007fff`63a5cf00 0000007a`e6ef46b0 00000000`00000103 00007fff`71c7ef96 : msvcr120!_CallSettingFrame+0x20
: 0000007a`e6ef46b0 0000007a`e6ef4840 00007fff`63dbc720 0000007a`ffffffff : msvcr120!__FrameUnwindToState+0x116
: 0000007a`e6ef4e90 0000007a`e6ef4840 0000007a`e6ef8e90 00007fff`63060000 : msvcr120!__FrameUnwindToEmptyState+0x81
: 0000007a`e6ef4840 0000007a`e6ef4880 0000007a`e6ef4e90 00007fff`639ece7e : msvcr120!__InternalCxxFrameHandler+0x121
: 0000007a`e6ef8e90 00000000`00000000 0000007a`e6ef9d70 0000007a`e6ef4940 : msvcr120!__CxxFrameHandler+0x77
: 0000007a`e6ef7a10 0000007a`e6ef9d70 0000007a`e6ef4710 0000007a`e6ef4070 : ntdll!RtlpExecuteHandlerForUnwind+0xd
: 0000007a`e6ef6540 00000000`00000001 00007fff`61d73bf8 00000000`00000000 : ntdll!RtlUnwindEx+0x375
: 0000007a`e6ef6540 00007fff`7cc3d2c0 0000007a`e6ef54a8 00007fff`71c4340b : msvcr120!_UnwindNestedFrames+0x109
: 00007fff`7c7c7498 0000007a`e6ef9d70 0000007a`e6ef5549 0000007a`e6ef6540 : msvcr120!CatchIt+0xa8
: 00000000`00000000 0000007a`e6ef6540 0000007a`e6ef7b40 00000000`0000051f : msvcr120!FindHandler+0x353
: 00000000`00000000 0000007a`e6ef73d0 0000007a`e6ef7b40 00000000`00000002 : msvcr120!__InternalCxxFrameHandler+0x208
: 00007fff`71ceac24 0000007a`e6ef7110 00000000`00000000 00007fff`c3a7ce57 : msvcr120!__SehTransFilter+0x6f
: 0000019f`9d8a9850 00007fff`c3a7ccaf 0000007a`e6ef6540 0000007a`e6ef70d0 : msvcr120!_CallSETranslator$filt$0+0x3e
: 00000000`00000000 0000007a`e6ef5830 00000000`00000001 00000000`00000000 : msvcr120!__C_specific_handler+0x93
: 00000000`00000000 00000000`00000001 00000000`00000000 00000000`00000002 : ntdll!RtlpExecuteHandlerForException+0xd
: 0000019f`9da5368c 0000007a`00000004 0000007a`e6ef5e80 0000007a`00000006 : ntdll!RtlDispatchException+0x358
: 0000019f`8f760000 00007fff`61db3248 00000000`00000000 0000007a`e6ef66c0 : ntdll!RtlRaiseException+0x303
: 0000007a`e6ef6890 00000000`00000000 0000019f`8f6725e0 0000019f`00000000 : KERNELBASE!RaiseException+0x68
: 00007fff`61cf0000 00007fff`61e56b50 00000000`00000001 0000019f`8f760000 : msvcr120!_CxxThrowException+0xb3
: 0000019f`00000048 c0041f4b`00000000 00007fff`61d746c0 00007fff`61d74698 : TKernel!OSD::SetSignal+0xa11
: 0000007a`e6ef7b40 00007fff`71c4340b 0000007a`e6ef8030 0000007a`e6ef72f0 : TKernel!OSD_SharedLibrary::SetName+0x14a5
: 0000007a`e6ef8030 00007fff`61e56b00 0000019f`00000000 0000019f`a0986110 : TKernel!OSD::SetSignal+0x6e7
: 0000007a`e6ef8030 0000007a`e6ef73d0 0000007a`e6ef7b40 0000007a`e6ef74f0 : msvcr120!_CallSETranslator+0x3d
: 00007fff`7c7c7498 00007fff`7c7c7498 0000007a`e6ef7b40 00000000`00000000 : msvcr120!FindHandlerForForeignException+0x9f
: 00000000`00000000 0000007a`e6ef8030 0000007a`e6ef7b40 00000000`00000000 : msvcr120!FindHandler+0x468
: 0000007a`e6ef74f0 0000007a`e6ef8030 0000007a`e6ef8030 00007fff`c3a7ccaf : msvcr120!__InternalCxxFrameHandler+0x208
: 0000007a`e6ef9d70 00007fff`7cc3d23c 0000007a`e6ef9d70 0000007a`00000000 : msvcr120!__CxxFrameHandler+0x77
: 00000000`00000000 0000007a`e6ef7530 00000000`00000000 00000000`00000000 : FreeCADGui!isatty+0x3816
: 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000002 : ntdll!RtlpExecuteHandlerForException+0xd
: 0000007a`e6ef7c70 0000007a`e6ef7c10 0000019f`91b34248 00000002`6364cdfa : ntdll!RtlDispatchException+0x358
: 0000019f`91b34248 00000000`00000078 00000000`00000000 00000000`00000000 : ntdll!KiUserExceptionDispatch+0x2e
: 0000019f`9eda2838 0000007a`e6ef82a0 00000000`00000078 0000019f`91b34248 : QtWebKit4!JSValueUnprotect+0x2cd2a
: 0000019f`91b34248 0000007a`e6ef8a40 0000019f`9eda2838 00007fff`6397a5e0 : QtWebKit4!DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests+0x10435
: 0000019f`91b326b0 0000019f`9eda2838 0000019f`9ede06d8 0000019f`988f15e0 : QtWebKit4!DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests+0xfe9a
: 0000019f`98004008 0000019f`988f1570 0000019f`9eda2838 0000019f`9ede06d8 : QtWebKit4!JSC::JSString::toPrimitive+0x5b59
: 0000019f`988f1538 0000019f`988c1c80 0000019f`9ede0830 0000019f`9ede0650 : QtWebKit4!JSC::JSString::toPrimitive+0x7099
: 0000019f`9ede0650 0000007a`e6ef8cf0 0000019f`9ede0830 0000007a`e6ef8ea0 : QtWebKit4!JSC::JSString::length+0x9b587
: 0000019f`9ede0650 0000019f`9ede0650 0000019f`9eda26d0 0000007a`e6ef8cf0 : QtWebKit4!JSC::JSString::length+0x9b30d
: 0000019f`9ede0650 0000007a`e6ef8e40 0000019f`988c1c80 0000007a`e6ef8da0 : QtWebKit4!DumpRenderTreeSupportQt::defaultMinimumTimerInterval+0x1bbc4
: 0000019f`9ede0650 0000019f`9ede0650 0000019f`988c1c80 0000007a`e6ef8e40 : QtWebKit4!JSC::JSString::value+0x11124d
: 00000000`00000000 0000007a`e6ef8ea0 00000000`00000000 0000007a`e6ef8e40 : QtWebKit4!JSC::JSString::length+0x9c4c2
: 0000019f`9edf2b90 0000007a`e6ef8f00 00000000`00000000 0000007a`e6ef8ea0 : QtWebKit4!JSC::JSString::length+0x9bf27
: 00000000`00000000 0000019f`9edf2b90 0000007a`e6ef8f00 00007fff`c09b8da4 : QtWebKit4!QDRTNode::~QDRTNode+0x32dce
: 0000007a`00000000 0000019f`9e476ba8 0000007a`e6ef8fe0 0000007a`e6ef9090 : QtWebKit4!QDRTNode::~QDRTNode+0x33941
: 0000019f`91cc9040 0000019f`91cc9040 00000000`00000000 00000000`00000000 : QtWebKit4!QWebFrame::urlChanged+0xab
: 00000000`00000001 0000007a`e6ef9090 00000000`00000000 0000019f`9e476ba8 : QtWebKit4!QDRTNode::~QDRTNode+0x333b5
: 0000019f`9e4767a0 0000007a`e6ef9090 0000007a`e6ef9100 00007fff`00000001 : QtWebKit4!QDRTNode::~QDRTNode+0x33334
: 0000019f`9e4767a0 0000007a`e6ef9100 0000019f`9e461230 0000007a`e6ef9179 : QtWebKit4!QDRTNode::~QDRTNode+0x30ea3
: 0000007a`00000000 0000007a`e6ef92a0 0000019f`9e461230 0000019f`9dd86000 : QtWebKit4!QWebFrame::evaluateJavaScript+0xc9
: 0000019f`00000031 0000007a`e6ef93c8 00000000`00000001 00007fff`5ee85b60 : FreeCADGui!Gui::BitmapFactoryInst::pixmapFromSvg+0x156
: 0000019f`9257a388 00007fff`5ee85b60 0000007a`e6ef9440 0000019f`9ed3a010 : FreeCADGui!Gui::BitmapFactoryInst::loadPixmap+0x116
: 0000007a`e6ef9560 0000007a`e6ef9568 0000019f`a09d8050 0000007a`e6ef9568 : FreeCADGui!Gui::BitmapFactoryInst::pixmap+0x403
: 0000007a`e6ef9568 0000007a`e6ef9560 0000007a`e6ef95e0 0000019f`9ce273d0 : FreeCADGui!Gui::BitmapFactoryInst::iconFromTheme+0x7b
: 00000000`00000000 00000000`00000000 0000019f`9ce273d0 00000000`00000017 : FreeCADGui!Gui::Command::createAction+0xbd
: 00000000`00000001 0000007a`e6ef96b8 0000019f`9e45c950 00000000`00000000 : FreeCADGui!Gui::CommandManager::addTo+0x265
: 0000007a`e6ef97d0 0000007a`e6ef9809 0000019f`9d965100 0000007a`e6ef9809 : FreeCADGui!Gui::ToolBarManager::setup+0x286
: 0000019f`9d58cd00 0000019f`9d8a8790 0000019f`9d8a8790 0000019f`9d8a8790 : FreeCADGui!Gui::ToolBarManager::setup+0x38c
: 0000019f`977123a0 00000000`00000011 ffffffff`fffffffe 0000019f`977123a0 : FreeCADGui!Gui::Workbench::activate+0x38
: 00000000`00000000 ffffffff`ffffffff 00000000`00000000 ffffffff`ffffffff : FreeCADGui!Gui::WorkbenchManager::activate+0x1e
: 0000019f`9968b6a0 00007fff`7c7c8034 0000019f`9968b6a0 00000000`00000000 : FreeCADGui!Gui::Application::activateWorkbench+0xb08
: 00000000`00000001 0000019f`9d12a660 0000019f`9125ef48 00000000`61b8b9bf : FreeCADGui!Gui::Application::sActivateWorkbenchHandler+0x90
: 00000000`00000001 0000019f`8f7793f0 0000007a`e6efa050 00000000`61bb54b1 : python27!PyCFunction_Call+0x69
: 0000007a`e6efa049 00000000`00000083 0000019f`9177b6f8 0000019f`996a1398 : python27!PyEval_GetFuncDesc+0x361
: 0000019f`996a1398 0000019f`911e2268 0000019f`00000001 0000019f`00000000 : python27!PyEval_EvalFrameEx+0x28fc
FreeCAD17-callstack.txt (9,255 bytes)   

dragontuar

2018-08-09 23:47

reporter   ~0011616

I have the same issue should I go with the beta version and I just downloaded the program today by the way as I know some SolidWorks from using the program on a friend's laptop (they had an i7 and right now have a 7th gen i5. So I should be able to do some stuff, right?)

wmayer

2018-09-12 17:16

administrator   ~0011723


QtWebKit4!JSValueUnprotect+0x2cd2a
QtWebKit4!DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests+0x10435
QtWebKit4!DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests+0xfe9a
QtWebKit4!JSC::JSString::toPrimitive+0x5b59
QtWebKit4!JSC::JSString::toPrimitive+0x7099
QtWebKit4!JSC::JSString::length+0x9b587
QtWebKit4!JSC::JSString::length+0x9b30d
QtWebKit4!DumpRenderTreeSupportQt::defaultMinimumTimerInterval+0x1bbc4
QtWebKit4!JSC::JSString::value+0x11124d
QtWebKit4!JSC::JSString::length+0x9c4c2
QtWebKit4!JSC::JSString::length+0x9bf27
QtWebKit4!QDRTNode::~QDRTNode+0x32dce
QtWebKit4!QDRTNode::~QDRTNode+0x33941
QtWebKit4!QWebFrame::urlChanged+0xab
QtWebKit4!QDRTNode::~QDRTNode+0x333b5
QtWebKit4!QDRTNode::~QDRTNode+0x33334
QtWebKit4!QDRTNode::~QDRTNode+0x30ea3
QtWebKit4!QWebFrame::evaluateJavaScript+0xc9
FreeCADGui!Gui::BitmapFactoryInst::pixmapFromSvg+0x156

Windbg

According to the stack trace the problem is with Qt's webkit which is used to create pixmaps from svg files (because its QtSvg module fails for many files).

It's recommended to switch to a version using Qt5 because there the QtSvg module works much better and QtWebkit is not needed any more.

Kunda1

2018-09-22 11:33

administrator   ~0011809

So the workaround is to use a Qt5 build.
Closing this ticket as "won't fix"

Issue History

Date Modified Username Field Change
2018-06-09 11:11 dhombios New Issue
2018-06-09 11:11 dhombios Tag Attached: Sketch
2018-06-09 11:11 dhombios Tag Attached: sketcher
2018-06-09 11:11 dhombios Tag Attached: Win
2018-06-09 12:57 Kunda1 Note Added: 0011382
2018-06-09 12:57 Kunda1 Status new => feedback
2018-06-25 12:53 Kunda1 Note Added: 0011466
2018-08-01 02:57 Kunda1 Note Added: 0011571
2018-08-08 20:15 Kunda1 Note Added: 0011610
2018-08-08 20:46 dhombios Note Added: 0011612
2018-08-08 20:46 dhombios Status feedback => new
2018-08-08 20:56 Kunda1 Note Added: 0011613
2018-08-09 20:46 kopernikus File Added: FreeCAD17-callstack.txt
2018-08-09 20:46 kopernikus Note Added: 0011615
2018-08-09 23:47 dragontuar Note Added: 0011616
2018-09-12 17:16 wmayer Note Added: 0011723
2018-09-22 11:33 Kunda1 Summary Freecad crashes when new sketch is created => Crash when new sketch is created (because of obsolete Qtwebkit)
2018-09-22 11:33 Kunda1 Note Added: 0011809
2018-09-22 11:34 Kunda1 Assigned To => wmayer
2018-09-22 11:34 Kunda1 Status new => closed
2018-09-22 11:34 Kunda1 Resolution open => won't fix