View Issue Details

IDProjectCategoryView StatusLast Update
0000872FreeCADBugpublic2012-11-15 18:08
Reportermouteb Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Summary0000872: crash when we click on "Create new view"
DescriptionWhen I try to create new view (View->create new view) FreeCAD always crash.

If you have some question I will answer with pleasure.

mouteb
Additional InformationOS: Ubuntu 12.10
Platform: 64-bit
Version: 0.13.1582 (Git)
Branch: master
Hash: efd61d256ddd679962f18eaf7ffd8c6d32771f1f
Python version: 2.7.3
Qt version: 4.8.3
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.0
TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2012-11-06 07:58

administrator   ~0002491

Last edited: 2012-11-06 07:59

But you have no problem when you create a new document (File > New)? So, we can exclude a general problem with OpenGL?

Does it already lead to a crash when you create a new document and directly afterwards a new view or what are the exact steps?
And what happens if you create two documents?

wmayer

2012-11-06 08:33

administrator   ~0002492

OK, I can confirm the crash. But it only happens on Ubuntu 12.10, no crash on older Ubuntu versions. The steps to reproduce:
Create document, create a box, create new view -> crash

Here is the stack trace:
Program received signal SIGSEGV, Segmentation fault.
0xb0a80c9b in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
(gdb) bt
#0 0xb0a80c9b in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
#1 0xb090e166 in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
0000002 0xb0911dd2 in ?? () from /usr/lib/i386-linux-gnu/dri/swrast_dri.so
0000003 0xb57842ef in SoGLDisplayList::call(SoState*, int) () from /usr/lib/libCoin.so.60
0000004 0xb57375d5 in SoGLRenderCache::call(SoState*) () from /usr/lib/libCoin.so.60
0000005 0xb57365ff in SoGLCacheList::call(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000006 0xb595ee3a in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000007 0xb595ef9f in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000008 0xb595d448 in SoSeparator::GLRender(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000009 0xb5946cd0 in SoNode::GLRenderS(SoAction*, SoNode*) () from /usr/lib/libCoin.so.60
0000010 0xb56d6602 in SoAction::traverse(SoNode*) () from /usr/lib/libCoin.so.60
0000011 0xb5855990 in SoChildList::traverse(SoAction*, int, int) () from /usr/lib/libCoin.so.60
0000012 0xb5855c08 in SoChildList::traverse(SoAction*, int) () from /usr/lib/libCoin.so.60
0000013 0xb5963abb in SoSwitch::doAction(SoAction*) () from /usr/lib/libCoin.so.60
0000014 0xb5963297 in SoSwitch::GLRender(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000015 0xb5946607 in SoNode::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000016 0xb595ef9f in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000017 0xb595ef9f in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000018 0xb595ef9f in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000019 0xb595ef9f in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000020 0xb595d448 in SoSeparator::GLRender(SoGLRenderAction*) () from /usr/lib/libCoin.so.60
0000021 0xb5946cd0 in SoNode::GLRenderS(SoAction*, SoNode*) () from /usr/lib/libCoin.so.60
0000022 0xb56d6602 in SoAction::traverse(SoNode*) () from /usr/lib/libCoin.so.60
0000023 0xb56d6923 in SoAction::beginTraversal(SoNode*) () from /usr/lib/libCoin.so.60
0000024 0xb56e0430 in SoGLRenderAction::beginTraversal(SoNode*) () from /usr/lib/libCoin.so.60
0000025 0xb56dfaf2 in SoGLRenderActionP::renderSingle(SoNode*) () from /usr/lib/libCoin.so.60
0000026 0xb56e0278 in SoGLRenderActionP::render(SoNode*) () from /usr/lib/libCoin.so.60
0000027 0xb56e04e7 in SoGLRenderAction::beginTraversal(SoNode*) () from /usr/lib/libCoin.so.60
0000028 0xb56d6f92 in SoAction::apply(SoNode*) () from /usr/lib/libCoin.so.60
0000029 0xb7aaf3e6 in Gui::SoBoxSelectionRenderAction::apply(SoNode*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
0000030 0xb58ec7d8 in SoRenderManager::renderScene(SoGLRenderAction*, SoNode*, unsigned int) ()
   from /usr/lib/libCoin.so.60
0000031 0xb58edb23 in SoRenderManager::actuallyRender(SoGLRenderAction*, int, int, int) ()
   from /usr/lib/libCoin.so.60
0000032 0xb58edd18 in SoRenderManager::renderSingle(SoGLRenderAction*, int, int, int) ()
   from /usr/lib/libCoin.so.60
0000033 0xb58ee53c in SoRenderManager::render(SoGLRenderAction*, int, int, int) ()
   from /usr/lib/libCoin.so.60
0000034 0xb58ebeaf in SoRenderManager::render(int, int) () from /usr/lib/libCoin.so.60
---Type <return> to continue, or q <return> to quit---
0000035 0xb58eb095 in SoSceneManager::render(int, int) () from /usr/lib/libCoin.so.60
0000036 0xb54b75a8 in SoQtViewerP::reallyRedraw(int, int) () from /usr/lib/libSoQt4.so.20
0000037 0xb54b7d3a in SoQtViewer::actualRedraw() () from /usr/lib/libSoQt4.so.20
0000038 0xb7b1b93e in Gui::View3DInventorViewer::actualRedraw() () from /usr/lib/freecad/lib/libFreeCADGui.so
#39 0xb5484a20 in SoQtRenderArea::redraw() () from /usr/lib/libSoQt4.so.20
#40 0xb548672f in SoQtRenderArea::render() () from /usr/lib/libSoQt4.so.20
0000041 0xb54867c8 in SoQtRenderAreaP::renderCB(void*, SoSceneManager*) () from /usr/lib/libSoQt4.so.20
0000042 0xb58ebdbd in SoSceneManagerP::renderCB(void*, SoRenderManager*) () from /usr/lib/libCoin.so.60
0000043 0xb58ed2a3 in SoRenderManager::redraw() () from /usr/lib/libCoin.so.60
0000044 0xb58eee05 in SoRenderManagerP::redrawshotTriggeredCB(void*, SoSensor*) ()
   from /usr/lib/libCoin.so.60
0000045 0xb59d939a in SoSensor::trigger() () from /usr/lib/libCoin.so.60
0000046 0xb59d8452 in SoDelayQueueSensor::trigger() () from /usr/lib/libCoin.so.60
0000047 0xb59dad2b in SoSensorManager::processDelayQueue(int) () from /usr/lib/libCoin.so.60
0000048 0xb547d071 in SoQtP::slot_idleSensor() () from /usr/lib/libSoQt4.so.20
0000049 0xb547d154 in SoQtP::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libSoQt4.so.20
0000050 0xb61e88b5 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000051 0xb61fa0f2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000052 0xb624aa55 in QTimer::timeout() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000053 0xb6200ed6 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000054 0xb61f7d34 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000055 0xb64c439c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000056 0xb64c8daf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000057 0xb78f9288 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
0000058 0xb61e178e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000059 0xb6216280 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000060 0xb6213308 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000061 0xb4aae9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000062 0xb4aaed80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000063 0xb4aaee61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000064 0xb6213981 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000065 0xb657a9aa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000066 0xb61e026c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
0000067 0xb61e0561 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000068 0xb61e5cba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000069 0xb64c1fc4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000070 0xb78f586b in Gui::Application::runApplication() () from /usr/lib/freecad/lib/libFreeCADGui.so
0000071 0x0804f35d in main ()

yorik

2012-11-06 11:05

administrator   ~0002493

For me create document -> create a box -> create new view doesn't produce a crash... (debian testing) Maybe some new lib they introduced in ubuntu 12.10? I have the same coin and soqt version as the reporter, but qt 4.8.2... Maybe qt 4.8.3 is the culprit?

Jriegel

2012-11-15 18:08

administrator   ~0002531

for me a typical "problem with the graphic card" error.
Nothing we can do about it...

Issue History

Date Modified Username Field Change
2012-11-06 06:58 mouteb New Issue
2012-11-06 07:58 wmayer Note Added: 0002491
2012-11-06 07:59 wmayer Note Edited: 0002491
2012-11-06 08:33 wmayer Note Added: 0002492
2012-11-06 11:05 yorik Note Added: 0002493
2012-11-15 18:08 Jriegel Note Added: 0002531
2012-11-15 18:08 Jriegel Status new => closed
2012-11-15 18:08 Jriegel Resolution open => unable to reproduce