Renaming a state in the StatechartEditor results in Seg-Fault
While using the button "Rename State" from the dropdown-menu of a state, following seg-fault occurs everytime. I tried it with different states, with ones that are used in other statecharts, as well as ones that were not even opened at the time.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Maintainer
5740][14:07:51.856][ArmarXGui][Application::HandlerFault(int)]: Error: Segmentation Fault
Backtrace:
1 0x7f62ee9f2a4f armarx::Application::HandlerFault(int) + 543
2 0x7f62ed68ecb0 /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f62ed68ecb0]
3 0x7f62ee640769 QListData::size() const + 15
4 0x7f6278f73560 QList<boost::shared_ptrarmarx::StateTreeNode >::count() const + 24
5 0x7f6278febcea armarx::StateTreeNode::childCount() const + 28
6 0x7f6278f5da11 armarx::StateTreeController::rowCount(QModelIndex const&) const + 109
7 0x7f62eb165163 QAbstractItemModel::hasIndex(int, int, QModelIndex const&) const + 67
8 0x7f6278f5d7f2 armarx::StateTreeController::index(int, int, QModelIndex const&) const + 48
9 0x7f62ebc203cc /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x7463cc) [0x7f62ebc203cc]
10 0x7f62ebc204bd QSortFilterProxyModel::mapToSource(QModelIndex const&) const + 13
11 0x7f62ebc1ad52 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x740d52) [0x7f62ebc1ad52]
12 0x7f62ebc1bb66 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x741b66) [0x7f62ebc1bb66]
13 0x7f62eb18687a QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 730
14 0x7f6278f6d600 armarx::StateTreeController::removeNodeFromTree(boost::shared_ptrarmarx::StateTreeNode) + 52
15 0x7f6278f649b0 armarx::StateTreeController::onRenameState() + 2480
16 0x7f6279039b8e /common/homes/students/reither/home/armarx/ArmarXGui/build /lib/libStatechartEditorGuiPlugin.so.0.9.1(+0x2d1b8e) [0x7f6279039b8e]
17 0x7f62eb18687a QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 730
18 0x7f62eb69da62 QAction::triggered(bool) + 50
19 0x7f62eb69f433 QAction::activate(QAction::ActionEvent) + 99
20 0x7f62ebacd509 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x5f3509) [0x7f62ebacd509]
21 0x7f62ebad1a39 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x5f7a39) [0x7f62ebad1a39]
22 0x7f62eb6f351a QWidget::event(QEvent*) + 2762
23 0x7f62ebad583b QMenu::event(QEvent*) + 91
24 0x7f62eb6a3e2c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 140
25 0x7f62eb6aa5dd QApplication::notify(QObject*, QEvent*) + 941
26 0x7f62ee61834b armarx::ArmarXQApplication::notify(QObject*, QEvent*) + 73
27 0x7f62eb1724dd QCoreApplication::notifyInternal(QObject*, QEvent*) + 109
28 0x7f62eb6a9d93 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) + 339
29 0x7f62eb71ed1c /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x244d1c) [0x7f62eb71ed1c]
30 0x7f62eb71e289 QApplication::x11ProcessEvent(_XEvent*) + 5465
31 0x7f62eb745b32 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bb32) [0x7f62eb745b32]
32 0x7f62e8d16e04 g_main_context_dispatch + 596
33 0x7f62e8d17048 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49048) [0x7f62e8d17048]
34 0x7f62e8d170ec g_main_context_iteration + 44
35 0x7f62eb19f7a1 QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 113
36 0x7f62eb745be6 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bbe6) [0x7f62eb745be6]
37 0x7f62eb1710af QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 47
38 0x7f62eb1713a5 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 373
39 0x7f62ebad4607 QMenu::exec(QPoint const&, QAction*) + 103
40 0x7f6278f6192e armarx::StateTreeController::onContextMenu(QPoint const&) + 1100
41 0x7f6279039b04 /common/homes/students/reither/home/armarx/ArmarXGui/build /lib/libStatechartEditorGuiPlugin.so.0.9.1(+0x2d1b04) [0x7f6279039b04]
42 0x7f62eb18687a QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 730
43 0x7f62eb6e5a62 QWidget::customContextMenuRequested(QPoint const&) + 34
44 0x7f62eb6f38f7 QWidget::event(QEvent*) + 3751
45 0x7f62eba9504e QFrame::event(QEvent*) + 30
46 0x7f62ebba4633 QAbstractItemView::viewportEvent(QEvent*) + 467
47 0x7f62ebbe3230 QTreeView::viewportEvent(QEvent*) + 48
48 0x7f62eb172646 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 134
49 0x7f62eb6a3e0c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 108
50 0x7f62eb6ab1f8 QApplication::notify(QObject*, QEvent*) + 4040
51 0x7f62ee61834b armarx::ArmarXQApplication::notify(QObject*, QEvent*) + 73
52 0x7f62eb1724dd QCoreApplication::notifyInternal(QObject*, QEvent*) + 109
53 0x7f62eb71ea40 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x244a40) [0x7f62eb71ea40]
54 0x7f62eb71e289 QApplication::x11ProcessEvent(_XEvent*) + 5465
55 0x7f62eb745b32 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bb32) [0x7f62eb745b32]
56 0x7f62e8d16e04 g_main_context_dispatch + 596
57 0x7f62e8d17048 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49048) [0x7f62e8d17048]
58 0x7f62e8d170ec g_main_context_iteration + 44
59 0x7f62eb19f7a1 QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 113
60 0x7f62eb745be6 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bbe6) [0x7f62eb745be6]
61 0x7f62eb1710af QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 47
62 0x7f62eb1713a5 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 373
63 0x7f62eb176b79 QCoreApplication::exec() + 137
64 0x7f62ee6176de armarx::ArmarXGuiApp::exec(IceUtil::Handlearmarx::ArmarXManager const&) + 1544
65 0x7f62ee9f8802 armarx::Application::run(int, char**) + 2642
66 0x7f62ee61707b armarx::ArmarXGuiApp::run(int, char**) + 257
67 0x7f62f00dbb7d Ice::Application::doMain(int, char**, Ice::InitializationData const&) + 381
68 0x7f62ee9f9905 armarx::Application::doMain(int, char**, Ice::InitializationData const&) + 453
69 0x7f62f00ca56b Ice::Application::main(int, char**, Ice::InitializationData const&) + 795
70 0x4122dd main + 448
71 0x7f62ed679f45 __libc_start_main + 245
72 0x412059 /common/homes/students/reither/home/armarx/ArmarXGui/build/bin/ArmarXGuiRun() [0x412059]
Edited by Stefan Reither - Maintainer
Does it happen always or random? I just tried it on a state and it worked.
- Author Maintainer
For me it happens all the time. It doesn't matter if i have saved before or not.
- Mirko Wächter closed via commit 250ba933
closed via commit 250ba933
- Maintainer
Please try if this fixes it
- Author Maintainer
It works now correctly.
- Mirko Wächter mentioned in commit 250ba933
mentioned in commit 250ba933