Version: 4.0.4 (using KDE 4.0.4) Installed from: Gentoo Packages Compiler: gcc 4.2.3/4 OS: Linux Pressing on "Send File" will crash Kopete 4.0.4 Here the crash log: http://nopaste.de/p/aTLZgS0L7
Kopete Version 0.50.1 Debug: kopete(4961)/kopete (oscar) OscarContact::sendFile: file: ' KUrl("") ' ' "" ' size 0 KCrash: Application 'kopete' crashing... sock_file=/home/kuch3n/.kde/socket-Organic/kdeinit4__0
The only thing that can crash between the "OscarContact::sendFile" debug line and next one is KFileDialog so I suspect that the KFileDialog is crashing or your installation is somehow broken. Sadly the backtrace doesn't have any information. If you can reproduce the crash then please run kopete in gdb like this: gdb --args kopete --nofork and when it crashes go to console where you run the gdb and type "bt" and press enter. This should show backtrace.
I got this: http://nopaste.de/p/acCHOvpkw
I recompiled kdelibs and kopete to debug kopete: http://nopaste.de/p/aGfqrES4y
Created attachment 25042 [details] Crash fix Hi can you apply this patch to kdelibs and recompile it. It should fix the crash.
http://bugs.kde.org/show_bug.cgi?id=162956#c5
I assume that the fix helped as you close the bug. Next time please don't close a bug when the fix wasn't committed to SVN, the bug report will be closed automatically when it is committed.
SVN commit 815383 by rjarosz: Can't use the itEnd iterator if we erase item from list, because the iterator is invalid. BUG: 162956 M +2 -6 kprotocolcombo.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=815383
SVN commit 815384 by rjarosz: Backport commit 815383. Can't use the itEnd iterator if we erase item from list, because the iterator is invalid. CCBUG: 162956 M +2 -6 kprotocolcombo.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=815384