Bug 311391 - Program crash where i'm close the window
Summary: Program crash where i'm close the window
Status: RESOLVED WORKSFORME
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: 2.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-09 08:32 UTC by coolfire
Modified: 2018-12-01 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.15 KB, text/plain)
2016-08-03 08:03 UTC, Joachim Mairböck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description coolfire 2012-12-09 08:32:46 UTC
Application: kalzium (2.4.00)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-34-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Program crash where i'm close the window. Program work normally. But when I'm press the close button, program make ceash.

-- Backtrace:
Application: Kalzium (kalzium), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb341a740 (LWP 23879))]

Thread 3 (Thread 0xb091bb40 (LWP 23881)):
#0  0xb3f01dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5966315 in do_gettime (frac=0xb091afb0, sec=0xb091afa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5a50226 in QTimerInfoList::updateCurrentTime (this=0xb0002074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb5a5057a in QTimerInfoList::timerWait (this=0xb0002074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb5a4ee23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb091b0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5a4eebd in timerSourcePrepare (source=0xb0002040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3fe2872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3fe2faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3fe3201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5a4f8e7 in QEventDispatcherGlib::processEvents (this=0xb0000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb5a1b50d in QEventLoop::processEvents (this=0xb091b240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5a1b7a9 in QEventLoop::exec (this=0xb091b240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb590494c in QThread::exec (this=0x988c6b8) at thread/qthread.cpp:501
#14 0xb59f8b5d in QInotifyFileSystemWatcherEngine::run (this=0x988c6b8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5907de0 in QThreadPrivate::start (arg=0x988c6b8) at thread/qthread_unix.cpp:298
#16 0xb4e48d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb4f4bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaa8f4b40 (LWP 24027)):
#0  0xb3f01dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5966315 in do_gettime (frac=0xaa8f3fb0, sec=0xaa8f3fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5a50226 in QTimerInfoList::updateCurrentTime (this=0xb30b48c) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb5a5057a in QTimerInfoList::timerWait (this=0xb30b48c, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb5a4ee23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaa8f40bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5a4eebd in timerSourcePrepare (source=0xb30b458, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3fe2872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3fe2faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3fe3201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5a4f8e7 in QEventDispatcherGlib::processEvents (this=0xbb79b08, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb5a1b50d in QEventLoop::processEvents (this=0xaa8f4240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5a1b7a9 in QEventLoop::exec (this=0xaa8f4240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb590494c in QThread::exec (this=0xb2ccc10) at thread/qthread.cpp:501
#14 0xb59f8b5d in QInotifyFileSystemWatcherEngine::run (this=0xb2ccc10) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5907de0 in QThreadPrivate::start (arg=0xb2ccc10) at thread/qthread_unix.cpp:298
#16 0xb4e48d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb4f4bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb341a740 (LWP 23879)):
[KCrash Handler]
#7  0xb4e4ec89 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb44a9960 in PyThread_acquire_lock () from /usr/lib/libpython2.7.so.1.0
#9  0xb445e91b in new_threadstate () from /usr/lib/libpython2.7.so.1.0
#10 0xb44602a6 in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#11 0xb6aca736 in Avogadro::GLWidget::~GLWidget() () from /usr/lib/libavogadro.so.1
#12 0x08094b90 in KalziumGLWidget::~KalziumGLWidget (this=0xa55ad18, __in_chrg=<optimized out>) at ../../compoundviewer/kalziumglwidget.cpp:69
#13 0xb5a31d11 in QObjectPrivate::deleteChildren (this=0xa54aa78) at kernel/qobject.cpp:1908
#14 0xb5d0c17c in QWidget::~QWidget (this=0xa54a6f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#15 0xb5d0c482 in QWidget::~QWidget (this=0xa54a6f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1700
#16 0xb5a31d11 in QObjectPrivate::deleteChildren (this=0xa540210) at kernel/qobject.cpp:1908
#17 0xb5d0c17c in QWidget::~QWidget (this=0xa373548, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#18 0xb6209525 in QDialog::~QDialog (this=0xa373548, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:318
#19 0xb5587ca4 in KDialog::~KDialog() () from /usr/lib/libkdeui.so.5
#20 0x0808d060 in MoleculeDialog::~MoleculeDialog (this=0xa373548, __in_chrg=<optimized out>) at ../../src/tools/moleculeview.cpp:234
#21 0xb5a31d11 in QObjectPrivate::deleteChildren (this=0x989a088) at kernel/qobject.cpp:1908
#22 0xb5d0c17c in QWidget::~QWidget (this=0x98a4948, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#23 0xb614af9f in QMainWindow::~QMainWindow (this=0x98a4948, __in_chrg=<optimized out>) at widgets/qmainwindow.cpp:388
#24 0xb5724c94 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#25 0xb576f22c in KXmlGuiWindow::~KXmlGuiWindow() () from /usr/lib/libkdeui.so.5
#26 0x080c206d in Kalzium::~Kalzium (this=0x98a4948, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/kalzium.cpp:620
#27 0x080c20c0 in Kalzium::~Kalzium (this=0x98a4948, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/kalzium.cpp:631
#28 0xb5a30d03 in qDeleteInEventHandler (o=0x98a4948) at kernel/qobject.cpp:4277
#29 0xb5a37ca8 in QObject::event (this=0x98a4948, e=0xb715970) at kernel/qobject.cpp:1176
#30 0xb5d11e62 in QWidget::event (this=0x98a4948, event=0xb715970) at kernel/qwidget.cpp:8821
#31 0xb614d2dc in QMainWindow::event (this=0x98a4948, event=0xb715970) at widgets/qmainwindow.cpp:1478
#32 0xb5725754 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#33 0xb576ed82 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#34 0xb5cb7ed4 in notify_helper (e=0xb715970, receiver=0x98a4948, this=0x9796318) at kernel/qapplication.cpp:4559
#35 QApplicationPrivate::notify_helper (this=0x9796318, receiver=0x98a4948, e=0xb715970) at kernel/qapplication.cpp:4531
#36 0xb5cbd3a2 in QApplication::notify (this=0x9796318, receiver=0x98a4948, e=0xb715970) at kernel/qapplication.cpp:4524
#37 0xb5649e01 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0xb5a1c97e in QCoreApplication::notifyInternal (this=0xbf9e4084, receiver=0x98a4948, event=0xb715970) at kernel/qcoreapplication.cpp:876
#39 0xb5a20ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9752130) at kernel/qcoreapplication.cpp:1500
#41 0xb5a20e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#42 0xb5a4f494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 postEventSourceDispatch (s=0x978da90) at kernel/qeventdispatcher_glib.cpp:279
#44 0xb3fe2d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb3fe3125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb3fe3201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0xb5a4f887 in QEventDispatcherGlib::processEvents (this=0x9752e88, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#48 0xb5d70aaa in QGuiEventDispatcherGlib::processEvents (this=0x9752e88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0xb5a1b50d in QEventLoop::processEvents (this=0xbf9e3fe4, flags=...) at kernel/qeventloop.cpp:149
#50 0xb5a1b7a9 in QEventLoop::exec (this=0xbf9e3fe4, flags=...) at kernel/qeventloop.cpp:204
#51 0xb5a20eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#52 0xb5cb5a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#53 0x080881f0 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>) at ../../src/main.cpp:102

Possible duplicates by query: bug 270760.

Reported using DrKonqi
Comment 1 Dario Cambié 2012-12-09 09:49:58 UTC
I confirm this bug with today's master. It happens only if Avogadro-based molecular editor is used from kalzium.

Application: Kalzium (kalzium), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:45
#7  0x00007fab4e274e68 in PyThread_acquire_lock () from /usr/lib/libpython2.7.so.1.0
#8  0x00007fab4e277552 in PyThreadState_New () from /usr/lib/libpython2.7.so.1.0
#9  0x00007fab4e2788bc in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#10 0x00007fab54c94866 in Avogadro::GLWidget::~GLWidget() () from /usr/lib/libavogadro.so.1
#11 0x00000000004308d9 in KalziumGLWidget::~KalziumGLWidget (this=0x1a75050, __in_chrg=<optimized out>) at /home/kde/kdesrc/kde/kdeedu/kalzium/compoundviewer/kalziumglwidget.cpp:69
#12 0x00007fab53517182 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fab53a72c24 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fab53a72f79 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007fab53517182 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007fab53a72c24 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x0000000000429f39 in MoleculeDialog::~MoleculeDialog (this=0x1a45ae0, __in_chrg=<optimized out>) at /home/kde/kdesrc/kde/kdeedu/kalzium/src/tools/moleculeview.cpp:249
#18 0x00007fab53517182 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fab53a72c24 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fab5301c2f5 in KMainWindow::~KMainWindow (this=0x115fb70, __in_chrg=<optimized out>) at /home/kde/kdesrc/kde/kdelibs/kdeui/widgets/kmainwindow.cpp:467
#21 0x0000000000456b17 in Kalzium::~Kalzium (this=0x115fb70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/kde/kdesrc/kde/kdeedu/kalzium/src/kalzium.cpp:622
#22 0x0000000000456b69 in Kalzium::~Kalzium (this=0x115fb70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/kde/kdesrc/kde/kdeedu/kalzium/src/kalzium.cpp:633
#23 0x00007fab53519468 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fab53a780da in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fab53e411cb in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fab53057818 in KXmlGuiWindow::event (this=0x115fb70, ev=0x2b475f0) at /home/kde/kdesrc/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#27 0x00007fab53a28e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fab53a2d30a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007fab52f653d6 in KApplication::notify (this=0x7fff3ea81360, receiver=0x115fb70, event=0x2b475f0) at /home/kde/kdesrc/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#30 0x00007fab5350456e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007fab535083f1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007fab53532a63 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007fab4cdb8ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fab4cdb8de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fab4cdb8ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fab53532bf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007fab53acdc1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007fab535032bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007fab53503548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007fab53508708 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x0000000000425b2f in main (argc=1, argv=0x7fff3ea81498) at /home/kde/kdesrc/kde/kdeedu/kalzium/src/main.cpp:116
Comment 2 Joachim Mairböck 2016-08-03 08:03:52 UTC
Created attachment 100432 [details]
New crash information added by DrKonqi

kalzium (2.4.03) on KDE Platform 4.14.18 using Qt 4.8.6

- What I was doing when the application crashed:
Using the molecule editor, an error message is shown that no driver could be loaded. Could this be a packaging bug as in bug 270760? (I use openSUSE Leap 42.1)

-- Backtrace (Reduced):
#6  0x00007fe810477fc0 in sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:44
#7  0x00007fe80bb41b24 in PyThread_acquire_lock (lock=0x0, waitflag=waitflag@entry=1) at Python/thread_pthread.h:324
#8  0x00007fe80bb72660 in new_threadstate (interp=0x0, init=init@entry=1) at Python/pystate.c:201
#9  0x00007fe80ba8c2c8 in PyThreadState_New (interp=<optimized out>) at Python/pystate.c:213
#10 0x00007fe80bb72b72 in PyGILState_Ensure () at Python/pystate.c:600
Comment 3 Andrew Crouthamel 2018-11-01 13:55:59 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-16 11:31:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-12-01 03:46:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!