Bug 493720

Summary: (duplicate) Molecular editor crash (PLEASE implement the function or grey it out)
Product: [Applications] kalzium Reporter: aera23
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description aera23 2024-09-27 06:19:34 UTC
Application: kalzium (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-25-amd64 x86_64
Windowing System: X11
Distribution: PeppermintOS
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
3 times, I open the app, click Molecular editor, it crashes, doesn't matter if I have opened a previous menu or not

The crash can be reproduced every time.

-- Backtrace:
Application: Kalzium (kalzium), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#5  0x00007f99e17e3e9f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  0x00007f99e1794fb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7  0x00007f99e177f472 in __GI_abort () at ./stdlib/abort.c:79
#8  0x00007f99e177f395 in __assert_fail_base (fmt=0x7f99e18f3a90 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f99e3267090 "m_activeMolecule != nullptr", file=file@entry=0x7f99e3267148 "./avogadro/core/layermanager.cpp", line=line@entry=97, function=function@entry=0x7f99e32671d0 "static std::size_t Avogadro::Core::LayerManager::layerCount()") at ./assert/assert.c:92
#9  0x00007f99e178deb2 in __GI___assert_fail (assertion=0x7f99e3267090 "m_activeMolecule != nullptr", file=0x7f99e3267148 "./avogadro/core/layermanager.cpp", line=97, function=0x7f99e32671d0 "static std::size_t Avogadro::Core::LayerManager::layerCount()") at ./assert/assert.c:101
#10 0x00007f99e3211a83 in Avogadro::Core::LayerManager::layerCount() () from /lib/x86_64-linux-gnu/libAvogadroCore.so.1
#11 0x00007f99e40ec8fe in ?? () from /lib/x86_64-linux-gnu/libAvogadroQtPlugins.so.1
#12 0x00007f99e1f1dfbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f99e40ef7a3 in ?? () from /lib/x86_64-linux-gnu/libAvogadroQtPlugins.so.1
#14 0x00007f99e1f1dfbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f99e2abe891 in QComboBox::currentIndexChanged(int) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f99e2ac0052 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f99e2ac38cb in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f99e2ac3c6f in QComboBox::setCurrentIndex(int) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f99e1f1dfbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f99e1e80d9e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f99e1e8949a in QAbstractItemModel::endInsertRows() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f99e26aac7e in ?? () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007f99e2ac7ff7 in QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f99e40eebe2 in ?? () from /lib/x86_64-linux-gnu/libAvogadroQtPlugins.so.1
#25 0x00007f99e423e4d3 in Avogadro::QtOpenGL::GLWidget::setMolecule(Avogadro::QtGui::Molecule*) () from /lib/x86_64-linux-gnu/libAvogadroQtOpenGL.so.1
#26 0x000055fab7b9be19 in KalziumGLWidget::KalziumGLWidget(QWidget*) ()
#27 0x000055fab7b99f0b in ?? ()
#28 0x000055fab7b9804f in ?? ()
#29 0x000055fab7be001c in ?? ()
#30 0x00007f99e1f1df8f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f99e29b4782 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f99e29b73ab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f99e2aaee8a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f99e2aaefd7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f99e2ba7aaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f99e29fcdb8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f99e29bafae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f99e29c3552 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f99e1ee6738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f99e29c165e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f99e2a15bd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f99e2a18f60 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007f99e29bafae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007f99e1ee6738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f99e22c642d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#46 0x00007f99e229acec in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#47 0x00007f99daadceca in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#48 0x00007f99df7097a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f99df709a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f99df709acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f99e1f3e876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007f99e1ee51bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007f99e1eed316 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x000055fab7b8b6ae in ?? ()
#55 0x00007f99e178024a in __libc_start_call_main (main=main@entry=0x55fab7b8a810, argc=argc@entry=3, argv=argv@entry=0x7ffed9ada4d8) at ../sysdeps/nptl/libc_start_call_main.h:58
#56 0x00007f99e1780305 in __libc_start_main_impl (main=0x55fab7b8a810, argc=3, argv=0x7ffed9ada4d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffed9ada4c8) at ../csu/libc-start.c:360
#57 0x000055fab7b8b881 in ?? ()
[Inferior 1 (process 2784) detached]

The reporter indicates this bug may be a duplicate of or related to bug 464353, bug 486720, bug 492203, bug 473096.

Reported using DrKonqi
Comment 1 Antonio Rojas 2024-09-27 06:23:21 UTC

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