Bug 60396 - contact move to top level crashes kopete
Summary: contact move to top level crashes kopete
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 0.6.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-26 21:26 UTC by Yeti
Modified: 2003-07-13 17:32 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 Yeti 2003-06-26 21:26:41 UTC
Version:           0.6.2 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.21

When trying to move a ICQ contact from group "General" with Kopete's "Move To" right-click menu item to "Top Level", Kopete crashes.
Comment 1 Olivier Goffart 2003-06-30 22:58:15 UTC
I am unable to reproduce this. 
Do you have a backtrace, or something which can help us? 
Comment 2 Yeti 2003-07-02 08:14:46 UTC
Subject: Re:  contact move to top level crashes kopete

Olivier Goffart wrote:

 > ------- Additional Comments From ogoffart@tiscalinet.be  2003-06-30 
22:58 -------
 > I am unable to reproduce this.
 > Do you have a backtrace, or something which can help us?

The backtrace is attached. Hope it's not corrupted as I'm posting this
from Windoze (I "forgot" the message at work).

Additional info about my machine (maybe it's helpful):

Software: Slackware Linux 9.0, kernel 2.4.21, XFree86 4.3.0 + nVidia
driver, KDE 3.1.0 (all 'stock')
Hardware: Celeron 566@800MHz (no problems with stability), 352MB RAM,
nVidia GeForce 2 MX400 64MB, Promise ATA100 TX2 controller, 40GB HDD.

Yeti
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 734)]
[New Thread 32769 (LWP 780)]

0x41482f29 in wait4 () from /lib/libc.so.6
#0  0x41482f29 in wait4 () from /lib/libc.so.6
#1  0x41503234 in __DTOR_END__ () from /lib/libc.so.6
#2  0x412a8103 in waitpid () from /lib/libpthread.so.0
#3  0x409f6c4d in KCrash::defaultCrashHandler(int) ()
   from /opt/kde/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x00000011 in ?? ()
#6  0x407c1912 in KSelectAction::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkdeui.so.4
#7  0x407c1ebd in KListAction::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkdeui.so.4
#8  0x400968e0 in KopeteGroupListAction::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkopete.so.1
#9  0x40d659f9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#10 0x41044a32 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#11 0x40d7fd48 in QSignal::activate() ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#12 0x40d86ce3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#13 0x40d078c4 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#14 0x40d0708b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#15 0x4097bc69 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#16 0x40ce26c3 in QEventLoop::activateTimers() ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#17 0x40cbff48 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#18 0x40d1b766 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#19 0x40d1b608 in QEventLoop::exec() ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#20 0x40d07af1 in QApplication::exec() ()
   from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#21 0x0805df84 in KIconLoader::unknown() ()
#22 0x413eabb4 in __libc_start_main () from /lib/libc.so.6
Comment 3 Matt Rogers 2003-07-07 17:52:32 UTC
Can you provide a backtrace with debugging symbols? (This requires building kopete 
yourself and passing the --enable-debug=full parameter to configure). This will help us 
pinpoint the problem by telling us exactly where kopete crashes. 
Comment 4 Yeti 2003-07-07 22:00:47 UTC
Subject: Re:  contact move to top level crashes kopete

I recompiled kopete as suggested. Here's the backtrace:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New 
Thread 16384 (LWP 12245)]

0x4148df29 in wait4 () from /lib/libc.so.6
#0  0x4148df29 in wait4 () from /lib/libc.so.6
#1  0x4150e234 in __DTOR_END__ () from /lib/libc.so.6
#2  0x412b3103 in waitpid () from /lib/libpthread.so.0
#3  0x40a01c4d in KCrash::defaultCrashHandler(int) ()
    from /opt/kde/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x407c0b97 in KSelectAction::slotActivated() ()
    from /opt/kde/lib/libkdeui.so.4
#6  0x407cc912 in KSelectAction::qt_invoke(int, QUObject*) ()
    from /opt/kde/lib/libkdeui.so.4
#7  0x407ccebd in KListAction::qt_invoke(int, QUObject*) ()
    from /opt/kde/lib/libkdeui.so.4
#8  0x400a0fbe in KopeteGroupListAction::qt_invoke(int, QUObject*) ()
    from /opt/kde/lib/libkopete.so.1
#9  0x40d709f9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#10 0x4104fa32 in QSignal::signal(QVariant const&) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#11 0x40d8ad48 in QSignal::activate() ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#12 0x40d91ce3 in QSingleShotTimer::event(QEvent*) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#13 0x40d128c4 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#14 0x40d1208b in QApplication::notify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#15 0x40986c69 in KApplication::notify(QObject*, QEvent*) ()
    from /opt/kde/lib/libkdecore.so.4
#16 0x40ced6c3 in QEventLoop::activateTimers() ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#17 0x40ccaf48 in QEventLoop::processEvents(unsigned) ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#18 0x40d26766 in QEventLoop::enterLoop() ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#19 0x40d26608 in QEventLoop::exec() ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#20 0x40d12af1 in QApplication::exec() ()
    from /usr/lib/qt-3.1.2/lib/libqt-mt.so.3
#21 0x08060b85 in KIconLoader::unknown() ()
#22 0x413f5bb4 in __libc_start_main () from /lib/libc.so.6


Comment 5 Matt Rogers 2003-07-07 22:34:30 UTC
hmmm, the backtrace doesn't provide a whole lot of useful info. Can you run kopete from 
the command-line (in Konsole, for example) and paste the last 20 lines of output when it 
crashes? I'm starting to think that this a bug in something else that kopete triggers. 
Comment 6 Yeti 2003-07-08 18:38:51 UTC
Subject: Re:  contact move to top level crashes kopete

Okay, here's the output:

<snip>
yeti@cml:~$ kopete: ICQProtocol::Connect()
kopete: [ICQProtocol] status did not change, aborting statusChange()
kopete: [void ICQClientSocket::slotConnected()] called.
kopete: [void ICQClientSocket::slotConnected()] called.
kopete: [ICQProtocol] EVENT_GROUP_CHANGED; uin= 1638.
kopete: [ICQProtocol] EVENT_GROUP_CHANGED; uin= 3803.
kopete: [ICQProtocol] EVENT_GROUP_CHANGED; uin= 11490.
kopete: [ICQProtocol] EVENT_GROUP_CHANGED; uin= 0.
kopete: [ICQProtocol] START receivedContactlist() 
=============================================
kopete: Serverside Groups ===========================================
kopete: 'centericq' (1638)
kopete: 'General' (3803)
kopete: 'General2' (11490)
kopete: =============================================================
kopete: [ICQProtocol] END receivedContactlist() 
===============================================
kopete: [ICQProtocol] OUR status changed to 0
kopete: WARNING: 18:33:00 [WRN] List event 0001 not found
kopete: WARNING: 18:33:00 [WRN] Various event ID 0004 not found (A)
kdecore (KAction): WARNING: KActionCollection::KActionCollection( 
QObject *parent, const char *name, KInstance *instance )
kdecore (KAction): WARNING: KActionCollection::KActionCollection( 
QObject *parent, const char *name, KInstance *instance )
kopete: [virtual void ICQContact::removeFromGroup(KopeteGroup*)] 
displayName() = General
kopete: [virtual void ICQContact::removeFromGroup(KopeteGroup*)] DOING 
NOTHING

---------
...that's all, folks! :o(

Comment 7 Matt Rogers 2003-07-13 17:32:43 UTC
I'm unable to reproduce this with the current CVS version which become Kopete 0.7 
around the beginning of August. Thanks for the bug report!