Bug 182962 - kopete crashes as it starts
Summary: kopete crashes as it starts
Status: RESOLVED DUPLICATE of bug 192304
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 10:22 UTC by Mauro
Modified: 2009-06-17 22:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kopete log using valgrind (78.52 KB, text/plain)
2009-02-06 15:28 UTC, marco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro 2009-02-03 10:22:29 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

Applicazione: Kopete (kopete), segnale SIGABRT
[Current thread is 0 (LWP 10623)]

Thread 3 (Thread 0xac7beb90 (LWP 10627)):
#0  0xb80d1424 in __kernel_vsyscall ()
#1  0xb62e7167 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5d95c32 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5d95f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6f53497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6f2752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6f276ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xacbece59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#8  0xb6e386ae in ?? () from /usr/lib/libQtCore.so.4
#9  0xb5f2d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb62f1a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xabfbdb90 (LWP 10628)):
#0  0xb80d1424 in __kernel_vsyscall ()
#1  0xb5f31075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62ffbbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e396f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb76c0532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6e386ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5f2d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb62f1a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb58d06c0 (LWP 10623)):
[KCrash Handler]
#6  0xb80d1424 in __kernel_vsyscall ()
#7  0xb623b8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb623d268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6460778 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb645e655 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb645e692 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb645e7ca in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb3578bfb in MSN::Message::getFormatInfo () from /usr/lib/libmsn.so.0.1
#14 0xb357a998 in MSN::Message::getFontName () from /usr/lib/libmsn.so.0.1
#15 0xb365303b in ?? () from /usr/lib/kde4/kopete_wlm.so
#16 0xb3581717 in MSN::SwitchboardServerConnection::message_plain () from /usr/lib/libmsn.so.0.1
#17 0xb358752b in MSN::SwitchboardServerConnection::handle_MSG () from /usr/lib/libmsn.so.0.1
#18 0xb35828df in MSN::SwitchboardServerConnection::dispatchCommand () from /usr/lib/libmsn.so.0.1
#19 0xb3581dbd in MSN::SwitchboardServerConnection::handleIncomingData () from /usr/lib/libmsn.so.0.1
#20 0xb357d279 in MSN::Connection::dataArrivedOnSocket () from /usr/lib/libmsn.so.0.1
#21 0xb36553e1 in ?? () from /usr/lib/kde4/kopete_wlm.so
#22 0xb3655535 in ?? () from /usr/lib/kde4/kopete_wlm.so
#23 0xb6f3da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb6f3e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb6f76847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#26 0xb76f04e7 in ?? () from /usr/lib/libQtNetwork.so.4
#27 0xb76f4e9e in QSslSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#28 0xb365550a in ?? () from /usr/lib/kde4/kopete_wlm.so
#29 0xb6f3da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb6f3e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6f76847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#32 0xb76d9a72 in ?? () from /usr/lib/libQtNetwork.so.4
#33 0xb76c8ceb in ?? () from /usr/lib/libQtNetwork.so.4
#34 0xb76ca056 in ?? () from /usr/lib/libQtNetwork.so.4
#35 0xb65cc8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#36 0xb65d472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb745efed in KApplication::notify () from /usr/lib/libkdeui.so.5
#38 0xb6f28e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#39 0xb6f5370a in ?? () from /usr/lib/libQtCore.so.4
#40 0xb5d926f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb5d95da3 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb5d95f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb6f53478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb6666ea5 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb6f2752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb6f276ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0xb6f29da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#48 0xb65cc767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#49 0x0808b93f in _start ()
Comment 1 Dario Andres 2009-02-03 13:09:42 UTC
This is probably a duplicate of bug 179425
Can you reproduce this on every start? Is anyone of yours contact using emesene ?
Comment 2 Mauro 2009-02-03 14:07:16 UTC
I can't reproduce everytime I start Kopete.
It happened three times today, never before.
No updates since two days.
I really ignore if someone is using emesene.
Comment 3 Dario Andres 2009-02-03 14:12:22 UTC
Maybe someone using emesene sent you an offline message and when Kopete started and fetched the message it crashed on showing it (as in bug bug 179425)

You could try creating some MSN test account , and connecting to it using emesene. You can send your main MSN account an offline message and then try if Kopete crashes when starting/loading the account and the offline message. (or ask for someone to send you an offline message)

Thanks
Comment 4 marco 2009-02-06 12:34:46 UTC
I confirm this bug. 
I'm using Debian Lenny with experimental repositories (for kde 4.2) with kopete 0.70.0:
These are the details of the debugger:

Application: Kopete (kopete), signal SIGABRT
[Current thread is 0 (LWP 2522)]

Thread 2 (Thread 0xb3113b90 (LWP 2523)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5f41025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb640e7fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6ebf542 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5fbe312 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6ebe52e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5f3d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb64006de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb58766c0 (LWP 2522)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb63bbef6 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb63bbd0f in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb7569128 in ?? () from /usr/lib/libkdeui.so.5
#4  0x00000000 in ?? ()


Thank you ;)
Comment 5 Dario Andres 2009-02-06 12:36:36 UTC
@marco: I can't confirm your crash is the same as the original reported.
May you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and check if the complete backtrace is *similar* to the reported here ? 
You need to install kdenetwork-dbg, and libqt4-dbg
Thanks :)
Comment 6 marco 2009-02-06 15:26:55 UTC
@Darío Andrés:

I've tried to get the backtrace from gdb, but using the command 

`thread apply all backtrace`

it says : No registers.

However, I've run the program valgrind, and it created the log file, that I've attached.
Finally, this is the error shown in the konsole (with valgrind):

terminate called after throwing an instance of 'std::runtime_error'
  what():  Incorrectly specified message format!
KCrash: Application 'kopete' crashing...
sock_file=/home/marco/.kde4/socket-net-home/kdeinit4__0


I'm trying to re-debug kopete and I hope that the backtrace command will work.
Thank you ;)
Comment 7 marco 2009-02-06 15:28:05 UTC
Created attachment 31038 [details]
kopete log using valgrind
Comment 8 Dario Andres 2009-02-06 15:40:12 UTC
@marco: your crash seems to be different. Can you file a new bug report ? Thanks
Comment 9 Roman Jarosz 2009-06-17 22:59:18 UTC
Fixed in libmsn 4 beta 5, please update libmsn

*** This bug has been marked as a duplicate of bug 192304 ***