Double Analysis Bug - Two on first click and crash on delete
When creating the first Analysis we are getting two returned. I verified this does not happen in 6.3.0-rc1 but does happen in the nightly builds.
- Subsequent additions only result in adding a single Analysis.
- If you remove both of the original duplicate Analysis you will generate a segfault.
- If you create the first Analysis and change "Show Level:" Option from General to Advanced, the extra Analysis goes away and deleting the remaining Analysis does not crash. Attached is the SBT to reproduce. DoubleAnalysesBug.sbt
Loguru caught a signal: SIGABRT
Stack trace:
50 0x4116c9 /opt/cmb-6.99.0/bin/modelbuilder() [0x4116c9]
49 0x7fb92ce23830 __libc_start_main + 240
48 0x41f5db /opt/cmb-6.99.0/bin/modelbuilder() [0x41f5db]
47 0x7fb936399660 QCoreApplication::exec() + 128
46 0x7fb936390c1a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 234
45 0x7fb9363e976f QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 95
44 0x7fb92491949c g_main_context_iteration + 44
43 0x7fb9249193f0 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a3f0) [0x7fb9249193f0]
42 0x7fb924919197 g_main_context_dispatch + 679
41 0x7fb8fb144f3a /opt/Qt5.12.9/5.12.9/gcc_64/lib/libQt5XcbQpa.so.5(+0x6bf3a) [0x7fb8fb144f3a]
40 0x7fb9369ec05b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 203
39 0x7fb936a0ea95 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 261
38 0x7fb936a0d54a QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1594
37 0x7fb936392358 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264
36 0x7fb93726eb10 QApplication::notify(QObject*, QEvent*) + 688
35 0x7fb93726792c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
34 0x7fb9372c1d33 /opt/Qt5.12.9/5.12.9/gcc_64/lib/libQt5Widgets.so.5(+0x1bad33) [0x7fb9372c1d33]
33 0x7fb9372bf071 /opt/Qt5.12.9/5.12.9/gcc_64/lib/libQt5Widgets.so.5(+0x1b8071) [0x7fb9372bf071]
32 0x7fb93726e02a QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 506
31 0x7fb936392358 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264
30 0x7fb93726f7ff QApplication::notify(QObject*, QEvent*) + 3999
29 0x7fb93726792c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
28 0x7fb93742f7e9 QToolButton::event(QEvent*) + 105
27 0x7fb9372a5790 QWidget::event(QEvent*) + 496
26 0x7fb93742f71a QToolButton::mouseReleaseEvent(QMouseEvent*) + 10
25 0x7fb937350925 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 213
24 0x7fb937350810 /opt/Qt5.12.9/5.12.9/gcc_64/lib/libQt5Widgets.so.5(+0x249810) [0x7fb937350810]
23 0x7fb937263d70 QAction::activate(QAction::ActionEvent) + 272
22 0x7fb937261952 QAction::triggered(bool) + 50
21 0x7fb9363be176 QMetaObject::activate(QObject*, int, int, void**) + 2486
20 0x7fb8e4ea0aef /opt/cmb-6.99.0/bin/../lib/smtk-3.3.0/smtkQtPlugin/../../libsmtkQtExt.so(+0x2feaef) [0x7fb8e4ea0aef]
19 0x7fb8e4ea18cc /opt/cmb-6.99.0/bin/../lib/smtk-3.3.0/smtkQtPlugin/../../libsmtkQtExt.so(+0x2ff8cc) [0x7fb8e4ea18cc]
18 0x7fb8e4ea1f54 /opt/cmb-6.99.0/bin/../lib/smtk-3.3.0/smtkQtPlugin/../../libsmtkQtExt.so(+0x2fff54) [0x7fb8e4ea1f54]
17 0x7fb8e4e956af smtk::extension::qtAttributeView::onDeleteSelected() + 59
16 0x7fb8e4e937de smtk::extension::qtAttributeView::getSelectedAttribute() + 86
15 0x7fb8e4e93653 smtk::extension::qtAttributeView::getAttributeFromIndex(QModelIndex const&) + 199
14 0x7fb8e4e73542 smtk::attribute::Attribute::shared_from_this() + 50
13 0x7fb8e4e733f6 smtk::resource::Component::shared_from_this() + 54
12 0x7fb8e4e743c3 std::enable_shared_from_this<smtk::resource::PersistentObject>::shared_from_this() + 35
11 0x7fb8e4e75053 std::shared_ptr<smtk::resource::PersistentObject>::shared_ptr<smtk::resource::PersistentObject>(std::weak_ptr<smtk::resource::PersistentObject> const&) + 35
10 0x7fb8e4e75fe3 std::__shared_ptr<smtk::resource::PersistentObject, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<smtk::resource::PersistentObject>(std::__weak_ptr<smtk::resource::PersistentObject, (__gnu_cxx::_Lock_policy)2> const&) + 43
9 0x7fb8e52bb07d std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count(std::__weak_count<(__gnu_cxx::_Lock_policy)2> const&) + 57
8 0x7fb8e52b9a10 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock() + 54
7 0x7fb8e52b99da std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock() + 0
6 0x7fb92d779919 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7fb92d779919]
5 0x7fb92d779701 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7fb92d779701]
4 0x7fb92d7796b6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7fb92d7796b6]
3 0x7fb92d77b84d __gnu_cxx::__verbose_terminate_handler() + 365
2 0x7fb92ce3a02a abort + 362
1 0x7fb92ce38428 gsignal + 56
0 0x7fb92da7f390 /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fb92da7f390]
( 233.264s) [paraview ] :0 FATL| Signal: SIGABRT
FYI: @bob.obara @am300ed @dcthomp