Bug 215407 - [QT4.6] Kmail needs more than 10 seconds to restore from systray
Summary: [QT4.6] Kmail needs more than 10 seconds to restore from systray
Status: RESOLVED UPSTREAM
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.90
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 12:47 UTC by simon
Modified: 2009-11-20 17:29 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 simon 2009-11-20 12:47:47 UTC
Version:           1.12.90 (using 4.3.75 (KDE 4.3.75 (KDE 4.4 >= 20091113)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.31-zen7

hi,

i didn't managed to get a backtrace during the hangs, but the kmail is very unrespnsive with latest qt4.6 rc - this is a showstopper for me :(
Comment 1 simon 2009-11-20 13:15:39 UTC
kontact(19406) KMSystemTray::slotActivated: trigger: 3                                                                                                      
^C                                                                                                                                                          
Program received signal SIGINT, Interrupt.                                                                                                                  
0x00007fffefdfd9b6 in poll () from /lib/libc.so.6                                                                                                           
(gdb) thread apply all bt                

Thread 3 (Thread 0x7fffdb30a950 (LWP 3844)):
#0  0x00007ffff1a67f8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff1d03ad3 in QWaitConditionPrivate::wait (this=0x1829d00, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007ffff1d03646 in QWaitCondition::wait (this=0x182fe88, mutex=0x182fe80, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffff1cf3585 in QThreadPoolThread::run (this=0x18f2860) at concurrent/qthreadpool.cpp:140                               
#4  0x00007ffff1d030fa in QThreadPrivate::start (arg=0x18f2860) at thread/qthread_unix.cpp:244                                    
#5  0x00007ffff1a63fc7 in start_thread () from /lib/libpthread.so.0                                                               
#6  0x00007fffefe061fd in clone () from /lib/libc.so.6                                                                            

Thread 2 (Thread 0x7fffdbb0b950 (LWP 3802)):
#0  0x00007ffff1a67f8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff1d03ad3 in QWaitConditionPrivate::wait (this=0x1829d00, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007ffff1d03646 in QWaitCondition::wait (this=0x182fe88, mutex=0x182fe80, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffff1cf3585 in QThreadPoolThread::run (this=0x182b8e0) at concurrent/qthreadpool.cpp:140                               
#4  0x00007ffff1d030fa in QThreadPrivate::start (arg=0x182b8e0) at thread/qthread_unix.cpp:244                                    
#5  0x00007ffff1a63fc7 in start_thread () from /lib/libpthread.so.0                                                               
#6  0x00007fffefe061fd in clone () from /lib/libc.so.6                                                                            

Thread 1 (Thread 0x7ffff7f99740 (LWP 19406)):
#0  0x00007fffefdfd9b6 in poll () from /lib/libc.so.6
#1  0x00007fffea424c68 in socket_do_iteration () from /usr/lib/libdbus-1.so.3
#2  0x00007fffea423104 in _dbus_transport_do_iteration () from /usr/lib/libdbus-1.so.3
#3  0x00007fffea4107be in _dbus_connection_do_iteration_unlocked () from /usr/lib/libdbus-1.so.3
#4  0x00007fffea4129bf in _dbus_connection_block_pending_call () from /usr/lib/libdbus-1.so.3   
#5  0x00007fffea411a8c in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3
#6  0x00007ffff21c3cc7 in q_dbus_connection_send_with_reply_and_block (connection=0x631960, message=0x632040, timeout_milliseconds=-1, 
    error=0x7fffffffae40) at ./qdbus_symbols_p.h:133                                                                                   
#7  0x00007ffff21cde47 in QDBusConnectionPrivate::sendWithReply (this=0x62cdc0, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1780
#8  0x00007ffff21ce330 in QDBusConnectionPrivate::findMetaObject (this=0x62cdc0, service=..., path=..., interface=..., error=...)               
    at qdbusintegrator.cpp:2240
#9  0x00007ffff21dc34f in QDBusInterfacePrivate::QDBusInterfacePrivate (this=0x39db0a0, serv=..., p=..., iface=..., con=...) at qdbusinterface.cpp:156
#10 0x00007ffff21dc43b in QDBusInterface::QDBusInterface (this=0x7fffffffb3c0, service=..., path=..., interface=..., connection=..., parent=0x0)
    at qdbusinterface.cpp:217
#11 0x00007fffe1b6dcad in KMKernel::showMainWin (this=0xb31160) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/kmkernel.cpp:2183
#12 0x00007fffe1aca1bd in KMSystemTray::slotActivated (this=<value optimized out>, reason=Trigger)
    at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/kmsystemtray.cpp:285
#13 0x00007fffe1acbaae in KMSystemTray::qt_metacall (this=0x12b0cf0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffb6a0)
    at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999_build/kmail/kmsystemtray.moc:85
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff1e3652b in QMetaObject::metacall (object=0x12b0cf0, cl=InvokeMetaMethod, idx=20, argv=0x7fffffffb6a0) at kernel/qmetaobject.cpp:237
#15 0x00007ffff1e4b969 in QMetaObject::activate (sender=0x12b0cf0, m=0x7ffff17e66a0, local_signal_index=0, argv=0x7fffffffb6a0) at kernel/qobject.cpp:3274
#16 0x00007ffff135d96c in QSystemTrayIcon::activated (this=0x12b0cf0, _t1=Trigger) at .moc/debug-shared/moc_qsystemtrayicon.cpp:134
#17 0x00007ffff13387e2 in QSystemTrayIconSys::mousePressEvent (this=0x11d3bb0, ev=0x7fffffffc380) at util/qsystemtrayicon_x11.cpp:298
#18 0x00007ffff0cc5d3a in QWidget::event (this=0x11d3bb0, event=0x7fffffffc380) at kernel/qwidget.cpp:7969
#19 0x00007ffff13386cb in QSystemTrayIconSys::event (this=0x11d3bb0, e=0x7fffffffc380) at util/qsystemtrayicon_x11.cpp:321
#20 0x00007ffff0c5f251 in QApplicationPrivate::notify_helper (this=0x63c270, receiver=0x11d3bb0, e=0x7fffffffc380) at kernel/qapplication.cpp:4243
#21 0x00007ffff0c600a5 in QApplication::notify (this=0x7fffffffd400, receiver=0x11d3bb0, e=0x7fffffffc380) at kernel/qapplication.cpp:3823
#22 0x00007ffff2ac6381 in KApplication::notify (this=0x7fffffffd400, receiver=0x11d3bb0, event=0x7fffffffc380)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#23 0x00007ffff1e2e755 in QCoreApplication::notifyInternal (this=0x7fffffffd400, receiver=0x11d3bb0, event=0x7fffffffc380)
    at kernel/qcoreapplication.cpp:704
#24 0x00007ffff0c7068d in QCoreApplication::sendSpontaneousEvent (receiver=0x11d3bb0, event=0x7fffffffc380)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 0x00007ffff0c654de in QApplicationPrivate::sendMouseEvent (receiver=0x11d3bb0, event=0x7fffffffc380, alienWidget=0x0, nativeWidget=0x11d3bb0,
    buttonDown=0x7ffff17f0eb8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2955
#26 0x00007ffff0cf83c6 in QETWidget::translateMouseEvent (this=0x11d3bb0, event=0x7fffffffcf50) at kernel/qapplication_x11.cpp:4368
#27 0x00007ffff0cf93a7 in QApplication::x11ProcessEvent (this=0x7fffffffd400, event=0x7fffffffcf50) at kernel/qapplication_x11.cpp:3379
#28 0x00007ffff0d261ce in x11EventSourceDispatch (s=0x649a90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007fffe9b46e51 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fffe9b4a3e8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#31 0x00007fffe9b4a59c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007ffff1e6a1f5 in QEventDispatcherGlib::processEvents (this=0x638fd0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#33 0x00007ffff0d259f3 in QGuiEventDispatcherGlib::processEvents (this=0x638fd0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00007ffff1e2ab8b in QEventLoop::processEvents (this=0x7fffffffd360, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007ffff1e2adaf in QEventLoop::exec (this=0x7fffffffd360, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007ffff1e2f19f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x00007ffff0c61bde in QApplication::exec () at kernel/qapplication.cpp:3571
#38 0x0000000000403f9a in main (argc=2, argv=0x7fffffffd918) at /var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/main.cpp:221
Comment 2 Thomas McGuire 2009-11-20 17:29:39 UTC
Qt bug, see http://bugreports.qt.nokia.com/browse/QTBUG-5588