View Issue Details

IDProjectCategoryView StatusLast Update
0000815SketcherBugpublic2016-05-05 20:42
Reporterryback08 Assigned ToJriegel 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Fixed in Version0.17 
Summary0000815: Sketcher crash when make line + grid snap
DescriptionFreeCAD 0.13
1320 GIT
Windows 7 - 32bit

Open Freecad -> Sketcher ->New document ->
Click on "Make line" and "grid snap"
when you clic to make line on 3D view, Freecad crach at all time.

other module (make circle, rectangle.... don't crash)



TagsNo tags attached.
FreeCAD Information

Activities

ryback08

2012-08-16 07:27

reporter   ~0002322

No bug find on Linux version 0.13 1335(Git) Xubuntu 12.04 64bit

Jriegel

2012-12-20 20:29

administrator   ~0002703

Can not reproduce.

Can anyone reproduce that bug?

logari81

2012-12-20 21:12

developer   ~0002715

can not reproduce either.

ryback08

2012-12-23 16:51

reporter   ~0002759

I can reproduce this bug with version 0.13 1764 git win7 64b

Jriegel

2012-12-23 19:00

administrator   ~0002760

Ok, then we have a problem. If non of the devs can reproduce is hard to fix...

mghansen256

2014-07-31 06:47

reporter  

2014-07-31-freecad-sketcher-line-crash-backtrace.txt (8,112 bytes)   
[New Thread 0x7fffdae05700 (LWP 2926)]
[New Thread 0x7fffda604700 (LWP 2927)]
[New Thread 0x7fffd3199700 (LWP 2928)]
[New Thread 0x7fffd2898700 (LWP 2929)]
[New Thread 0x7fffd1920700 (LWP 2930)]
[New Thread 0x7fff8ba17700 (LWP 2931)]
[New Thread 0x7fff8b216700 (LWP 2932)]
Unknown command 'Sketcher_ProfilesHexagon1'
[Thread 0x7fff8b216700 (LWP 2932) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff48048d8 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff48048d8 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff4a7e31f in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007fff8a41f062 in SketcherGui::ViewProviderSketch::getSketchObject() const () from /usr/lib/freecad/lib/SketcherGui.so
#3  0x00007fff8a3c60cb in DrawSketchHandlerLineSet::pressButton(Base::Vector2D) () from /usr/lib/freecad/lib/SketcherGui.so
#4  0x00007fff8a40442b in SketcherGui::ViewProviderSketch::mouseButtonPressed(int, bool, SbVec2s const&, Gui::View3DInventorViewer const*) ()
   from /usr/lib/freecad/lib/SketcherGui.so
#5  0x00007ffff76be629 in Gui::ViewProvider::eventCallback(void*, SoEventCallback*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#6  0x00007ffff3db995b in SoEventCallback::handleEvent(SoHandleEventAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#7  0x00007ffff3dcdc0c in SoNode::handleEventS(SoAction*, SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#8  0x00007ffff3b93c04 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#9  0x00007ffff3ce3294 in SoChildList::traverse(SoAction*, int, int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#10 0x00007ffff3dc366f in SoGroup::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#11 0x00007ffff3de06d7 in SoSeparator::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#12 0x00007ffff761e709 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#13 0x00007ffff3dcdc0c in SoNode::handleEventS(SoAction*, SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#14 0x00007ffff3b93c04 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#15 0x00007ffff3ce3294 in SoChildList::traverse(SoAction*, int, int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff3dc366f in SoGroup::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                                 
#17 0x00007ffff3de06d7 in SoSeparator::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                             
#18 0x00007ffff3dcdc0c in SoNode::handleEventS(SoAction*, SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                     
#19 0x00007ffff3b93c04 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                                  
#20 0x00007ffff3ce3294 in SoChildList::traverse(SoAction*, int, int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                   
#21 0x00007ffff3dc366f in SoGroup::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                                 
#22 0x00007ffff3de06d7 in SoSeparator::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                             
#23 0x00007ffff3dcdc0c in SoNode::handleEventS(SoAction*, SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                     
#24 0x00007ffff3b93c04 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                                  
#25 0x00007ffff3b9e1aa in SoHandleEventAction::beginTraversal(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                 
#26 0x00007ffff3b947d2 in SoAction::apply(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                                                     
#27 0x00007ffff3d010a9 in SoEventManager::actuallyProcessEvent(SoEvent const*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80                         
#28 0x00007ffff36d9f84 in SoQtRenderArea::processSoEvent(SoEvent const*) () from /usr/lib/x86_64-linux-gnu/libSoQt.so.20                               
#29 0x00007ffff3705360 in SoQtViewer::processSoEvent(SoEvent const*) () from /usr/lib/x86_64-linux-gnu/libSoQt.so.20                                   
#30 0x00007ffff769e8f1 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) () from /usr/lib/freecad/lib/libFreeCADGui.so                  
#31 0x00007ffff7686e35 in Gui::NavigationStyle::processSoEvent(SoEvent const*) () from /usr/lib/freecad/lib/libFreeCADGui.so                           
#32 0x00007ffff768ba16 in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) () from /usr/lib/freecad/lib/libFreeCADGui.so                        
---Type <return> to continue, or q <return> to quit---                                                                                                 
#33 0x00007ffff7686d8c in Gui::NavigationStyle::processEvent(SoEvent const*) () from /usr/lib/freecad/lib/libFreeCADGui.so                             
#34 0x00007ffff769e8c6 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) () from /usr/lib/freecad/lib/libFreeCADGui.so                      
#35 0x00007ffff36dcbd2 in SoQtRenderArea::processEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libSoQt.so.20                                        
#36 0x00007ffff769e3f6 in Gui::View3DInventorViewer::processEvent(QEvent*) () from /usr/lib/freecad/lib/libFreeCADGui.so                               
#37 0x00007ffff36d6a05 in SoQtGLWidgetP::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libSoQt.so.20                                
#38 0x00007ffff4ea2646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4   
#39 0x00007ffff5618e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4                        
#40 0x00007ffff561f5dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007ffff7450c89 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#42 0x00007ffff4ea24dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007ffff561ed93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007ffff56939cb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007ffff5693269 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007ffff56bab02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007fffee028e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fffee029048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#49 0x00007fffee0290ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ffff4ecf7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007ffff56babb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007ffff4ea10af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#53 0x00007ffff4ea13a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#54 0x00007ffff4ea6b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#55 0x00007ffff744c366 in Gui::Application::runApplication() () from /usr/lib/freecad/lib/libFreeCADGui.so
#56 0x00000000004084c2 in main ()
(gdb)

mghansen256

2014-07-31 06:54

reporter   ~0004902

I uploaded a backtrace of this crash for FreeCAD 0.14. For me, the crash does not happen all the time. Grid size 5mm, I was drawing a polyline starting at 25mm to -25mm on the horizontal sketch axes (the horizontal line that is always there). As soon as I hit -25mm, the grid vanished. Auto constraints were "Fix a point onto object" and "horizontal constraint". Then I went up and left, I roughly reproduced the sketch in the uploaded screenshot, as I forgot to take a screenshot of the crashed freecad while the debugger had frozen it and could not trigger the crash again :-(

OS: Ubuntu 14.04.1 LTS
Word size: 64-bit
Version: 0.14.3702 (Git)
Branch: releases/FreeCAD-0-14
Hash: b3368125c63289ec8ce9faec2b2ae4c78d436406
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a

mghansen256

2014-07-31 06:54

reporter  

Issue History

Date Modified Username Field Change
2012-08-15 14:59 ryback08 New Issue
2012-08-16 07:27 ryback08 Note Added: 0002322
2012-12-20 20:29 Jriegel Note Added: 0002703
2012-12-20 20:29 Jriegel Assigned To => Jriegel
2012-12-20 20:29 Jriegel Status new => feedback
2012-12-20 21:12 logari81 Note Added: 0002715
2012-12-23 16:51 ryback08 Note Added: 0002759
2012-12-23 19:00 Jriegel Note Added: 0002760
2014-07-31 06:47 mghansen256 File Added: 2014-07-31-freecad-sketcher-line-crash-backtrace.txt
2014-07-31 06:54 mghansen256 Note Added: 0004902
2014-07-31 06:54 mghansen256 File Added: 2014-07-31-freecad-sketcher-line-crash.png
2016-05-05 20:42 wmayer Status feedback => closed
2016-05-05 20:42 wmayer Resolution open => unable to reproduce
2016-05-05 20:42 wmayer Fixed in Version => 0.17