Version: 1.5.9 (using KDE 3.1.92 (alpha2, CVS >= 20030921), Gentoo) Compiler: gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice) OS: Linux (i686) release 2.4.22 Kmail crashes whenever i attempt to send a mail to a distribution list defined in kaddressbook. If i enter the same contacts individually, theres no crash. This is using HEAD from about 2 days ago.
Please fetch us the backtrace for this crash, with debugging symbols if possible. (you're building from sources, so it's a matter of running adddebug and rebuilding)
Reported in IRC: <mkoebele> from /opt/kde3/lib/libkdecore.so.4 <mkoebele> #2 0x414011ec in __pthread_sighandler () from /lib/libpthread.so.0 <mkoebele> #3 <signal handler called> <mkoebele> #4 0x401798e6 in KABC::DistributionList::emails() const () <mkoebele> from /opt/kde3/lib/libkabc.so.1 <mkoebele> #5 0x429c3521 in KabcBridge::expandDistributionList(QString const&) () <mkoebele> from /opt/kde3/lib/kde3/libkmailpart.so.1 <mkoebele> #6 0x4287d841 in KMMessage::expandAliases(QString const&) () <mkoebele> from /opt/kde3/lib/kde3/libkmailpart.so.1 <mkoebele> #7 0x4292f1ad in KMComposeWin::doSend(int, bool) () <mkoebele> from /opt/kde3/lib/kde3/libkmailpart.so.1 <mkoebele> #8 0x429302ee in KMComposeWin::slotSendNow() () <mkoebele> from /opt/kde3/lib/kde3/libkmailpart.so.1 <mkoebele> #9 0x429095ad in KMComposeWin::qt_invoke(int, QUObject*) () <mkoebele> from /opt/kde3/lib/kde3/libkmailpart.so.1
Hi Ricardo, could you test it please with CVS HEAD again? There was a fix commited yesterday, maybe it fixes your problem too. Ciao, Tobias
Tobias: No, i recompiled kmail and it still crashes. The backtrace follows.
Created attachment 2574 [details] Kmail backtrace
Hi Ricardo, could you please recompile also kdelibs with debug information? Ciao, Tobias
Created attachment 2594 [details] Kmail backtrace (libs, base, pim with debug info) I'm not really compiling from source. I'm using gentoos kdecvs ebuilds but i changed the kde.eclass to run adddebug -r -n after configure so i should have kdelibs+kdebase+kdepim compiled with debug info now.
Hi Ricardo, how uptodate is the gentoo kde-cvs version? Ciao, Tobias
As up to date the CVS HEAD is :) It goes and checks out the source before building.
Subject: kdepim/kmail CVS commit by tokoe: You have to pass the correct name to the distribution list manager, otherwise he will return a null-pointer ;) This fixes bug #64889 CCMAIL:64889-done@bugs.kde.org M +1 -1 kmaddrbook.cpp 1.73 --- kdepim/kmail/kmaddrbook.cpp #1.72:1.73 @@ -118,5 +118,5 @@ QString KabcBridge::expandDistributionLi it != listNames.end(); ++it) { if ( (*it).lower() == lowerListName ) { - QStringList addressList = manager.list( lowerListName )->emails(); + QStringList addressList = manager.list( listName )->emails(); return addressList.join( ", " ); }
The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.