Bug 486720 - Molecule editor crashes when trying to create molecule
Summary: Molecule editor crashes when trying to create molecule
Status: RESOLVED DUPLICATE of bug 457191
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-05-07 11:51 UTC by TSmort
Modified: 2024-05-07 11:52 UTC (History)
0 users

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 TSmort 2024-05-07 11:51:08 UTC
Application: kalzium (23.08.5)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.8.0-31-generic x86_64
Windowing System: X11
Distribution: Ubuntu 24.04 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Molecule editor opens fine, but loading a molecule does nothing and trying to create a molecule crashes Kalzium.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007a0c4ca4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007a0c4ca288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007a0c4ca2881b in __assert_fail_base (fmt=0x7a0c4cbd01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7a0c4f9ad2ec "m_activeMolecule != nullptr", file=file@entry=0x7a0c4f9abbc8 "./avogadro/qtgui/pluginlayermanager.cpp", line=line@entry=127, function=function@entry=0x7a0c4f9abc18 "bool Avogadro::QtGui::PluginLayerManager::activeLayerLocked() const") at ./assert/assert.c:94
#10 0x00007a0c4ca3b507 in __assert_fail (assertion=0x7a0c4f9ad2ec "m_activeMolecule != nullptr", file=0x7a0c4f9abbc8 "./avogadro/qtgui/pluginlayermanager.cpp", line=127, function=0x7a0c4f9abc18 "bool Avogadro::QtGui::PluginLayerManager::activeLayerLocked() const") at ./assert/assert.c:103
#11 0x00007a0c4f98d867 in Avogadro::QtGui::PluginLayerManager::activeLayerLocked() const () from /lib/x86_64-linux-gnu/libAvogadroQtGui.so.1
#12 0x00007a0c4f4bcde9 in ?? () from /lib/x86_64-linux-gnu/libAvogadroQtPlugins.so.1
#13 0x00007a0c4f918ae7 in Avogadro::QtOpenGL::GLWidget::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libAvogadroQtOpenGL.so.1
#14 0x00007a0c4e1b0df8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007a0c4e16bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007a0c4e1746b0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007a0c4d4d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007a0c4e172874 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007a0c4e1caa39 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007a0c4e1cdfbf in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007a0c4e16bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007a0c4d4d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007a0c4d945a3b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007a0c4d917bfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007a0c462fcd06 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007a0c4b1145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007a0c4b173717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007a0c4b113a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007a0c4d535279 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007a0c4d4d6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007a0c4d4df3e8 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00005ffe0452b640 in ?? ()
#33 0x00007a0c4ca2a1ca in __libc_start_call_main (main=main@entry=0x5ffe0452a720, argc=argc@entry=3, argv=argv@entry=0x7fff9aa32a88) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x00007a0c4ca2a28b in __libc_start_main_impl (main=0x5ffe0452a720, argc=3, argv=0x7fff9aa32a88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9aa32a78) at ../csu/libc-start.c:360
#35 0x00005ffe0452b765 in ?? ()
[Inferior 1 (process 37078) detached]

Reported using DrKonqi
Comment 1 Antonio Rojas 2024-05-07 11:52:50 UTC

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