Bug 55392 - Kopete crashs when sending message without connection
Summary: Kopete crashs when sending message without connection
Status: RESOLVED DUPLICATE of bug 55385
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-01 22:35 UTC by Tom Gufler
Modified: 2003-03-02 01:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Gufler 2003-03-01 22:35:14 UTC
Version:           0.6.1a (using KDE 3.1.0)
Installed from:    Gentoo
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.20-ck4

I'm using Kopete 0.6.1a with the jabber plugin. When I start kopete (from kmenu), open a contact and send a message to that contact kopete crashs. This only happens when I forget to connect. Kopete should e.g. not allow me to send a message when I'm not connected but not crash.

(no debugging symbols found)...(no debugging symbols found)...
0x414c5a99 in wait4 () from /lib/libc.so.6
#0  0x414c5a99 in wait4 () from /lib/libc.so.6
#1  0x41541444 in __DTOR_END__ () from /lib/libc.so.6
#2  0x413a39c3 in waitpid () from /lib/libpthread.so.0
#3  0x40a0ad3b in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#4  0x4209993f in JabberContact::userId() const ()
   from /usr/lib/kde3/kopete_jabber.so
Comment 1 Till Gerken 2003-03-01 23:24:15 UTC

*** This bug has been marked as a duplicate of 55385 ***
Comment 2 Boyd Faulkner 2003-03-01 23:52:30 UTC
55385 did not exist in Kopete 0.6.1a.  Also, the backtrace is different.  The difference in symptom is  
that in 55385, the crash occurs in libkopete and when the contact is opening, not when a message is 
being sent. 
Comment 3 Till Gerken 2003-03-02 01:12:37 UTC
It both seems to be related to a flaw in the API which allows userId() / myContact() 
return null values when offline.