Bug 144494 - kopete crashes at start up with jabber jingle enabled.
Summary: kopete crashes at start up with jabber jingle enabled.
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: 0.12.6
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 144240 148075 150359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-21 16:42 UTC by Sabourin Gilles
Modified: 2008-12-29 11:21 UTC (History)
6 users (show)

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 Sabourin Gilles 2007-04-21 16:42:31 UTC
Version:           0.12.4 (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
 
OS:                Linux

I have compiled svn kopete version 0.12.4 21st april 2007, with jingle option activated.

Sometimes, kopete crashes at start time, before authenticating with kwallet.

Here's the backtraces :

Vérification au démarrage de la configuration du système désactivée.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47447212676624 (LWP 23625)]
[KCrash handler]
#5  0x00002b2729efe535 in raise () from /lib64/libc.so.6
#6  0x00002b2729eff990 in abort () from /lib64/libc.so.6
#7  0x00002b2729ef7c16 in __assert_fail () from /lib64/libc.so.6
#8  0x00002b2728c15d14 in __pthread_tpp_change_priority ()
   from /lib64/libpthread.so.0
#9  0x00002b2728c0f43a in pthread_mutex_lock () from /lib64/libpthread.so.0
#10 0x00002b272d75475b in cricket::ThreadManager::Add (
    this=<value optimized out>, thread=0x94e910) at thread.cc:90
#11 0x00002b272d7547d2 in Thread (this=0x94e910, ss=<value optimized out>)
    at thread.cc:100
#12 0x00002b272d754c1b in ThreadManager (this=0x2b272da49000) at thread.cc:48
#13 0x00002b272d754c4d in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=23625) at thread.cc:41
#14 0x00002b272d765142 in __do_global_ctors_aux ()
   from /opt/kde3/lib64/kde3/kopete_jabber.so
#15 0x00002b272d5d58e3 in _init () from /opt/kde3/lib64/kde3/kopete_jabber.so
#16 0x00002b272d531704 in ?? () from /opt/kde3/lib64/kde3/kopete_jabber.so
#17 0x00002b272143c43b in call_init () from /lib64/ld-linux-x86-64.so.2
#18 0x00002b272143c545 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#19 0x00002b27214400b8 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#20 0x00002b272143c0c6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#21 0x00002b272143f99b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#22 0x00002b27295670ea in dlopen_doit () from /lib64/libdl.so.2
#23 0x00002b272143c0c6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#24 0x00002b272956747d in _dlerror_run () from /lib64/libdl.so.2
#25 0x00002b2729567061 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#26 0x00002b2725500272 in sys_dl_open () from /opt/kde3/lib64/libkdecore.so.4
#27 0x00002b27254ffcca in tryall_dlopen () from /opt/kde3/lib64/libkdecore.so.4
#28 0x00002b2725500c29 in lt_dlopen () from /opt/kde3/lib64/libkdecore.so.4
#29 0x00002b2725482e73 in KLibLoader::library ()
   from /opt/kde3/lib64/libkdecore.so.4
#30 0x00002b27219783f0 in createInstanceFromLibrary<Kopete::Plugin> (
    libraryName=0xa1dc10 "kopete_jabber", parent=0x872d30, name=0x0, 
    args=@0x7fff89677760, error=0x7fff896777bc)
    at /opt/kde3/include/kparts/componentfactory.h:132
#31 0x00002b2721978519 in createInstanceFromService<Kopete::Plugin> (
    service=<value optimized out>, parent=0x872d30, name=0x0, 
    args=@0x7fff89677760, error=0x7fff896777bc)
    at /opt/kde3/include/kparts/componentfactory.h:216
#32 0x00002b27219785c5 in createInstanceFromServices<Kopete::Plugin, QValueListIterator<KSharedPtr<KService> > > (begin=@0x7fff896775f0, end=@0x7fff896775e0, 
    parent=0x872d30, name=0x0, args=@0x7fff89677760, error=0x7fff896777bc)
    at /opt/kde3/include/kparts/componentfactory.h:255
#33 0x00002b27219786d9 in createInstanceFromQuery<Kopete::Plugin> (
    serviceType=<value optimized out>, constraint=<value optimized out>, 
    parent=0x872d30, name=0x0, args=@0x7fff89677760, error=0x7fff896777bc)
    at /opt/kde3/include/kparts/componentfactory.h:338
#34 0x00002b272197889d in Kopete::PluginManager::loadPluginInternal (
    this=0x872d30, pluginId=@0x7fff89677800) at kopetepluginmanager.cpp:369
#35 0x00002b2721978e0d in Kopete::PluginManager::slotLoadNextPlugin (
    this=0x872d30) at kopetepluginmanager.cpp:320
#36 0x00002b2721979a2a in Kopete::PluginManager::qt_invoke (this=0x872d30, 
    _id=10, _o=0x7fff896778a0) at kopetepluginmanager.moc:168
#37 0x00002b272678d64c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#38 0x00002b2726a72cf2 in QSignal::signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#39 0x00002b27267a60d5 in QSignal::activate ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#40 0x00002b27267ac6e8 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#41 0x00002b27267364d5 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#42 0x00002b2726737107 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#43 0x00002b27254a9f88 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#44 0x00002b272672cb1f in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#45 0x00002b27266ec84d in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#46 0x00002b272674b083 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#47 0x00002b272674af32 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#48 0x000000000043598f in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:107
Comment 1 Sabourin Gilles 2007-08-30 19:32:49 UTC
Another crash at revision #706533 (kopete 0.12.6), but far less often than kopete 0.12.4 (which crash was almost systematic at start). Here are the backtraces :

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47455399515456 (LWP 5660)]
[KCrash handler]
#5  0x00002b291209b535 in raise () from /lib64/libc.so.6
#6  0x00002b291209c990 in abort () from /lib64/libc.so.6
#7  0x00002b2912094c16 in __assert_fail () from /lib64/libc.so.6
#8  0x00002b2910db2d14 in __pthread_tpp_change_priority ()
   from /lib64/libpthread.so.0
#9  0x00002b2910dac43a in pthread_mutex_lock () from /lib64/libpthread.so.0
#10 0x00002b29156e18db in cricket::PhysicalSocketServer::Add (
    this=<value optimized out>, pdispatcher=0x9b3ab0)
    at physicalsocketserver.cc:809
#11 0x00002b29156e5249 in Signaler (this=0x161c, ss=0x161c, pf=0x6)
    at physicalsocketserver.cc:752
#12 0x00002b29156e1b86 in PhysicalSocketServer (this=0x968f10)
    at physicalsocketserver.cc:767
#13 0x00002b29156eeb33 in MessageQueue (this=0x941a40, 
    ss=<value optimized out>) at messagequeue.cc:88
#14 0x00002b29156eb7af in Thread (this=0x161c, ss=0x161c) at thread.cc:99
#15 0x00002b29156ebc3b in ThreadManager (this=0x2b29159e0000) at thread.cc:48
#16 0x00002b29156ebc6d in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=5660) at thread.cc:41
#17 0x00002b29156fc162 in __do_global_ctors_aux ()
   from /opt/kde3/lib64/kde3/kopete_jabber.so
#18 0x00002b291556c8eb in _init () from /opt/kde3/lib64/kde3/kopete_jabber.so
#19 0x00002b29154c870c in QWidget::setUpdatesEnabled ()
   from /opt/kde3/lib64/kde3/kopete_jabber.so
#20 0x00002b29093d143b in call_init () from /lib64/ld-linux-x86-64.so.2
#21 0x00002b29093d1545 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#22 0x00002b29093d50b8 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#23 0x00002b29093d10c6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#24 0x00002b29093d499b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#25 0x00002b29117050ea in dlopen_doit () from /lib64/libdl.so.2
#26 0x00002b29093d10c6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#27 0x00002b291170547d in _dlerror_run () from /lib64/libdl.so.2
#28 0x00002b2911705061 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#29 0x00002b290d499cf2 in sys_dl_open () from /opt/kde3/lib64/libkdecore.so.4
#30 0x00002b290d49974a in tryall_dlopen () from /opt/kde3/lib64/libkdecore.so.4
#31 0x00002b290d49a6a9 in lt_dlopen () from /opt/kde3/lib64/libkdecore.so.4
#32 0x00002b290d3fd7e3 in KLibLoader::library ()
   from /opt/kde3/lib64/libkdecore.so.4
#33 0x00002b290990c6d0 in createInstanceFromLibrary<Kopete::Plugin> (
    libraryName=0x941c10 "kopete_jabber", parent=0x8756a0, name=0x0, 
    args=@0x7fffa16e3570, error=0x7fffa16e35cc)
    at /opt/kde3/include/kparts/componentfactory.h:132
#34 0x00002b290990c7f9 in createInstanceFromService<Kopete::Plugin> (
    service=<value optimized out>, parent=0x8756a0, name=0x0, 
    args=@0x7fffa16e3570, error=0x7fffa16e35cc)
    at /opt/kde3/include/kparts/componentfactory.h:216
#35 0x00002b290990c8a5 in createInstanceFromServices<Kopete::Plugin, QValueListIterator<KSharedPtr<KService> > > (begin=@0x7fffa16e3400, end=@0x7fffa16e33f0, 
    parent=0x8756a0, name=0x0, args=@0x7fffa16e3570, error=0x7fffa16e35cc)
    at /opt/kde3/include/kparts/componentfactory.h:255
#36 0x00002b290990c9b9 in createInstanceFromQuery<Kopete::Plugin> (
    serviceType=<value optimized out>, constraint=<value optimized out>, 
    parent=0x8756a0, name=0x0, args=@0x7fffa16e3570, error=0x7fffa16e35cc)
    at /opt/kde3/include/kparts/componentfactory.h:338
#37 0x00002b290990cb7d in Kopete::PluginManager::loadPluginInternal (
    this=0x8756a0, pluginId=@0x7fffa16e3610) at kopetepluginmanager.cpp:369
#38 0x00002b290990d0ed in Kopete::PluginManager::slotLoadNextPlugin (
    this=0x8756a0) at kopetepluginmanager.cpp:320
#39 0x00002b290990dd0a in Kopete::PluginManager::qt_invoke (this=0x8756a0, 
    _id=10, _o=0x7fffa16e36b0) at kopetepluginmanager.moc:168
#40 0x00002b290e72759c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#41 0x00002b290ea0cd02 in QSignal::signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#42 0x00002b290e740025 in QSignal::activate ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#43 0x00002b290e746638 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#44 0x00002b290e6d0425 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#45 0x00002b290e6d1057 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#46 0x00002b290d42dde8 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#47 0x00002b290e6c6a6f in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#48 0x00002b290e68679d in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#49 0x00002b290e6e4fd3 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#50 0x00002b290e6e4e82 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#51 0x000000000043563f in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:107
Comment 2 Renan Inácio 2007-10-07 18:28:28 UTC
I have this problem on Gentoo amd64 with kde 3.5.7, kopete 0.12.5 and gcc 4.1.2, happens almost always when I start it. The backtrace is the same as comment #1 but I will post it just to be sure:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47278028626496 (LWP 7904)]
[KCrash handler]
#5  0x00000032c4e2f885 in raise () from /lib/libc.so.6
#6  0x00000032c4e30b3e in abort () from /lib/libc.so.6
#7  0x00000032c4e29266 in __assert_fail () from /lib/libc.so.6
#8  0x00000032c56089e3 in pthread_mutex_lock () from /lib/libpthread.so.0
#9  0x00002affc7723a3b in cricket::PhysicalSocketServer::Add (
    this=<value optimized out>, pdispatcher=0x1180890)
    at physicalsocketserver.cc:809
#10 0x00002affc7728609 in Signaler (this=0x1ee0, ss=0x1ee0, pf=0x6)
    at physicalsocketserver.cc:752
#11 0x00002affc7723ce6 in PhysicalSocketServer (this=0xc7da30)
    at physicalsocketserver.cc:767
#12 0x00002affc771d26c in MessageQueue (this=0xba3670, 
    ss=<value optimized out>) at messagequeue.cc:88
#13 0x00002affc7721d5f in Thread (this=0x1ee0, ss=0x1ee0) at thread.cc:99
#14 0x00002affc77221bb in ThreadManager (this=0x2affc7916600) at thread.cc:48
#15 0x00002affc77221f4 in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=7904) at thread.cc:41
#16 0x00002affc773f256 in __do_global_ctors_aux ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#17 0x00002affc75c62ab in _init ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#18 0x00002affc754acf6 in ?? () from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#19 0x00000032c320cbab in call_init () from /lib64/ld-linux-x86-64.so.2
#20 0x00000032c320ccdd in _dl_init_internal ()
   from /lib64/ld-linux-x86-64.so.2
#21 0x00000032c3210846 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#22 0x00000032c320c836 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#23 0x00000032c3210137 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#24 0x00000032c54011da in ?? () from /lib/libdl.so.2
#25 0x00000032c320c836 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#26 0x00000032c540155d in ?? () from /lib/libdl.so.2
#27 0x00000032c5401152 in dlopen () from /lib/libdl.so.2
#28 0x0000003ea7e00dc2 in sys_dl_open ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#29 0x0000003ea7dff95d in tryall_dlopen ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#30 0x0000003ea7e009a6 in lt_dlopen () from /usr/kde/3.5/lib64/libkdecore.so.4
#31 0x0000003ea7d5e51e in KLibLoader::library ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#32 0x00000035f8a913b0 in createInstanceFromLibrary<Kopete::Plugin> (
    libraryName=0x11db170 "kopete_jabber", parent=0xaf43a0, name=0x0, 
    args=@0x7fffe4955d20, error=0x7fffe4955d7c)
    at /usr/kde/3.5/include/kparts/componentfactory.h:132
#33 0x00000035f8a914c6 in createInstanceFromService<Kopete::Plugin> (
    service=<value optimized out>, parent=0xaf43a0, name=0x0, 
    args=@0x7fffe4955d20, error=0x7fffe4955d7c)
    at /usr/kde/3.5/include/kparts/componentfactory.h:216
#34 0x00000035f8a91585 in createInstanceFromServices<Kopete::Plugin, QValueListIterator<KSharedPtr<KService> > > (begin=@0x7fffe4955bb0, 
    end=@0x7fffe4955ba0, parent=0xaf43a0, name=0x0, args=@0x7fffe4955d20, 
    error=0x7fffe4955d7c)
    at /usr/kde/3.5/include/kparts/componentfactory.h:255
#35 0x00000035f8a91681 in createInstanceFromQuery<Kopete::Plugin> (
    serviceType=<value optimized out>, constraint=<value optimized out>, 
    parent=0xaf43a0, name=0x0, args=@0x7fffe4955d20, error=0x7fffe4955d7c)
    at /usr/kde/3.5/include/kparts/componentfactory.h:338
#36 0x00000035f8a917be in Kopete::PluginManager::loadPluginInternal (
    this=0xaf43a0, pluginId=@0x7fffe4955dc0) at kopetepluginmanager.cpp:369
#37 0x00000035f8a91e06 in Kopete::PluginManager::slotLoadNextPlugin (
    this=0xaf43a0) at kopetepluginmanager.cpp:320
#38 0x00000035f8a92974 in Kopete::PluginManager::qt_invoke (this=0xaf43a0, 
    _id=10, _o=0x7fffe4955e60) at kopetepluginmanager.moc:168
#39 0x0000003ea734624c in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#40 0x0000003ea7625a5c in QSignal::signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#41 0x0000003ea735ec45 in QSignal::activate ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#42 0x0000003ea73651d8 in QSingleShotTimer::event ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#43 0x0000003ea72efcb5 in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#44 0x0000003ea72f08b7 in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#45 0x0000003ea7cc1efe in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#46 0x0000003ea72e63d2 in QEventLoop::activateTimers ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#47 0x0000003ea72a6e12 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#48 0x0000003ea7304402 in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#49 0x0000003ea73042b2 in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#50 0x000000000042e3e5 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:107
#51 0x00000032c4e1d374 in __libc_start_main () from /lib/libc.so.6
#52 0x000000000042de39 in _start ()
Comment 3 Matt Rogers 2008-02-02 20:08:21 UTC
*** Bug 148075 has been marked as a duplicate of this bug. ***
Comment 4 Matt Rogers 2008-02-02 20:09:39 UTC
workaround is to disable jingle support
Comment 5 Christophe Marin 2008-07-03 17:11:18 UTC
*** Bug 144240 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2008-07-03 17:17:09 UTC
*** Bug 150359 has been marked as a duplicate of this bug. ***
Comment 7 Alan Jones 2008-12-29 11:21:29 UTC
Thanks for this bug report. Things appear ok on svn, so I'll close for now.

If you get a chance to attempt it with a recent build, please do so and reopen if it's not resolved for you. An updated backtrace in this case would be great.

Cheers,

Alan.