Bug 251226 - Crash at close
Summary: Crash at close
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 1.0.80
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 263654 309202 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-14 17:42 UTC by BRULE Herman
Modified: 2013-06-01 21:55 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments
New crash information added by DrKonqi (15.11 KB, text/plain)
2011-03-08 16:39 UTC, Ivan D Vasin
Details
New crash information added by DrKonqi (11.93 KB, text/plain)
2011-03-29 13:09 UTC, Alex Nezhinskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2010-09-14 17:42:27 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-gentoo-r15-amber2 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I have close kopete via the systray icon.
- Unusual behavior I noticed:
I reconstruct my raid as backgroun.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fecce7c8760 (LWP 3658))]

Thread 4 (Thread 0x7fecb521c710 (LWP 3674)):
#0  0x00007fecca45953e in __pthread_mutex_unlock_usercnt (mutex=0x3c8a5d8, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007fecc5ff99cc in g_main_context_poll (context=0x3c8a5d0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2903
#2  g_main_context_iterate (context=0x3c8a5d0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007fecc5ff9dac in IA__g_main_context_iteration (context=0x3c8a5d0, may_block=1) at gmain.c:2654
#4  0x00007feccc141e46 in QEventDispatcherGlib::processEvents (this=0x2e436b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007feccc10e8b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007feccc10ed55 in QEventLoop::exec (this=0x3c8a6b0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fecb7d6b3de in QCA::SyncThread::run (this=0x2e6bc80) at support/syncthread.cpp:195
#8  0x00007feccc0000fa in QThreadPrivate::start (arg=0x2e6bc80) at thread/qthread_unix.cpp:248
#9  0x00007fecca455894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007fecca99d27d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fecb4a1b710 (LWP 3675)):
#0  0x00007fecca9945c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1338) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fecc5ff99d9 in g_main_context_poll (context=0x2c8d0d0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x2c8d0d0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007fecc5ff9dac in IA__g_main_context_iteration (context=0x2c8d0d0, may_block=1) at gmain.c:2654
#4  0x00007feccc141e46 in QEventDispatcherGlib::processEvents (this=0x3ae7b80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007feccc10e8b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007feccc10ed55 in QEventLoop::exec (this=0x2e50cd0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fecb820dfdf in XMPP::SyncThread::run (this=0x2ba3b00) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x00007feccc0000fa in QThreadPrivate::start (arg=0x2ba3b00) at thread/qthread_unix.cpp:248
#9  0x00007fecca455894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007fecca99d27d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fecaeffd710 (LWP 3682)):
#0  0x00007fecca9969e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fecb8ed9623 in posix_timer_do () at posixtimer.c:70
#2  0x00007fecb8edac4d in rtp_scheduler_schedule (psched=0x2dea200) at scheduler.c:130
#3  0x00007fecca455894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fecca99d27d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fecce7c8760 (LWP 3658)):
[KCrash Handler]
#6  KStatusNotifierItem::actionCollection (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/notifications/kstatusnotifieritem.cpp:457
#7  0x000000000041f2f7 in KopeteWindow::slotTrayAboutToShowMenu (this=0x26a8850, popup=0x28ef070) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/kopete/kopetewindow.cpp:1180
#8  0x00000000004254c0 in KopeteWindow::qt_metacall (this=0x26a8850, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff47bb4e90)
    at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1_build/kopete/kopete/kopetewindow.moc:176
#9  0x00007feccc12898a in QMetaObject::activate (sender=0x26eb7d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff47bb4e90) at kernel/qobject.cpp:3287
#10 0x0000000000417ded in KopeteSystemTray::aboutToShowMenu (this=0x0, _t1=0x28ef070) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1_build/kopete/kopete/systemtray.moc:107
#11 0x00000000004188e4 in KopeteSystemTray::qt_metacall (this=0x26eb7d0, _c=QMetaObject::InvokeMetaMethod, _id=1203457672, _a=0x7fff47bb4f80)
    at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1_build/kopete/kopete/systemtray.moc:88
#12 0x00007feccc12898a in QMetaObject::activate (sender=0x28ef070, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff47bb4e90) at kernel/qobject.cpp:3287
#13 0x00007feccb5ca740 in QMenu::qt_metacall (this=0x28ef070, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff47bb5130) at .moc/debug-shared/moc_qmenu.cpp:97
#14 0x00007fecccca7820 in KMenu::qt_metacall (this=0x0, _c=42922096, _id=1203457672, _a=0x7fff47bb4e90) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1_build/kdeui/kmenu.moc:76
#15 0x00007feccc11b0f4 in QMetaMethod::invoke (this=0x7fff47bb5600, object=0x28ef070, connectionType=<value optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., 
    val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1533
#16 0x00007feccc11b7b4 in QMetaObject::invokeMethod (obj=0x28ef070, member=<value optimized out>, type=<value optimized out>, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., 
    val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1113
#17 0x00007fecc7541ef5 in QMetaObject::invokeMethod (this=<value optimized out>, id=<value optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:416
#18 DBusMenuExporterDBus::AboutToShow (this=<value optimized out>, id=<value optimized out>)
    at /var/tmp/portage/dev-libs/libdbusmenu-qt-0.3.5/work/libdbusmenu-qt-0.3.5/src/dbusmenuexporterdbus_p.cpp:167
#19 0x00007fecc75424be in DBusMenuExporterDBus::qt_metacall (this=0x2674dd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff47bb5960)
    at /var/tmp/portage/dev-libs/libdbusmenu-qt-0.3.5/work/libdbusmenu-qt-0.3.5_build/src/dbusmenuexporterdbus_p.moc:114
#20 0x00007feccbd237b1 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=<value optimized out>, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:904
#21 0x00007feccbd24b43 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x2674dd0, flags=4080, msg=...) at qdbusintegrator.cpp:816
#22 0x00007feccbd2537f in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1383
#23 0x00007feccbd25918 in QDBusActivateObjectEvent::placeMetaCall (this=0x2e5dd80) at qdbusintegrator.cpp:1477
#24 0x00007feccc123ec9 in QObject::event (this=0x2674dd0, e=0x2e5dd80) at kernel/qobject.cpp:1240
#25 0x00007feccb0f5cc0 in QApplicationPrivate::notify_helper (this=0x2565590, receiver=0x2674dd0, e=0x2e5dd80) at kernel/qapplication.cpp:4302
#26 0x00007feccb0fe7a7 in QApplication::notify (this=0x7fff47bb73d0, receiver=0x2674dd0, e=0x2e5dd80) at kernel/qapplication.cpp:4185
#27 0x00007fecccbaf9c1 in KApplication::notify (this=0x7fff47bb73d0, receiver=0x2674dd0, event=0x2e5dd80)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#28 0x00007feccc11050b in QCoreApplication::notifyInternal (this=0x7fff47bb73d0, receiver=0x2674dd0, event=0x2e5dd80) at kernel/qcoreapplication.cpp:726
#29 0x00007feccc111514 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x253a5f0) at kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x253a5f0) at kernel/qcoreapplication.cpp:1367
#31 0x00007feccc1422d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#33 0x00007fecc5ff583f in g_main_dispatch (context=0x2568000) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x2568000) at gmain.c:2513
#35 0x00007fecc5ff9bf8 in g_main_context_iterate (context=0x2568000, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#36 0x00007fecc5ff9dac in IA__g_main_context_iteration (context=0x2568000, may_block=1) at gmain.c:2654
#37 0x00007feccc141df3 in QEventDispatcherGlib::processEvents (this=0x2565710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007feccb1c106e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007feccc10e8b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007feccc10ed55 in QEventLoop::exec (this=0x2e5d010, flags=) at kernel/qeventloop.cpp:201
#41 0x00007fecb8125f59 in GoogleTalk::logout (this=0x37e1eb0, res=<value optimized out>)
    at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/jabber/googletalk/googletalk.cpp:162
#42 0x00007fecb81264eb in ~GoogleTalk (this=0x0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/jabber/googletalk/googletalk.cpp:73
#43 0x00007fecb80d615b in JabberAccount::cleanup (this=0x34b0090) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/jabber/jabberaccount.cpp:188
#44 0x00007fecb80db1c1 in ~JabberAccount (this=0x34b0090, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/jabber/jabberaccount.cpp:166
#45 0x00007feccc123eed in QObject::event (this=0x34b0090, e=0x28ef070) at kernel/qobject.cpp:1223
#46 0x00007feccb0f5cc0 in QApplicationPrivate::notify_helper (this=0x2565590, receiver=0x34b0090, e=0x4090a20) at kernel/qapplication.cpp:4302
#47 0x00007feccb0fe7a7 in QApplication::notify (this=0x7fff47bb73d0, receiver=0x34b0090, e=0x4090a20) at kernel/qapplication.cpp:4185
#48 0x00007fecccbaf9c1 in KApplication::notify (this=0x7fff47bb73d0, receiver=0x34b0090, event=0x4090a20)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#49 0x00007feccc11050b in QCoreApplication::notifyInternal (this=0x7fff47bb73d0, receiver=0x34b0090, event=0x4090a20) at kernel/qcoreapplication.cpp:726
#50 0x00007feccc111514 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x253a5f0) at kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x253a5f0) at kernel/qcoreapplication.cpp:1367
#52 0x00007feccc1422d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#54 0x00007fecc5ff583f in g_main_dispatch (context=0x2568000) at gmain.c:1960
#55 IA__g_main_context_dispatch (context=0x2568000) at gmain.c:2513
#56 0x00007fecc5ff9bf8 in g_main_context_iterate (context=0x2568000, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#57 0x00007fecc5ff9dac in IA__g_main_context_iteration (context=0x2568000, may_block=1) at gmain.c:2654
#58 0x00007feccc141df3 in QEventDispatcherGlib::processEvents (this=0x2565710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#59 0x00007feccb1c106e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007feccc10e8b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#61 0x00007feccc10ed55 in QEventLoop::exec (this=0x7fff47bb7320, flags=) at kernel/qeventloop.cpp:201
#62 0x00007feccc11183b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#63 0x00000000004160c2 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Nicolas L. 2010-09-14 22:58:31 UTC
see : http://reviewboard.kde.org/r/5346/
Comment 2 Dario Andres 2010-11-18 21:14:43 UTC
[Comment from a bug triager]
This is a "new" version of bug 204083 (replacing KSystemTrayIcon with KStatusNotifierItem).. Should them be merged ? What do you think Nicolas ?
Comment 3 Pino Toscano 2011-01-19 15:20:25 UTC
*** Bug 263654 has been marked as a duplicate of this bug. ***
Comment 4 Pino Toscano 2011-01-19 15:21:09 UTC
(In reply to comment #2)
> [Comment from a bug triager]
> This is a "new" version of bug 204083 (replacing KSystemTrayIcon with
> KStatusNotifierItem).. Should them be merged ? What do you think Nicolas ?

Not sure, as in this backtrace there's an event loop being run in GoogleTalk::logout() (see frame #41), and such (mis)use of event loops usually causes havoc.
Comment 5 Ivan D Vasin 2011-03-08 16:39:36 UTC
Created attachment 57774 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.0

- What I was doing when the application crashed:
1. quit Kopete from the system tray.
2. wait a while (~5 seconds).
3. seeing that the Kopete icon is still in the system tray, wondering if i actually quit it, right-click the system tray icon again.

- Unusual behavior I noticed:
1. at first, the context menu doesn't display, and the Kopete system tray icon remains in a highlighted state for a few seconds.
2. Kopete crashes.
3. Plasma crashes.

-- Backtrace (Reduced):
#6  KStatusNotifierItem::actionCollection (this=0x0) at ../../kdeui/notifications/kstatusnotifieritem.cpp:447
#7  0x0000000000419067 in KopeteWindow::slotTrayAboutToShowMenu (this=0x8ac9f0, popup=0xa85740) at ../../../kopete/kopete/kopetewindow.cpp:1217
#8  0x0000000000423951 in KopeteWindow::qt_metacall (this=0x8ac9f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff81f583b0) at ./kopetewindow.moc:179
[...]
#10 0x00000000004162bd in KopeteSystemTray::aboutToShowMenu (this=0x0, _t1=0xa85740) at ./systemtray.moc:107
#11 0x0000000000417284 in KopeteSystemTray::qt_metacall (this=0x8f84b0, _c=QMetaObject::InvokeMetaMethod, _id=-2114616408, _a=0x7fff81f584a0) at ./systemtray.moc:88
Comment 6 Alex Nezhinskiy 2011-03-29 13:09:40 UTC
Created attachment 58432 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.3

- What I was doing when the application crashed:
Kopete crashed when close program via systray.

-- Backtrace (Reduced):
#6  KStatusNotifierItem::actionCollection (this=0x0) at /usr/src/debug/kdelibs-4.6.1/kdeui/notifications/kstatusnotifieritem.cpp:448
#7  0x000000000041c787 in KopeteWindow::slotTrayAboutToShowMenu (this=0x70c530, popup=0x83f3e0) at /usr/src/debug/kdenetwork-4.6.1/kopete/kopete/kopetewindow.cpp:1217
#8  0x00000000004222f9 in KopeteWindow::qt_metacall (this=0x70c530, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff670e3940) at /usr/src/debug/kdenetwork-4.6.1/build/kopete/kopete/kopetewindow.moc:179
[...]
#10 0x00000000004172fd in KopeteSystemTray::aboutToShowMenu (this=<optimized out>, _t1=0x83f3e0) at /usr/src/debug/kdenetwork-4.6.1/build/kopete/kopete/systemtray.moc:107
#11 0x00000000004179b4 in KopeteSystemTray::qt_metacall (this=0x7c8670, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff670e3a10) at /usr/src/debug/kdenetwork-4.6.1/build/kopete/kopete/systemtray.moc:88
Comment 7 Jekyll Wu 2012-10-29 21:14:37 UTC
*** Bug 309202 has been marked as a duplicate of this bug. ***
Comment 8 Ben Cooksley 2013-04-08 07:35:41 UTC
Removing from subscription list per abuse report.
Comment 9 Pali Rohár 2013-06-01 21:55:42 UTC
SVN commit 1356757 by pali:

Fix crashing Kopete compiled with jabber google talk support when exiting

Related: bug 319215
Related: bug 265295
FIXED-IN: 4.11


 M  +8 -1      googletalk.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1356757