View Issue Details

IDProjectCategoryView StatusLast Update
0002132FreeCADBugpublic2017-07-11 20:13
Reporterkrichter Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
PlatformUbuntu 15.04OSLinuxOS Version4.0.1
Summary0002132: SIGABRT when creating new document
DescriptionWhen creating a new document `freecad` crashes with `SIGABRT`. `gdb` backtrace:

    #0 0x00007ffff47cc267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
    #1 0x00007ffff47cdeca in __GI_abort () at abort.c:89
    0000002 0x00007ffff47c503d in __assert_fail_base (fmt=0x7ffff4927028 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff4141c28 "current_ctx && \"Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get aroun"..., file=file@entry=0x7ffff4145087 "gl.cpp", line=line@entry=2354, function=function@entry=0x7ffff4144da0 "const cc_glglue* cc_glglue_instance(int)") at assert.c:92
    0000003 0x00007ffff47c50f2 in __GI___assert_fail (assertion=0x7ffff4141c28 "current_ctx && \"Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get aroun"..., file=0x7ffff4145087 "gl.cpp", line=2354, function=0x7ffff4144da0 "const cc_glglue* cc_glglue_instance(int)") at assert.c:101
    0000004 0x00007ffff3dc6a15 in cc_glglue_instance () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000005 0x00007ffff3d32798 in SoGLLightIdElement::increment(SoState*, SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000006 0x00007ffff3ed69b3 in SoDirectionalLight::GLRender(SoGLRenderAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000007 0x00007ffff3f01cec in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000008 0x00007ffff3eee3f0 in SoNode::GLRenderS(SoAction*, SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000009 0x00007ffff3c9b234 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000010 0x00007ffff3ca3c36 in SoGLRenderAction::beginTraversal(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000011 0x00007ffff3ca2ee2 in SoGLRenderActionP::renderSingle(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000012 0x00007ffff3ca3568 in SoGLRenderActionP::render(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000013 0x00007ffff3ca3ceb in SoGLRenderAction::beginTraversal(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000014 0x00007ffff3c9caa2 in SoAction::apply(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000015 0x00007ffff74c2279 in Gui::SoBoxSelectionRenderAction::apply(SoNode*) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000016 0x00007ffff3ea93f4 in SoRenderManager::renderScene(SoGLRenderAction*, SoNode*, unsigned int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000017 0x00007ffff3eaa55f in SoRenderManager::actuallyRender(SoGLRenderAction*, int, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000018 0x00007ffff3eaa702 in SoRenderManager::renderSingle(SoGLRenderAction*, int, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000019 0x00007ffff3eaade1 in SoRenderManager::render(SoGLRenderAction*, int, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000020 0x00007ffff3ea8c1c in SoRenderManager::render(int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000021 0x00007ffff3808d1f in SoQtViewer::actualRedraw() () at /usr/lib/x86_64-linux-gnu/libSoQt.so.20
    0000022 0x00007ffff752817e in Gui::View3DInventorViewer::renderScene() () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000023 0x00007ffff37dcafd in SoQtRenderArea::redraw() () at /usr/lib/x86_64-linux-gnu/libSoQt.so.20
    0000024 0x00007ffff3f8523b in SoSensorManager::processDelayQueue(int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80
    0000025 0x00007ffff37d5da3 in SoQtP::slot_idleSensor() () at /usr/lib/x86_64-linux-gnu/libSoQt.so.20
    0000026 0x00007ffff522219c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1e61250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0)
        at kernel/qobject.cpp:3567
    0000027 0x00007ffff5226763 in QObject::event(QEvent*) (this=0x1e61250, e=<optimized out>) at kernel/qobject.cpp:1253
    0000028 0x00007ffff59869bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x86d960, receiver=receiver@entry=0x1e61250, e=e@entry=0x7fffffffa850)
        at kernel/qapplication.cpp:4570
    0000029 0x00007ffff598d4d8 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffc900, receiver=0x1e61250, e=0x7fffffffa850) at kernel/qapplication.cpp:4356
    0000030 0x00007ffff7344be5 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000031 0x00007ffff520d17d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffc900, receiver=0x1e61250, event=event@entry=0x7fffffffa850)
        at kernel/qcoreapplication.cpp:955
    0000032 0x00007ffff523ee3b in QTimerInfoList::activateTimers() (event=0x7fffffffa850, receiver=<optimized out>)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    0000033 0x00007ffff523ee3b in QTimerInfoList::activateTimers() (this=0x86df90) at kernel/qeventdispatcher_unix.cpp:621
    0000034 0x00007ffff523be41 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
    0000035 0x00007fffee1efc3d in g_main_context_dispatch (context=0x86ddf0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
    0000036 0x00007fffee1efc3d in g_main_context_dispatch (context=context@entry=0x86ddf0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
    0000037 0x00007fffee1eff20 in g_main_context_iterate (context=context@entry=0x86ddf0, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>)
        at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
    0000038 0x00007fffee1effcc in g_main_context_iteration (context=0x86ddf0, may_block=0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
    #39 0x00007ffff523c80e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x86d790, flags=...) at kernel/qeventdispatcher_glib.cpp:450
    #40 0x00007ffff5a2ec66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
        at kernel/qguieventdispatcher_glib.cpp:204
    0000041 0x00007ffff5210f01 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qcoreapplication.cpp:1142
    0000042 0x00007ffff73356ab in Gui::Application::slotNewDocument(App::Document const&) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000043 0x00007ffff6e0e842 in boost::signal1<void, App::Document const&, boost::last_value<void>, int, std::less<int>, boost::function<void (App::Document const&)> >::operator()(App::---Type <return> to continue, or q <return> to quit---
    Document const&) () at /usr/lib/freecad/lib/libFreeCADApp.so
    0000044 0x00007ffff6e80e95 in App::Application::newDocument(char const*, char const*) () at /usr/lib/freecad/lib/libFreeCADApp.so
    0000045 0x00007ffff6e93970 in App::Application::sNewDocument(_object*, _object*, _object*) () at /usr/lib/freecad/lib/libFreeCADApp.so
    0000046 0x00007ffff664cf0c in PyEval_EvalFrameEx (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4035
    0000047 0x00007ffff664cf0c in PyEval_EvalFrameEx (f=0x7fffe0bd2410, throwflag=-521543024) at ../Python/ceval.c:2681
    0000048 0x00007ffff6697f80 in PyEval_EvalCodeEx (co=0x7fffbdd54e30, globals=0x369c, globals@entry=0x7ffff7f30168, locals=0x6,
        locals@entry=0x7ffff7f30168, args=0x0, argcount=-16843009, argcount@entry=0, kws=0x1, kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3267
    0000049 0x00007ffff66476d9 in PyEval_EvalCode (co=co@entry=0x7fffbdd54e30, globals=globals@entry=0x7ffff7f30168, locals=locals@entry=0x7ffff7f30168) at ../Python/ceval.c:669
    0000050 0x00007ffff66279c6 in PyRun_StringFlags (arena=0x1599f90, flags=0x0, locals=0x7ffff7f30168, globals=0x7ffff7f30168, filename=0x7ffff66ac455 "<string>", mod=<optimized out>)
        at ../Python/pythonrun.c:1371
    0000051 0x00007ffff66279c6 in PyRun_StringFlags (str=<optimized out>, start=257, globals=0x7ffff7f30168, locals=0x7ffff7f30168, flags=0x0) at ../Python/pythonrun.c:1334
    0000052 0x00007ffff6ac18f6 in Base::InterpreterSingleton::runString(char const*) () at /usr/lib/freecad/lib/libFreeCADBase.so
    0000053 0x00007ffff7387c6f in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000054 0x00007ffff738d086 in StdCmdNew::activated(int) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000055 0x00007ffff738771c in Gui::Command::invoke(int) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000056 0x00007ffff522219c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x15ded10, m=m@entry=0x7ffff647b540 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffb660) at kernel/qobject.cpp:3567
    0000057 0x00007ffff597ffd2 in QAction::triggered(bool) (this=this@entry=0x15ded10, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
    0000058 0x00007ffff5981b57 in QAction::activate(QAction::ActionEvent) (this=0x15ded10, event=<optimized out>) at kernel/qaction.cpp:1257
    0000059 0x00007ffff5d5d8a3 in QAbstractButtonPrivate::click() (this=this@entry=0x15fdfa0) at widgets/qabstractbutton.cpp:530
    0000060 0x00007ffff5d5d9f4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x15df0f0, e=0x7fffffffbd80) at widgets/qabstractbutton.cpp:1123
    0000061 0x00007ffff5e1fada in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
    0000062 0x00007ffff59d9dc8 in QWidget::event(QEvent*) (this=0x15df0f0, event=0x7fffffffbd80) at kernel/qwidget.cpp:8775
    0000063 0x00007ffff59869bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x86d960, receiver=receiver@entry=0x15df0f0, e=e@entry=0x7fffffffbd80)
        at kernel/qapplication.cpp:4570
    0000064 0x00007ffff598d63f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x15df0f0, e=0x7fffffffbd80) at kernel/qapplication.cpp:4113
    0000065 0x00007ffff7344be5 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000066 0x00007ffff520d17d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffc900, receiver=receiver@entry=0x15df0f0, event=event@entry=0x7fffffffbd80)
        at kernel/qcoreapplication.cpp:955
    0000067 0x00007ffff598cc9f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    0000068 0x00007ffff598cc9f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x15df0f0, event=event@entry=0x7fffffffbd80, alienWidget=alienWidget@entry=0x15df0f0, nativeWidget=nativeWidget@entry=0x7fffffffc8d0, buttonDown=buttonDown@entry=0x7ffff64b4578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
    0000069 0x00007ffff5a069a2 in QETWidget::translateMouseEvent(_XEvent const*) (this=this@entry=0x7fffffffc8d0, event=event@entry=0x7fffffffc0e0) at kernel/qapplication_x11.cpp:4632
    0000070 0x00007ffff5a0624c in QApplication::x11ProcessEvent(_XEvent*) (this=0x7fffffffc900, event=event@entry=0x7fffffffc0e0) at kernel/qapplication_x11.cpp:3626
    0000071 0x00007ffff5a2eba2 in x11EventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x85a2a0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
    0000072 0x00007fffee1efc3d in g_main_context_dispatch (context=0x86ddf0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
    0000073 0x00007fffee1efc3d in g_main_context_dispatch (context=context@entry=0x86ddf0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
    0000074 0x00007fffee1eff20 in g_main_context_iterate (context=context@entry=0x86ddf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
        at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
    0000075 0x00007fffee1effcc in g_main_context_iteration (context=0x86ddf0, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
    0000076 0x00007ffff523c80e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x86d790, flags=...) at kernel/qeventdispatcher_glib.cpp:450
    0000077 0x00007ffff5a2ec66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
        at kernel/qguieventdispatcher_glib.cpp:204
    0000078 0x00007ffff520bcd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffc4c0, flags=...) at kernel/qeventloop.cpp:149
    0000079 0x00007ffff520c035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffc4c0, flags=...) at kernel/qeventloop.cpp:204
    0000080 0x00007ffff5211ab9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
    0000081 0x00007ffff733b8a2 in Gui::Application::runApplication() () at /usr/lib/freecad/lib/libFreeCADGui.so
    0000082 0x00000000004042f8 in main ()

version information:

    OS: Ubuntu 15.04
    Word size: 64-bit
    Version: 0.14.3702 (Git)
    Branch: releases/FreeCAD-0-14
    Hash: b3368125c63289ec8ce9faec2b2ae4c78d436406
    Python version: 2.7.8
    Qt version: 4.8.6
    Coin version: 4.0.0a
    SoQt version: 1.6.0a
TagsNo tags attached.
FreeCAD Information

Activities

krichter

2015-05-30 20:22

reporter   ~0006168

It works when I run `freecad` in `optirun` of the `bumblebee` project, so `freecad` seems to depend on a working graphic card and should handle its absence better.

Kunda1

2017-01-10 16:12

administrator   ~0007607

Forum thread: http://forum.freecadweb.org/viewtopic.php?f=4&t=19774

Kunda1

2017-01-11 03:11

administrator   ~0007621

Last edited: 2017-01-11 03:12

@wmayer writes in http://forum.freecadweb.org/viewtopic.php?f=4&t=19774#p152666
> For me it's totally unclear what to do: https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting
>
> IMO, as userland application the very least what we can expect is a working OpemGL setup. So, from my point of view this can be closed as "won't fix" or "unfixable".

Issue History

Date Modified Username Field Change
2015-05-30 20:08 krichter New Issue
2015-05-30 20:22 krichter Note Added: 0006168
2017-01-10 16:12 Kunda1 Note Added: 0007607
2017-01-11 03:11 Kunda1 Note Added: 0007621
2017-01-11 03:12 Kunda1 Note Edited: 0007621
2017-01-11 03:12 Kunda1 Tag Attached: #tobeclosed
2017-01-11 12:28 wmayer Status new => closed
2017-01-11 12:28 wmayer Resolution open => won't fix
2017-07-11 20:13 Kunda1 Tag Detached: #tobeclosed