Bug 185180 - KOrganizer crashes on exit
Summary: KOrganizer crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-21 23:38 UTC by Axel Schwank
Modified: 2009-03-13 19:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Calendar resources (175.14 KB, image/png)
2009-02-22 18:18 UTC, Axel Schwank
Details
Valgrind report (7.74 KB, text/plain)
2009-03-04 16:57 UTC, Antonio Rojas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Schwank 2009-02-21 23:38:33 UTC
Version:           Version 4.2.1 (using KDE 4.2.0)
OS:                Linux
Installed from:    SuSE RPMs

KOrganizer crahes when leaving the application - that's it.

Version 4.2.1
under KDE 4.2.00 (KDE 4.2.0) "release 102"
on openSuSE 11.1

Backtrace from the KDE crash manager:

Anwendung: KOrganizer (korganizer), Signal SIGABRT
[Current thread is 1 (Thread 0xb4da0700 (LWP 7721))]

Thread 1 (Thread 0xb4da0700 (LWP 7721)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5dcb990 in raise () from /lib/libc.so.6
#8  0xb5dcd2c8 in abort () from /lib/libc.so.6
#9  0xb5e0d683 in ?? () from /lib/libc.so.6
#10 0xb5e0eedb in free () from /lib/libc.so.6
#11 0xb5feeec1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#12 0x08054227 in ?? ()
#13 0xb7b2a66a in ?? () from /usr/lib/libkde3support.so.4
#14 0xb6bafefb in qt_call_post_routines() () from /usr/lib/libQtCore.so.4
#15 0xb614fc18 in QApplication::~QApplication() () from /usr/lib/libQtGui.so.4
#16 0xb7d7619e in KApplication::~KApplication() () from /usr/lib/libkdeui.so.5
#17 0xb7d7d318 in KUniqueApplication::~KUniqueApplication() () from /usr/lib/libkdeui.so.5
#18 0x0805116a in _start ()
Comment 1 Sergio Martins 2009-02-21 23:44:12 UTC
Can you install debug symbols and paste a new report?

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks
Comment 2 Axel Schwank 2009-02-22 00:50:12 UTC
Ok, I installed all debuginfo packages that seemed to be related, and got one more frame (#13) bit still not #12.
Got any idea what package that could be?

Anwendung: KOrganizer (korganizer), Signal SIGABRT
[Current thread is 1 (Thread 0xb4eda700 (LWP 9067))]

Thread 1 (Thread 0xb4eda700 (LWP 9067)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5f05990 in raise () from /lib/libc.so.6
#8  0xb5f072c8 in abort () from /lib/libc.so.6
#9  0xb5f47683 in ?? () from /lib/libc.so.6
#10 0xb5f48edb in free () from /lib/libc.so.6
#11 0xb6128ec1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#12 0x08054227 in ?? ()
#13 0xb7c6466a in K3StaticDeleterPrivate::deleteStaticDeleters () at /usr/src/debug/kdelibs-4.2.0/kde3support/kdecore/k3staticdeleter.cpp:56
#14 0xb6ce9efb in qt_call_post_routines() () from /usr/lib/libQtCore.so.4
#15 0xb6289c18 in QApplication::~QApplication() () from /usr/lib/libQtGui.so.4
#16 0xb7eb019e in ~KApplication (this=0xbfbdb0a0) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:928
#17 0xb7eb7318 in ~KUniqueApplication (this=0xbfbdb0a0) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kuniqueapplication.cpp:372
#18 0x0805116a in _start ()
Comment 3 Sergio Martins 2009-02-22 01:28:43 UTC
What resource are you using?
Comment 4 Axel Schwank 2009-02-22 11:44:44 UTC
Ahem, what do you mean by "resource" ?
Comment 5 Sergio Martins 2009-02-22 13:32:50 UTC
Local ical file, remote file, eGroupWare or akonadi etc.

http://img150.imageshack.us/img150/7573/21295357.png
Comment 6 Axel Schwank 2009-02-22 18:18:15 UTC
Created attachment 31547 [details]
Calendar resources
Comment 7 Axel Schwank 2009-02-22 18:21:03 UTC
Clandar resources are: file and birthdays (see attachment),
contacts resource is file, notes resource is files, reminder resource is none.
Comment 8 Sergio Martins 2009-02-22 18:30:49 UTC
I have no clue. Maybe you could install more debug packages until you have a full backtrace.
Comment 9 Axel Schwank 2009-03-01 17:37:20 UTC
I installed *all* available debug packages now, but unfortunately, there's still no debug symbol for frame #12.
Comment 10 Antonio Rojas 2009-03-04 11:39:41 UTC
Reproductible 100% of the times on Mandriva Cooker and Fedora 10. My calendar resources are 1 remote .ics calendar (google) and Birthdays. Backtrace:

Aplicación: KOrganizer (korganizer), señal SIGABRT
[Current thread is 1 (Thread 0xb4b9b6d0 (LWP 6531))]

Thread 2 (Thread 0xb2dc2b90 (LWP 6533)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb651bf72 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb6668944 in pthread_cond_timedwait () from /lib/i686/libc.so.6
#3  0xb721390f in QWaitCondition::wait (this=0xa016c70, mutex=0xa016c6c, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb720880a in QThreadPoolThread::run (this=0x9d61bd8) at concurrent/qthreadpool.cpp:140
#5  0xb721282f in QThreadPrivate::start (arg=0x9d61bd8) at thread/qthread_unix.cpp:189
#6  0xb6518315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb665b26e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb4b9b6d0 (LWP 6531)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb65a8c00 in raise () from /lib/i686/libc.so.6
#8  0xb65aa668 in abort () from /lib/i686/libc.so.6
#9  0xb65e9f73 in ?? () from /lib/i686/libc.so.6
#10 0x00000028 in ?? ()
#11 0xb6787ef1 in operator delete () from /usr/lib/libstdc++.so.6
#12 0xb65ebee5 in free () from /lib/i686/libc.so.6
#13 0xb6787ef1 in operator delete () from /usr/lib/libstdc++.so.6
#14 0x080540c3 in K3StaticDeleter<KOrg::StdCalendar>::destructObject (this=0x2) at /usr/include/k3staticdeleter.h:174
#15 0xb7ba3630 in K3StaticDeleterPrivate::deleteStaticDeleters () at /usr/src/debug/kdelibs-4.2.1/kde3support/kdecore/k3staticdeleter.cpp:56
#16 0xb730ec05 in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#17 0xb68fc14a in ~QApplication (this=0xbf85c4a0) at kernel/qapplication.cpp:985
#18 0xb7e01a4d in ~KApplication (this=0xbf85c4a0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:928
#19 0xb7e09018 in ~KUniqueApplication (this=0xbf85c4a0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kuniqueapplication.cpp:372
#20 0x080505b9 in main (argc=) at /usr/src/debug/kdepim-4.2.0/korganizer/main.cpp:58
Comment 11 Sergio Martins 2009-03-04 14:20:20 UTC
If you uncheck the birthday resource and close korganizer does it crash?
What if you uncheck only calendar, or both?
Comment 12 Antonio Rojas 2009-03-04 14:31:40 UTC
All resources unchecked, and even removed -> still crashes
Comment 13 Sergio Martins 2009-03-04 15:43:25 UTC
A valgrind report would be useful.

1. Install valgrind
2. run: valgrind korganizer --nofork &> report.txt
3. Close it (after it started korganizer)
4. Attach report.txt here

Thanks
Comment 14 Antonio Rojas 2009-03-04 16:57:21 UTC
Created attachment 31772 [details]
Valgrind report
Comment 15 Antonio Rojas 2009-03-04 17:36:22 UTC
Not sure if it's relevant, but immediately before the crash I get this message in console:
korganizer(28823)/kresources KRES::Resource::close: ERROR: Resource "Calendario predefinido"  closed more times than previously opened
Comment 16 Axel Schwank 2009-03-13 14:15:24 UTC
Is solved for me after updating to KDE 4.2.1 "release 103".
If you can confirm this, I think this report can be closed.
Comment 17 Sergio Martins 2009-03-13 19:12:35 UTC
Ok, closing then, thanks for the feedback.

I also can't reproduce with KDE4.2.1, I guess it was fixed.

Reopen if necessary.