Bug 478501 - Crash on clicking molecule editor
Summary: Crash on clicking molecule editor
Status: RESOLVED DUPLICATE of bug 457191
Alias: None
Product: kalzium
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.3
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords: drkonqi
: 444044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-14 06:05 UTC by Rohan Osieck
Modified: 2025-06-27 18:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 leon.halic 2025-02-28 23:41:17 UTC
*** Bug 444044 has been marked as a duplicate of this bug. ***
Comment 3 petra_m_ 2025-06-26 19:12:36 UTC
I could reproduce the crash on a Debian 12 live session. Version 25.04 appears to be free of this issue, however.
Comment 4 petra_m_ 2025-06-27 17:15:17 UTC
Spoke too soon... I re-tested with a Kubuntu 24.04 live session and I could invoke the molecule editor but couldn't add atoms as it would make the application crash. Tested version is identical to the one in the report.
The issue persists in version 25.04.2 with the added bonus of rendering issues.
Comment 5 Antonio Rojas 2025-06-27 18:34:16 UTC

*** This bug has been marked as a duplicate of bug 457191 ***