Bug 281703 - kplato crashes at closure after OK-ing saving unsaved changes
Summary: kplato crashes at closure after OK-ing saving unsaved changes
Status: RESOLVED FIXED
Alias: None
Product: calligraplan
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 17:33 UTC by Frank Vermunt
Modified: 2012-03-01 13:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.15 KB, text/plain)
2011-10-03 16:18 UTC, Diego Mauricio
Details
New crash information added by DrKonqi (7.28 KB, text/plain)
2012-01-30 09:50 UTC, Florian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Vermunt 2011-09-09 17:33:25 UTC
Application: kplato (0.10.3)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I closed kplato, it then asked whether to save changes, after save it crashed.

-- Backtrace:
Application: KPlato (kplato), signal: Segmentation fault
[Current thread is 1 (Thread 0xb787c940 (LWP 2214))]

Thread 3 (Thread 0xb3dc6b70 (LWP 2218)):
#0  0x003f85f1 in pthread_mutex_lock (mutex=0x9d36a6c) at forward.c:182
#1  0x03a2a5a8 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x03a2bdde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03a2c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x09ad4577 in QEventDispatcherGlib::processEvents (this=0x9dceb38, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x09aa6289 in QEventLoop::processEvents (this=0xb3dc6280, flags=...) at kernel/qeventloop.cpp:149
#6  0x09aa6522 in QEventLoop::exec (this=0xb3dc6280, flags=...) at kernel/qeventloop.cpp:201
#7  0x099b02a0 in QThread::exec (this=0x9f80bb0) at thread/qthread.cpp:492
#8  0x09a87fdb in QInotifyFileSystemWatcherEngine::run (this=0x9f80bb0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x099b2da2 in QThreadPrivate::start (arg=0x9f80bb0) at thread/qthread_unix.cpp:320
#10 0x092d9e99 in start_thread (arg=0xb3dc6b70) at pthread_create.c:304
#11 0x003ea73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb165eb70 (LWP 2221)):
#0  0x002af416 in __kernel_vsyscall ()
#1  0x092de48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x003f83fd in __pthread_cond_wait (cond=0x2a0f2b0, mutex=0x2a0f298) at forward.c:139
#3  0x028f6817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x2a0a1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x028f6851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x2a0a1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x092d9e99 in start_thread (arg=0xb165eb70) at pthread_create.c:304
#6  0x003ea73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb787c940 (LWP 2214)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x09abefd6 in QObject::~QObject (this=0x9c6fdd0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:861
#9  0x09abf5b2 in QObject::~QObject (this=0x9c6fdd0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:964
#10 0x075ca604 in QDBusConnectionPrivate::deleteYourself (this=0x9c6fdd0) at qdbusintegrator.cpp:1028
#11 0x075c3770 in QDBusConnection::~QDBusConnection (this=0x9c79ef8, __in_chrg=<value optimized out>) at qdbusconnection.cpp:294
#12 0x075e537f in ~QDBusAbstractInterfacePrivate (this=0x9c79ea8, __in_chrg=<value optimized out>) at qdbusabstractinterface_p.h:87
#13 QDBusAbstractInterfacePrivate::~QDBusAbstractInterfacePrivate (this=0x9c79ea8, __in_chrg=<value optimized out>) at qdbusabstractinterface_p.h:87
#14 0x09abf3f0 in cleanup (this=0x9c79dd0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=0x9c79dd0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0x9c79dd0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:818
#17 0x075e05e8 in ~QDBusAbstractInterfaceBase (this=0x9c79dd0, __in_chrg=<value optimized out>) at qdbusabstractinterface.h:68
#18 QDBusAbstractInterface::~QDBusAbstractInterface (this=0x9c79dd0, __in_chrg=<value optimized out>) at qdbusabstractinterface.cpp:327
#19 0x075c6f98 in QDBusConnectionInterface::~QDBusConnectionInterface (this=0x9c79dd0, __in_chrg=<value optimized out>) at qdbusconnectioninterface.cpp:177
#20 0x075c6fc2 in QDBusConnectionInterface::~QDBusConnectionInterface (this=0x9c79dd0, __in_chrg=<value optimized out>) at qdbusconnectioninterface.cpp:179
#21 0x09abab87 in QObjectPrivate::deleteChildren (this=0x9c6fe50) at kernel/qobject.cpp:1964
#22 0x09abf39f in QObject::~QObject (this=0x9c6fdd0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#23 0x075ced13 in QDBusConnectionPrivate::~QDBusConnectionPrivate (this=0x9c6fdd0, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:998
#24 0x075cf062 in QDBusConnectionPrivate::~QDBusConnectionPrivate (this=0x9c6fdd0, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:1016
#25 0x075ca604 in QDBusConnectionPrivate::deleteYourself (this=0x9c6fdd0) at qdbusintegrator.cpp:1028
#26 0x075c3770 in QDBusConnection::~QDBusConnection (this=0x9c6fc90, __in_chrg=<value optimized out>) at qdbusconnection.cpp:294
#27 0x075c666f in ~QDBusDefaultConnection (this=0x762b630, __in_chrg=<value optimized out>) at qdbusconnection.cpp:977
#28 QGlobalStaticDeleter<QDBusDefaultConnection>::~QGlobalStaticDeleter (this=0x762b630, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1822
#29 0x00349a6f in __run_exit_handlers (status=0, listp=0x477324, run_list_atexit=true) at exit.c:78
#30 0x00349acf in exit (status=0) at exit.c:100
#31 0x00330e3f in __libc_start_main (main=0x80485a0 <_start+208>, argc=1, ubp_av=0xbfc5e614, init=0x80485c0 <__libc_csu_init>, fini=0x8048620 <__libc_csu_fini>, rtld_fini=0xacba50, stack_end=0xbfc5e60c) at libc-start.c:258
#32 0x080484f1 in _start ()

This bug may be a duplicate of or related to bug 268695.

Possible duplicates by query: bug 269963, bug 268695, bug 263679.

Reported using DrKonqi
Comment 1 Diego Mauricio 2011-10-03 16:18:32 UTC
Created attachment 64171 [details]
New crash information added by DrKonqi

kplato (0.10.3) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
The program crash while i was loking for some program, After I press OK unsave changes.

-- Backtrace (Reduced):
#8  0x04bb7fd6 in QObject::~QObject (this=0x9e72820, __in_chrg=<value optimized out>) at kernel/qobject.cpp:861
#9  0x04bb85b2 in QObject::~QObject (this=0x9e72820, __in_chrg=<value optimized out>) at kernel/qobject.cpp:964
#10 0x05c13604 in QDBusConnectionPrivate::deleteYourself (this=0x9e72820) at qdbusintegrator.cpp:1028
#11 0x05c0c770 in QDBusConnection::~QDBusConnection (this=0x9e82150, __in_chrg=<value optimized out>) at qdbusconnection.cpp:294
#12 0x05c2e37f in ~QDBusAbstractInterfacePrivate (this=0x9e82100, __in_chrg=<value optimized out>) at qdbusabstractinterface_p.h:87
Comment 2 Florian 2012-01-30 09:50:55 UTC
Created attachment 68331 [details]
New crash information added by DrKonqi

kplato (0.10.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

I wanted to close Kplato. As there were some unsaved changes Kplato asked me if I want to save them. After clicking on "OK", the application crashed

-- Backtrace (Reduced):
#7  0x00007f789bae6f13 in QObject::~QObject (this=0x1702f50, __in_chrg=<optimized out>) at kernel/qobject.cpp:861
#8  0x00007f789bae7539 in QObject::~QObject (this=0x1702f50, __in_chrg=<optimized out>) at kernel/qobject.cpp:964
#9  0x00007f78989c2750 in ~QDBusAbstractInterfacePrivate (this=0x16b0210, __in_chrg=<optimized out>) at qdbusabstractinterface_p.h:87
#10 QDBusAbstractInterfacePrivate::~QDBusAbstractInterfacePrivate (this=0x16b0210, __in_chrg=<optimized out>) at qdbusabstractinterface_p.h:87
#11 0x00007f789bae739b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
Comment 3 Dag Andersen 2012-03-01 13:55:58 UTC
DBus registration was done twice. I don't know if that was the cause of the crash, but I have not seen any crashes since it was fixed.