Version: 1.8 (using KDE KDE 3.4.0) Installed from: Unspecified Linux Compiler: gcc-Version 3.3.1 (SuSE Linux) OS: Linux KMail crashes if I have ldapkio resource enabled. I can reproduce this crash if start up kmail, navigate through random imap folders and displaying random messages. After several operations it crashes. It seems not to crash if I stay in inbox. It doesn't seem to matter if the "From" is in ldap or not. Attached are the backtrace and valgrind trace.
Created attachment 10593 [details] valgrind trace produced with: valgrind --tool=addrcheck --num-callers=50 kmail --nofork 2>&1 | tee log
Created attachment 10594 [details] kmail backtrace kdepim is compiled with --enable-debug=full
Very good valgrind log, thanks. ==14774== by 0x39945849: KABC::ResourceLDAPKIO::enter_loop() (in /opt/kdehead/lib/libkabc_ldapkio.so.1.0.0) WAHHH. Using enter_loop is a very very bad idea, in case anyone still had doubts about that. If ldapkio's loading is async, kabc should load it async, instead of having to emulate sync from async using the very dangerous enter_loop. Tobias, is this possible?
It this allso what happenens when kmail crashes when entering a recipient in a new email?
Hi! I Have the same problem. Crashing of Kmail when adding a recipient to the TO: or CC: or BCC: fields, and during the LDAP lookup. My Kmail version is 1.12.1 on KDE 4.3.1, and the previous version had'nt this problem....
For me it is fixed in 4.3.4
Please close this bug.
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding