Bug 258338

Summary: accountwizard crashed in KPIMIdentities::Identity::setProperty
Product: [Applications] kdepim Reporter: Aaron Williams <aaronw>
Component: wizardsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel, robert
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aaron Williams 2010-11-30 03:55:19 UTC
Application: accountwizard (0.1)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I migrated from KDE PIM (kmail, akanadi, etc.) from 4.4.7(?) in OpenSUSE to 4.5 and Akonadi started crashing when starting up. It seems to be having problems with IMAP when connecting to an exchange server.

The crash can be reproduced every time.

-- Backtrace:
Application: Account Assistant (accountwizard), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f10cbec0760 (LWP 19386))]

Thread 2 (Thread 0x7f10b6caa710 (LWP 19392)):
#0  0x00007f10c70d139c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f10c6941af4 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f10c6941b29 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f10c70cca4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f10c7e0582d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f10cbec0760 (LWP 19386)):
[KCrash Handler]
#6  detach (this=0x0, key=..., value=...) at /usr/include/QtCore/qhash.h:299
#7  insert (this=0x0, key=..., value=...) at /usr/include/QtCore/qhash.h:754
#8  KPIMIdentities::Identity::setProperty (this=0x0, key=..., value=...) at /usr/src/debug/kdepimlibs-4.5.80/kpimidentities/identity.cpp:475
#9  0x00007f10ca47e5c7 in KPIMIdentities::Identity::setIdentityName (this=0x0, name=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/kpimidentities/identity.cpp:486
#10 0x000000000044a2b5 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2011-09-01 17:59:08 UTC
still valid ?
Comment 2 Robert Marmorstein 2012-03-07 05:28:41 UTC
Looks to me like the probelm is with whatever is calling setProperty not the setProperty call itself (notice that the "this" pointer is NULL, which should never happen if called from code that correctly creates an Identity object).  Unfortunately, the backtrace doesn't go back quite far enough to tell us why this happened in the first place.  

Aaron -- can you still trigger this bug?
Comment 3 Laurent Montel 2012-03-07 07:10:45 UTC
it's a very old kdepim so we need to know if it works now in new kdepim*
Comment 4 Aaron Williams 2012-03-07 20:36:06 UTC
I am not seeing this problem now with a later build.
Comment 5 Laurent Montel 2012-03-08 07:09:19 UTC
ok I close it