Bug 141719

Summary: using emoticons in kopete crashes other MSN clients like amsn or kmess
Product: [Unmaintained] kopete Reporter: Rinse De Vries <rinse>
Component: MSN PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 0.12.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rinse De Vries 2007-02-15 02:06:33 UTC
Version:           0.12.3 (using KDE 3.5.5 "release 45.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.21-0.25-default

Hi,

for some reason, since januari kopete crashes other msn clients when using emoticons in the message.
I noticed it with amsn first and blamed that application, but now i experience the same with kopete vs kmess...

chatting with msn messenger or kopete users is not problem.

this behavior is confirmed by two other users of kopete/kmess/amsn, all using suse 10.1 or 10.2 with kde 3.5 and latest amsn or kmess...

Is it a bug in kopete or are kmess and amsn to blame?
Comment 1 Diederik van der Boor 2007-07-15 22:37:36 UTC
Something I can add, in KMess we just fixed this. It appears Kopete sends another \t at the end of the list, making the clients think there is another emoticon. So Kopete is sending malformed messages.

The crash happened in KMess because we used a Qt STL-style iterator;
> for( it = list.begin(); it != list.end(); ++it )
with another "++it" to jump 2 steps in the list at the time.
Comment 2 Bram Schoenmakers 2007-08-11 19:10:26 UTC
Can you produce a backtrace of the crash please? Please read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports for more info.
Comment 3 Rinse De Vries 2007-08-11 21:12:32 UTC
Well, it is not kopete that is crashing, but the competition, like kmess and amsn.
As Diederik pointed out, the other clients crash because kopete is sending malformed messages.
Comment 4 Stef Louwers 2008-07-07 17:50:34 UTC
No problem between kde4 (0.50.1) and a recent amsn, and KMess is also reported to be fixed.

Can be closed.
Comment 5 Matt Rogers 2008-07-10 05:43:50 UTC
Working in KDE 4.0 (and I'm assuming KDE 4.1)