Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more nouveau crashing #165

Closed
J-Dunn opened this issue Dec 19, 2018 · 8 comments
Closed

more nouveau crashing #165

J-Dunn opened this issue Dec 19, 2018 · 8 comments

Comments

@J-Dunn
Copy link

J-Dunn commented Dec 19, 2018

ali-extru-crasher.zip [ NB this is a fcstd, just renamed zip for retarded github conditions. ]

this may be a simpler example: single file rectangular sketch with vert + horiz length constraints.

Open Part-designer
Go into sketch editor
Click on horizontal length constraint to edit it .... bang !

No more FreeCAD.


nouveau: 	0x00001432
nouveau: 	0x00001422
nouveau: 	0x0004f680
nouveau: 	0x80c03b88
nouveau: 	0x0004f684
nouveau: 	0x80c03b80
nouveau: 	0x0008fd6c
nouveau: 	0x00000000
nouveau: 	0x00000103
nouveau: 	0x00020000
nouveau: 	0x00000000
Program received signal SIGSEGV, Segmentation fault.
#0  /lib64/libc.so.6(+0x385c0) [0x7f66942265c0]
realthunder/FreeCAD_assembly3#1  0x7f6694601f93 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) from /lib64/libstdc++.so.6+0x13
realthunder/FreeCAD_assembly3#2  0x7f669b2390b1 in std::_Rb_tree_const_iterator<int>::operator++() from ~/build/lib/libFreeCADGui.so+0x1b
realthunder/FreeCAD_assembly3#3  0x7f662464bba8 in SketcherGui::ViewProviderSketch::mouseButtonPressed(int, bool, SbVec2s const&, Gui::View3DInventorViewer const*) from ~/build/Mod/Sketcher/SketcherGui.so+0x18e0
realthunder/FreeCAD_assembly3#4  0x7f669b39ba9b in Gui::ViewProvider::eventCallback(void*, SoEventCallback*) from ~/build/lib/libFreeCADGui.so+0x465
realthunder/FreeCAD_assembly3#5  0x7f6698661abb in SoEventCallback::handleEvent(SoHandleEventAction*) from /usr/local/lib64/libCoin.so.80+0xab
realthunder/FreeCAD_assembly3#6  0x7f6698498dd4 in SoAction::traverse(SoNode*) from /usr/local/lib64/libCoin.so.80+0x54
realthunder/FreeCAD_assembly3#7  0x7f6698624538 in SoChildList::traverse(SoAction*, int, int) from /usr/local/lib64/libCoin.so.80+0xe8
realthunder/FreeCAD_assembly3#8  0x7f6698669ce6 in SoGroup::doAction(SoAction*) from /usr/local/lib64/libCoin.so.80+0x46
realthunder/FreeCAD_assembly3#9  0x7f6698681987 in SoSeparator::doAction(SoAction*) from /usr/local/lib64/libCoin.so.80+0x27
realthunder/FreeCAD_assembly3#10  0x7f669b274639 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from ~/build/lib/libFreeCADGui.so+0x51
realthunder/FreeCAD_assembly3#11  0x7f6698498dd4 in SoAction::traverse(SoNode*) from /usr/local/lib64/libCoin.so.80+0x54
realthunder/FreeCAD_assembly3#12  0x7f6698624538 in SoChildList::traverse(SoAction*, int, int) from /usr/local/lib64/libCoin.so.80+0xe8
realthunder/FreeCAD_assembly3#13  0x7f6698669ce6 in SoGroup::doAction(SoAction*) from /usr/local/lib64/libCoin.so.80+0x46
realthunder/FreeCAD_assembly3#14  0x7f6698681987 in SoSeparator::doAction(SoAction*) from /usr/local/lib64/libCoin.so.80+0x27
realthunder/FreeCAD_assembly3#15  0x7f6698498dd4 in SoAction::traverse(SoNode*) from /usr/local/lib64/libCoin.so.80+0x54
realthunder/FreeCAD_assembly3#16  0x7f66984a1a73 in SoHandleEventAction::beginTraversal(SoNode*) from /usr/local/lib64/libCoin.so.80+0xa3
realthunder/FreeCAD_assembly3#17  0x7f6698499342 in SoAction::apply(SoNode*) from /usr/local/lib64/libCoin.so.80+0x372
realthunder/FreeCAD_assembly3#18  0x7f669863afa9 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /usr/local/lib64/libCoin.so.80+0x69
realthunder/FreeCAD#460  0x7f669b318020 in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x56
realthunder/FreeCAD_assembly3#20  0x7f669b32037e in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x186
realthunder/FreeCAD_assembly3#21  0x7f669b358fd1 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x23
realthunder/FreeCAD_assembly3#22  0x7f669b32f8cf in Gui::NavigationStyle::processSoEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x27
realthunder/FreeCAD_assembly3#23  0x7f669b335a2e in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x112a
realthunder/FreeCAD_assembly3#24  0x7f669b32f820 in Gui::NavigationStyle::processEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x1f0
realthunder/FreeCAD_assembly3#25  0x7f669b358fa6 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from ~/build/lib/libFreeCADGui.so+0x15c
realthunder/FreeCAD_assembly3#26  0x7f669b310ad4 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from ~/build/lib/libFreeCADGui.so+0x180
realthunder/FreeCAD_assembly3#27  0x7f6694a4b4b4 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /lib64/libQtCore.so.4+0x54
realthunder/FreeCAD_assembly3#28  0x7f669501a6b0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib64/libQtGui.so.4+0x70
realthunder/FreeCAD_assembly3#29  0x7f669502130c in QApplication::notify(QObject*, QEvent*) from /lib64/libQtGui.so.4+0x38c
realthunder/FreeCAD_assembly3#30  0x7f669afffe9b in Gui::GUIApplication::notify(QObject*, QEvent*) from ~/build/lib/libFreeCADGui.so+0xff
realthunder/FreeCAD_assembly3#31  0x7f6694a4b36f in QCoreApplication::notifyInternal(QObject*, QEvent*) from /lib64/libQtCore.so.4+0x6f
realthunder/FreeCAD_assembly3#32  0x7f6695020a2b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /lib64/libQtGui.so.4+0x18b
realthunder/FreeCAD_assembly3#33  /lib64/libQtGui.so.4(+0x3153d4) [0x7f66950973d4]
realthunder/FreeCAD_assembly3#34  0x7f6695096000 in QApplication::x11ProcessEvent(_XEvent*) from /lib64/libQtGui.so.4+0xb50
realthunder/FreeCAD_assembly3#35  /lib64/libQtGui.so.4(+0x33b4fe) [0x7f66950bd4fe]
realthunder/FreeCAD_assembly3#36  /lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15d) [0x7f66916c926d]
realthunder/FreeCAD_assembly3#37  /lib64/libglib-2.0.so.0(+0x4e638) [0x7f66916c9638]
realthunder/FreeCAD_assembly3#38  /lib64/libglib-2.0.so.0(g_main_context_iteration+0x30) [0x7f66916c96d0]
realthunder/FreeCAD_assembly3#39  0x7f6694a79589 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib64/libQtCore.so.4+0x79
realthunder/FreeCAD_assembly3#40  /lib64/libQtGui.so.4(+0x33b68b) [0x7f66950bd68b]
realthunder/FreeCAD_assembly3#41  0x7f6694a49b23 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib64/libQtCore.so.4+0x43
realthunder/FreeCAD_assembly3#42  0x7f6694a49dfe in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /lib64/libQtCore.so.4+0x11e
realthunder/FreeCAD_assembly3#43  0x7f6694a4f33e in QCoreApplication::exec() from /lib64/libQtCore.so.4+0x9e
realthunder/FreeCAD_assembly3#44  0x7f669af0c60d in Gui::Application::runApplication() from ~/build/lib/libFreeCADGui.so+0x22c9
realthunder/FreeCAD_assembly3#45  ~/build/bin/FreeCAD(main+0xa17) [0x409013]
realthunder/FreeCAD_assembly3#46  /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f6694212413]
realthunder/FreeCAD_assembly3#47  ~/build/bin/FreeCAD(_start+0x2e) [0x4084ce]

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16286 (Git)
Build type: Unknown
Branch: LinkStage3
Hash: 5c2f01826312a00bfaff2edbfaaca7a290fcb2f0
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

@ceremcem
Copy link
Collaborator

I can confirm that the crash is happening with above steps.

Traceback

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f8d23003060]
realthunder/FreeCAD_assembly3#1  0x7f8d23930bb3 in std::_Rb_tree_increment(std::_Rb_tree_node_base const*) from /usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x13
realthunder/FreeCAD_assembly3#2  0x7f8cf4f091e2 in SketcherGui::ViewProviderSketch::mouseButtonPressed(int, bool, SbVec2s const&, Gui::View3DInventorViewer const*) from /opt/FreeCAD/lib/SketcherGui.so+0xee2
realthunder/FreeCAD_assembly3#3  0x7f8d2cc72909 in Gui::ViewProvider::eventCallback(void*, SoEventCallback*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x2d9
realthunder/FreeCAD_assembly3#4  0x7f8d2a2a84fb in SoEventCallback::handleEvent(SoHandleEventAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0xcb
realthunder/FreeCAD_assembly3#5  0x7f8d2a2bdba0 in SoNode::handleEventS(SoAction*, SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x90
realthunder/FreeCAD_assembly3#6  0x7f8d2a061624 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x64
realthunder/FreeCAD_assembly3#7  0x7f8d2a1c80ee in SoChildList::traverse(SoAction*, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x26e
realthunder/FreeCAD_assembly3#8  0x7f8d2a2b21b6 in SoGroup::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x56
realthunder/FreeCAD_assembly3#9  0x7f8d2a2d1857 in SoSeparator::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x27
realthunder/FreeCAD_assembly3#10  0x7f8d2cb92ae0 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x80
realthunder/FreeCAD_assembly3#11  0x7f8d2a2bdba0 in SoNode::handleEventS(SoAction*, SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x90
realthunder/FreeCAD_assembly3#12  0x7f8d2a061624 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x64
realthunder/FreeCAD_assembly3#13  0x7f8d2a1c80ee in SoChildList::traverse(SoAction*, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x26e
realthunder/FreeCAD_assembly3#14  0x7f8d2a2b21b6 in SoGroup::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x56
realthunder/FreeCAD_assembly3#15  0x7f8d2a2d1857 in SoSeparator::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x27
realthunder/FreeCAD_assembly3#16  0x7f8d2a2bdba0 in SoNode::handleEventS(SoAction*, SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x90
realthunder/FreeCAD_assembly3#17  0x7f8d2a061624 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x64
realthunder/FreeCAD_assembly3#18  0x7f8d2a06cb7a in SoHandleEventAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x7a
realthunder/FreeCAD#460  0x7f8d2a062e72 in SoAction::apply(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x472
realthunder/FreeCAD_assembly3#20  0x7f8d2a1e7a19 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x89
realthunder/FreeCAD_assembly3#21  0x7f8d2cc136fe in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x1e
realthunder/FreeCAD_assembly3#22  0x7f8d2cc1b056 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x46
realthunder/FreeCAD_assembly3#23  0x7f8d2cc46899 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x9
realthunder/FreeCAD_assembly3#24  0x7f8d2cc2b730 in Gui::TouchpadNavigationStyle::processSoEvent(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x270
realthunder/FreeCAD_assembly3#25  0x7f8d2cc24218 in Gui::NavigationStyle::processEvent(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x118
realthunder/FreeCAD_assembly3#26  0x7f8d2cc4684b in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x8b
realthunder/FreeCAD_assembly3#27  0x7f8d2cc0de35 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x165
realthunder/FreeCAD_assembly3#28  0x7f8d247360a1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x91
realthunder/FreeCAD_assembly3#29  0x7f8d251fc52c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x6c
realthunder/FreeCAD_assembly3#30  0x7f8d25204ca7 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x1a47
realthunder/FreeCAD_assembly3#31  0x7f8d2c99c271 in Gui::GUIApplication::notify(QObject*, QEvent*) from /opt/FreeCAD/lib/libFreeCADGui.so+0x41
realthunder/FreeCAD_assembly3#32  0x7f8d24735f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d
realthunder/FreeCAD_assembly3#33  0x7f8d25202ccb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x14b
realthunder/FreeCAD_assembly3#34  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2461a9) [0x7f8d2527e1a9]
realthunder/FreeCAD_assembly3#35  0x7f8d2527cb5c in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0xc9c
realthunder/FreeCAD_assembly3#36  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e502) [0x7f8d252a6502]
realthunder/FreeCAD_assembly3#37  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7f8d1bccb7f7]
realthunder/FreeCAD_assembly3#38  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aa60) [0x7f8d1bccba60]
realthunder/FreeCAD_assembly3#39  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f8d1bccbb0c]
realthunder/FreeCAD_assembly3#40  0x7f8d24766854 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x64
realthunder/FreeCAD_assembly3#41  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e5d6) [0x7f8d252a65d6]
realthunder/FreeCAD_assembly3#42  0x7f8d247347ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x3f
realthunder/FreeCAD_assembly3#43  0x7f8d24734b55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x1b5
realthunder/FreeCAD_assembly3#44  0x7f8d2473abd9 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x99
realthunder/FreeCAD_assembly3#45  0x7f8d2c9197ea in Gui::Application::runApplication() from /opt/FreeCAD/lib/libFreeCADGui.so+0x18da
realthunder/FreeCAD_assembly3#46  freecad-git(main+0x862) [0x55d696b397b2]
realthunder/FreeCAD_assembly3#47  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f8d22ff02e1]
realthunder/FreeCAD_assembly3#48  freecad-git(_start+0x2a) [0x55d696b3aa0a]
OS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16279 (Git)
Build type: Release
Branch: LinkStage3
Hash: 09be33b156524599ce9a1c54dc2699bd37b55bb7
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

@J-Dunn
Copy link
Author

J-Dunn commented Dec 19, 2018

Thanks ceremcem.

It seems that just about any click on a constraint in this sketch crashes, I added a line and an angle of 135 deg , wanted to delete it and just trying to select it brought down the whole thing like a lead Zepplin.

@realthunder
Copy link
Owner

The crash has nothing to do with your nouveau. I am sure what those nouveau: 0x00000000 stuffs mean before the crash stack. The crash is actually caused by my fix of your Preselection highlight priority problem. Anyway, it should be fixed now.

@J-Dunn
Copy link
Author

J-Dunn commented Dec 20, 2018

thanks, what do you mean by now?
I hope you don't mean I've just wasted the last 4h building a new stage3 for nothing?
Is this just asm3 which you are referring to ?

@realthunder
Copy link
Owner

I mean I just made a commit to fix this problem. You can sync my branch and the rebuild won't take very long time.

@J-Dunn
Copy link
Author

J-Dunn commented Dec 20, 2018

thanks, can you clarify whether you are talking about building FreeCAD or asm3 please. I just sync'd with stage3 and it a few small changes but they seem low enough to have triggered a build from about 12% mark.

16292 still seems to crash, so I guess its in stage3.

I'll have to have a look in the morning.

@realthunder
Copy link
Owner

The LinkStage3 branch. asm3 almost never needs to rebuild.

@J-Dunn
Copy link
Author

J-Dunn commented Dec 20, 2018

Thanks. Gives me an excuse to go to bed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants