-RM-362-MR-SegFault in Modulegraph on deleting a module
I had the following module pipeline:
Data Module -> Isosurface
I deleted the Isosurface module (this worked) and then the Data module, which segfaulted:
*DEBUG [WGEShader] Reloading vertex shader "WMIsosurface-vertex.glsl"
*DEBUG [WGEShader] Reloading fragment shader "WMIsosurface-fragment.glsl"
*DEBUG [WGEShader] Reloading geometry shader "WMIsosurface-geometry.glsl"
*DEBUG [ControlPanel] Activating module "Isosurface".
*DEBUG [ModuleContainer (KernelRootContainer)] Removing module "Isosurface" from container.
*INFO [ModuleContainer (KernelRootContainer)] Disconnecting Data Module:out from Isosurface:values
*DEBUG [Isosurface] Waiting for data ...
*DEBUG [Isosurface] Waiting ...
*DEBUG [NetworkEditor] Disconnecting "Isosurface:values" and "Data Module:out".
*DEBUG [ControlPanel] Removing module "Isosurface" from Tree.
*DEBUG [ControlPanel] Waiting for module "Isosurface" to finish before deleting.
*DEBUG [NetworkEditor] Removing "Isosurface".
*DEBUG [NetworkEditor] Deleting "Isosurface".
*DEBUG [ControlPanel] Deleting module "Isosurface" from Tree.
*DEBUG [ControlPanel] Activating module "Data Module".
*DEBUG [ModuleContainer (KernelRootContainer)] Removing module "Data Module" from container.
*DEBUG [ControlPanel] Removing module "Data Module" from Tree.
*DEBUG [ControlPanel] Waiting for module "Data Module" to finish before deleting.
*DEBUG [NetworkEditor] Removing "Data Module".
*DEBUG [WGEColormapping] De-registering texture "2315_t1.brain.nii.gz".
*DEBUG [NetworkEditor] Deleting "Data Module".
*DEBUG [ControlPanel] Deleting module "Data Module" from Tree.
Exception thrown! Callstack's backtrace:
trace: WException::WException(std::string const&) -> ./lib/libopenwalnut.so.1(_ZN10WExceptionC2ERKSs+0x186) [0x7f388a831fb6]
trace: SignalTranslator::SingletonTranslator::SignalHandler(int) -> ./lib/libopenwalnut.so.1(_ZN16SignalTranslatorI18WSegmentationFaultE19SingletonTranslator13SignalHandlerEi+0x248) [0x7f388a82dfa8]
trace: () -> /lib/x86_64-linux-gnu/libc.so.6(+0x35420) [0x7f3884921420]
trace: QGraphicsItem::setPos(QPointF const&) -> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN13QGraphicsItem6setPosERK7QPointF+0x1c) [0x7f38898acc2c]
trace: QGraphicsItemAnimation::setStep(double) -> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN22QGraphicsItemAnimation7setStepEd+0xad) [0x7f38898bec4d]
trace: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2da) [0x7f3889f746aa]
trace: QTimeLine::valueChanged(double) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QTimeLine12valueChangedEd+0x30) [0x7f3889fbd0f0]
trace: () -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0xcf4a0) [0x7f3889eb24a0]
trace: QObject::event(QEvent*) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x61) [0x7f3889f78861]
trace: QApplicationPrivate::notify_helper(QObject*, QEvent*) -> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c) [0x7f38893006cc]
trace: QApplication::notify(QObject*, QEvent*) -> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x22d) [0x7f3889306cfd]
trace: QCoreApplication::notifyInternal(QObject*, QEvent*) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d) [0x7f3889f6041d]
trace: () -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1ad133) [0x7f3889f90133]
trace: () -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1aa421) [0x7f3889f8d421]
trace: g_main_context_dispatch() -> /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7f3883444e04]
trace: () -> /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49048) [0x7f3883445048]
trace: g_main_context_iteration() -> /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f38834450ec]
trace: QEventDispatcherGlib::processEvents(QFlags) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x65) [0x7f3889f8d655]
trace: () -> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2667c6) [0x7f388939e7c6]
trace: QEventLoop::processEvents(QFlags) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7f3889f5efef]
trace: QEventLoop::exec(QFlags) -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175) [0x7f3889f5f2e5]
trace: QCoreApplication::exec() -> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89) [0x7f3889f64ab9]
trace: WQt4Gui::run() -> bin/openwalnut-qt4(_ZN7WQt4Gui3runEv+0x1c86) [0x538046]
trace: main() -> bin/openwalnut-qt4(main+0x1ad6) [0x56b166]
trace: __libc_start_main() -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f388490db45]
trace: ??? -> bin/openwalnut-qt4() [0x4b112a]
terminate called after throwing an instance of 'WSegmentationFault'
what(): Segmentation Fault.
Aborted
(from redmine: created on 2014-05-20, closed on 2014-06-26)