[Kde-pim] D-Pointer problem

Tom Albers tomalbers at kde.nl
Sat May 31 18:22:47 BST 2008


Hi,

I've added d-pointers for two classes in kpimidentities, but i can not get it to work properly. The stuff compiles ok, but as soon as i open the config from mailody it crashes in the identititymanager. 

If i revert the patch for the signature files, it won't crash. This is all with recompilation of mailody in between. I've spent some hours in trying to fix it, but I failed. 

Maybe someone with 'fresh' eyes, is willing to try the patch, see if it crashes too and if so spot the error I made.

Diff is attached, please note that 'patch' did not make a very readable diff this time.

Best,

Toma

[KCrash handler]
#6  QString::operator= (this=0x8740d9c, other=@0xbfe4cca0)
    at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:134
#7  0xb78adeea in KPIMIdentities::Signature::readConfig (this=0x8749200, 
    config=@0xbfe4cd98)
    at /home/toma/kde/kdepimlibs/kpimidentities/signature.cpp:235
#8  0xb78a99f2 in KPIMIdentities::Identity::readConfig (this=0x8749200, 
    config=@0xbfe4cd98)
    at /home/toma/kde/kdepimlibs/kpimidentities/identity.cpp:98
#9  0xb78a338e in KPIMIdentities::IdentityManager::Private::readConfig (
    this=0x8734c98, config=0x87400f0)
    at /home/toma/kde/kdepimlibs/kpimidentities/identitymanager.cpp:129
#10 0xb78a5404 in IdentityManager (this=0x873fca0, readonly=false, 
    parent=0x0, name=0x80d6991 "IdentityManager")
    at /home/toma/kde/kdepimlibs/kpimidentities/identitymanager.cpp:256
#11 0x080aef17 in Mailody::Global::identityManager ()
    at /home/toma/kde/mailody/src/global.cpp:133
#12 0x080786ae in Mailody::SetupIdentities::readSettings (this=0x85bf468)
    at /home/toma/kde/mailody/src/setupidentities.cpp:360
..
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list