Bug 478501

Summary: Crash on clicking molecule editor
Product: [Applications] kalzium Reporter: Rohan Osieck <rohan>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: REPORTED ---    
Severity: crash CC: aera23
Priority: NOR Keywords: drkonqi
Version: 23.08.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rohan Osieck 2023-12-14 06:05:26 UTC
Application: kalzium (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.6.6-200.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (KDE Plasma)
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
When in the Kalzium application, click the molecule editor. Application crashes. Reproducible every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Kalzium (kalzium), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fe131371c54 in Avogadro::Core::Layer::maxLayer() const () from /lib64/libAvogadroCore.so.1
#5  0x00007fe1313753b0 in Avogadro::Core::LayerManager::layerCount() () from /lib64/libAvogadroCore.so.1
#6  0x00007fe13273aae5 in Avogadro::QtPlugins::SelectionTool::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libAvogadroQtPlugins.so.1
#7  0x00007fe1308e89f8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fe13273e2fe in Avogadro::QtPlugins::SelectionToolWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libAvogadroQtPlugins.so.1
#9  0x00007fe1308e89f8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007fe1316bcd93 in QComboBox::currentIndexChanged(int) () from /lib64/libQt5Widgets.so.5
#11 0x00007fe1316be73a in QComboBoxPrivate::_q_emitCurrentIndexChanged(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#12 0x00007fe1316c22d4 in QComboBoxPrivate::setCurrentIndex(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#13 0x00007fe1316c2679 in QComboBox::setCurrentIndex(int) () from /lib64/libQt5Widgets.so.5
#14 0x00007fe1308e89f8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007fe130862b3a in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /lib64/libQt5Core.so.5
#16 0x00007fe13086bd20 in QAbstractItemModel::endInsertRows() () from /lib64/libQt5Core.so.5
#17 0x00007fe1310b460d in QStandardItemPrivate::insertRows(int, int, QList<QStandardItem*> const&) () from /lib64/libQt5Gui.so.5
#18 0x00007fe1316c6ddf in QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&) () from /lib64/libQt5Widgets.so.5
#19 0x00007fe1327394ae in Avogadro::QtPlugins::SelectionToolWidget::setDropDown(unsigned long, unsigned long) () from /lib64/libAvogadroQtPlugins.so.1
#20 0x00007fe132c8f9d3 in Avogadro::QtOpenGL::GLWidget::setMolecule(Avogadro::QtGui::Molecule*) () from /lib64/libAvogadroQtOpenGL.so.1
#21 0x000000000043d4f8 in KalziumGLWidget::KalziumGLWidget(QWidget*) ()
#22 0x000000000043df9e in MoleculeDialog::MoleculeDialog(QWidget*) ()
#23 0x000000000047a4e5 in Kalzium::slotMoleculeviewer() ()
#24 0x00007fe1308e8871 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#25 0x00007fe1315a7d24 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#26 0x00007fe1315aab7b in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#27 0x00007fe1316ab92a in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#28 0x00007fe1316aba68 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007fe1317afba6 in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007fe1315f3698 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007fe1315aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007fe1315b7456 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007fe1308b4598 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#34 0x00007fe1315b56a4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#35 0x00007fe13160d1b9 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007fe13161073f in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#37 0x00007fe1315aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#38 0x00007fe1308b4598 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#39 0x00007fe130d6cc1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#40 0x00007fe130d4acfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#41 0x00007fe12d81ce94 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#42 0x00007fe12e511e5c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#43 0x00007fe12e56cf18 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#44 0x00007fe12e50fad3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007fe130906ad9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#46 0x00007fe1308b2f5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007fe1308bb1eb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#48 0x0000000000435940 in main ()
[Inferior 1 (process 14210) detached]

Reported using DrKonqi
Comment 1 aera23 2024-09-27 06:23:27 UTC
Affects me too