Bug 136308 - kontact crashes on startup
Summary: kontact crashes on startup
Status: CLOSED NOT A BUG
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 19:35 UTC by Thomas Reitelbach
Modified: 2008-11-02 20:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kcrash report from 2008-10-26 (1.84 KB, application/octet-stream)
2008-10-26 09:00 UTC, Mathias D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Reitelbach 2006-10-25 19:35:17 UTC
Version:           recent SVN branch (using KDE Devel)
Installed from:    Compiled sources
Compiler:          GCC 3.4.1 
OS:                Linux

Yesterday I updated my complete KDE from SVN branches/KDE/3.5. Since then kontact crashes on startup. All applications like kmail, korganizer, knotes, start fine if they are run seperately, but kontact crashes.
Sometimes kontact is able to display the summary view before it crashes, sometimes it crashes before any window appears.

I can't do anything more, please see the backtrace attached (with --enable-debug!)

Please don't hesitate to contact me for further details if needed.

Thanks,
Thomas Reitelbach
Comment 1 Thomas Reitelbach 2006-10-25 19:36:21 UTC
tr:~$ gdb kontact
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run --nofork
Starting program: /usr/local/kde/bin/kontact --nofork
[Thread debugging using libthread_db enabled]
[New Thread -1241272208 (LWP 19281)]
Qt: Locales not supported on X server
[New Thread -1256719440 (LWP 19284)]
[New Thread -1265112144 (LWP 19285)]
[New Thread -1273504848 (LWP 19286)]
[New Thread -1281897552 (LWP 19287)]
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
ConditionalOffset: 1.0.106, condition=0
Date is a 7
ConditionalOffset: 6.0.106, condition=0
Date is a 5
ConditionalOffset: 1.4.106, condition=0
Date is a 1
ConditionalOffset: 3.9.106, condition=0
Date is a 2
ConditionalOffset: 31.9.106, condition=0
Date is a 2
ConditionalOffset: 1.10.106, condition=0
Date is a 3
ConditionalOffset: 24.11.106, condition=0
Date is a 7
ConditionalOffset: 25.11.106, condition=0
Date is a 1
ConditionalOffset: 31.11.106, condition=0
Date is a 7
ConditionalOffset: 1.0.106, condition=0
Date is a 7
ConditionalOffset: 6.0.106, condition=0
Date is a 5
ConditionalOffset: 1.4.106, condition=0
Date is a 1
ConditionalOffset: 3.9.106, condition=0
Date is a 2
ConditionalOffset: 31.9.106, condition=0
Date is a 2
ConditionalOffset: 1.10.106, condition=0
Date is a 3
ConditionalOffset: 24.11.106, condition=0
Date is a 7
ConditionalOffset: 25.11.106, condition=0
Date is a 1
ConditionalOffset: 31.11.106, condition=0
Date is a 7
WeaverThreadLogger: thread (ID: 4) suspended.
WeaverThreadLogger: thread (ID: 3) suspended.
WeaverThreadLogger: thread (ID: 2) suspended.
WeaverThreadLogger: thread (ID: 1) suspended.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1241272208 (LWP 19281)]
0xb69f2e0b in QString::QString () from /usr/lib/qt336-qtcopy/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 5 (Thread -1281897552 (LWP 19287)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb397ca08 in ?? ()
No symbol table info available.
#2  0x00000004 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0xb627a762 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#5  0xb69bd083 in QWaitCondition::wait () from /usr/lib/qt336-qtcopy/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb7f2f40b in KPIM::ThreadWeaver::Weaver::applyForWork (this=0x83c4278, th=0x83dd7f8, previous=0x0)
    at /src/kde/branches/KDE/3.5/kdepim/libkdepim/weaver.cpp:519
        rc = (class KPIM::ThreadWeaver::Job *) 0x0
#7  0xb7f2ef2d in KPIM::ThreadWeaver::Thread::run (this=0x83dd7f8)
    at /src/kde/branches/KDE/3.5/kdepim/libkdepim/weaver.cpp:215
        job = (class KPIM::ThreadWeaver::Job *) 0x0
#8  0xb66989dc in QThreadInstance::start () from /usr/lib/qt336-qtcopy/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb627810b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0xb611685a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 4 (Thread -1273504848 (LWP 19286)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb417da08 in ?? ()
No symbol table info available.
#2  0x00000004 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Comment 2 Will Stephenson 2006-10-28 21:27:10 UTC
Almost certainly this is caused by mixed up libraries.  Make sure your kde install prefix is clean before upgrading.  If you can reproduce with a clean build, reopen the report.
Comment 3 Thomas Reitelbach 2006-10-30 17:08:43 UTC
I can reproduce this bug with a certainly clean build:

I completely removed QT and the complete KDE installation and installed everything from scratch, but still get the same backtrace.

i figured that this crash only happens when i enable kmail groupware functionality in the options dialog of kmail. i have two accounts in my kmail with groupware folders.
Each time kontact crashes it duplicates calendar items in the calendar groupware folders. in addition many mails suddenly appear in the calendar folder, which are shown with unknown sender.

This configuration did work for several months without any problems with previous KDE releases, but somehow it now crashes with recent builds.
Comment 4 Thomas Reitelbach 2006-10-30 20:56:37 UTC
This is funny, after i removed and re-added the groupware folder configuration it does not crash anymore.
now i can't reproduce the crash anymore :-/
Comment 5 Mathias D 2008-10-26 09:00:04 UTC
Created attachment 28150 [details]
Kcrash report from 2008-10-26
Comment 6 Thomas Reitelbach 2008-11-02 20:16:15 UTC
For me the backtrace from Mathias seems completely unrelated to mine (which was about kontact/kmail and workgroup configuration). Mathias' backtrace crashes within akregator (AFAICT). Also we are using a completely different Version of KDE.

Mathias: You should create a NEW bugreport instead of "hijacking" this one. Please add all relevant information to it (hints to reproduce your crash etc.).

By the way, I can no longer reproduce the original bug and will now close it without further action.