[Bug 775028] New: KDE 4.9 programs hang in libc's poll() function
https://bugzilla.novell.com/show_bug.cgi?id=775028 https://bugzilla.novell.com/show_bug.cgi?id=775028#c0 Summary: KDE 4.9 programs hang in libc's poll() function Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: szotsaki@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; hu) Presto/2.10.289 Version/12.01 I wanted to file at least five different bug reports to the KDE team when I realized that all of the programs faults have one thing in common: libc's poll() function. The symptoms: 1.) Konsole hangs when I try to select some text. Backtrace: #0 0x00007f834def1ff3 in poll () from /lib64/libc.so.6 #1 0x00007f83494b84c0 in socket_do_iteration (transport=0x814410, flags=6, timeout_milliseconds=<optimized out>) at dbus-transport-socket.c:1125 #2 0x00007f83494b739d in _dbus_transport_do_iteration (transport=0x814410, flags=<optimized out>, timeout_milliseconds=<optimized out>) at dbus-transport.c:978 #3 0x00007f83494a2505 in _dbus_connection_do_iteration_unlocked (connection=0x7d1b70, pending=<optimized out>, flags=6, timeout_milliseconds=25000) at dbus-connection.c:1232 #4 0x00007f83494a3889 in _dbus_connection_block_pending_call (pending=0xa270b0) at dbus-connection.c:2405 #5 0x00007f83494a2dec in dbus_connection_send_with_reply_and_block (connection=0x7d1b70, message=0x8149a0, timeout_milliseconds=-1, error=0x7fffd5b72330) at dbus-connection.c:3514 #6 0x00007f834c252f05 in q_dbus_connection_send_with_reply_and_block (error=0x7fffd5b72330, timeout_milliseconds=-1, message=0x8149a0, connection=<optimized out>) at qdbus_symbols_p.h:135 #7 QDBusConnectionPrivate::sendWithReply (this=0x7d1810, message=..., sendMode=<optimized out>, timeout=-1) at qdbusintegrator.cpp:1904 #8 0x00007f834c253819 in QDBusConnectionPrivate::findMetaObject (this=0x7d1810, service=..., path=..., interface=..., error=...) at qdbusintegrator.cpp:2356 #9 0x00007f834c26249b in QDBusInterfacePrivate::QDBusInterfacePrivate (this=0x9fa960, serv=..., p=..., iface=..., con=...) at qdbusinterface.cpp:158 #10 0x00007f834c2625d9 in QDBusInterface::QDBusInterface (this=0x7fffd5b727d0, service=..., path=..., interface=..., connection=..., parent=0x0) at qdbusinterface.cpp:220 #11 0x00007f834f9faf8b in KMimeType::favIconForUrl (url=...) at /usr/src/debug/kdelibs-4.9.0/kdecore/services/kmimetype.cpp:494 #12 0x00007f83486c7162 in lookupIconNameFor (url=..., type=<optimized out>) at /usr/src/debug/kdelibs-4.9.0/kio/kio/kurifilter.cpp:47 #13 0x00007f83486c7f6e in KUriFilterPlugin::iconNameFor (this=<optimized out>, url=..., type=<optimized out>) at /usr/src/debug/kdelibs-4.9.0/kio/kio/kurifilter.cpp:569 #14 0x00007f83343bb2f6 in KAutoWebSearch::populateProvidersList (this=0xae0640, searchProviders=..., data=..., allproviders=<optimized out>) at /usr/src/debug/kde-runtime-4.9.0/kurifilter-plugins/ikws/kuriikwsfilter.cpp:104 … 2.) nepomukcontroller does not shut down normally. Backtrace: #0 0x00007ff259abbff3 in poll () from /lib64/libc.so.6 #1 0x00007ff25719eca6 in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ff25719edd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 3.) KMail has 100% CPU load when I try to select a folder. Backtrace: #0 0x00007f0c436d8ff3 in poll () from /lib64/libc.so.6 #1 0x00007f0c3b5f1ca6 in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f0c3b5f1dd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f0c44d40dcf in QEventDispatcherGlib::processEvents (this=0x60b000, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f0c4413869e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #5 0x00007f0c44d10842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f0c44d10a97 in QEventLoop::exec (this=0x7fff18592d80, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f0c44d158b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #8 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.9.0/kmail/main.cpp:145 #3 0x00007ff25a233dcf in QEventDispatcherGlib::processEvents (this=0x6170b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007ff25af4069e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #5 0x00007ff25a203842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007ff25a203a97 in QEventLoop::exec (this=0x7fffee708440, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007ff25a2088b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #8 0x00000000004073a6 in main (argc=3, argv=0x7fffee708748) at /usr/src/debug/kde-runtime-4.9.0/nepomuk/controller/main.cpp:51 4.) Dolphin starts in 15 seconds. Backtrace: #0 0x00007f834def1ff3 in poll () from /lib64/libc.so.6 #1 0x00007f83494b84c0 in socket_do_iteration (transport=0x8a0120, flags=6, timeout_milliseconds=<optimized out>) at dbus-transport-socket.c:1125 #2 0x00007f83494b739d in _dbus_transport_do_iteration (transport=0x8a0120, flags=<optimized out>, timeout_milliseconds=<optimized out>) at dbus-transport.c:978 #3 0x00007f83494a2505 in _dbus_connection_do_iteration_unlocked (connection=0x843970, pending=<optimized out>, flags=6, timeout_milliseconds=25000) at dbus-connection.c:1232 #4 0x00007f83494a3889 in _dbus_connection_block_pending_call (pending=0xb92ff0) at dbus-connection.c:2405 #5 0x00007f83494a2dec in dbus_connection_send_with_reply_and_block (connection=0x843970, message=0x8b0260, timeout_milliseconds=-1, error=0x7fffd5b73ae0) at dbus-connection.c:3514 #6 0x00007f834c252f05 in q_dbus_connection_send_with_reply_and_block (error=0x7fffd5b73ae0, timeout_milliseconds=-1, message=0x8b0260, connection=<optimized out>) at qdbus_symbols_p.h:135 #7 QDBusConnectionPrivate::sendWithReply (this=0x7ea570, message=..., sendMode=<optimized out>, timeout=-1) at qdbusintegrator.cpp:1904 #8 0x00007f834c253819 in QDBusConnectionPrivate::findMetaObject (this=0x7ea570, service=..., path=..., interface=..., error=...) at qdbusintegrator.cpp:2356 #9 0x00007f834c26249b in QDBusInterfacePrivate::QDBusInterfacePrivate (this=0xa47df0, serv=..., p=..., iface=..., con=...) at qdbusinterface.cpp:158 #10 0x00007f834c2625d9 in QDBusInterface::QDBusInterface (this=0xb4f6b0, service=..., path=..., interface=..., connection=..., parent=0x0) at qdbusinterface.cpp:220 #11 0x00007f834f98dbbb in KSystemTimeZonesPrivate::instance () at /usr/src/debug/kdelibs-4.9.0/kdecore/date/ksystemtimezone.cpp:304 #12 0x00007f834f98e2b9 in KSystemTimeZones::local () at /usr/src/debug/kdelibs-4.9.0/kdecore/date/ksystemtimezone.cpp:201 #13 0x00007f834f978780 in KDateTime::toLocalZone (this=0xb90188) at /usr/src/debug/kdelibs-4.9.0/kdecore/date/kdatetime.cpp:931 #14 0x00007f834868a853 in KFileItemPrivate::setTime (this=<optimized out>, mappedWhich=<optimized out>, time_t_val=<optimized out>) at /usr/src/debug/kdelibs-4.9.0/kio/kio/kfileitem.cpp:316 #15 0x00007f834868a984 in init (this=0xb90110) at /usr/src/debug/kdelibs-4.9.0/kio/kio/kfileitem.cpp:242 #16 KFileItemPrivate::init (this=0xb90110) at /usr/src/debug/kdelibs-4.9.0/kio/kio/kfileitem.cpp:209 … 5.) Akonadi Nepomuk Feeder uses 100% CPU. Backtrace (it's a bit different): #0 0x00007fdd7705b803 in select () from /lib64/libc.so.6 #1 0x00007fdd71f34681 in waitForReadyRead (timeout=30000, this=0x75a210) at /usr/src/debug/soprano-2.8.0/client/socket.cpp:86 #2 Soprano::Socket::waitForReadyRead (this=0x75a210, timeout=30000) at /usr/src/debug/soprano-2.8.0/client/socket.cpp:75 #3 0x00007fdd71f3750a in Soprano::SocketStream::read (this=0x7fff052cfc90, data=0x7fff052cfccc "", size=4) at /usr/src/debug/soprano-2.8.0/client/socketstream.cpp:254 #4 0x00007fdd71f37d96 in Soprano::SocketStream::readUnsignedInt32 (this=0x7fff052cfc90, i=@0x7fff052cfccc: 0) at /usr/src/debug/soprano-2.8.0/client/socketstream.cpp:340 #5 0x00007fdd71f3a52f in Soprano::Client::ClientConnection::executeQuery (this=0x8148f0, modelId=657650309, query=..., type=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/soprano-2.8.0/client/clientconnection.cpp:244 #6 0x00007fdd71f3cc63 in Soprano::Client::ClientModel::executeQuery (this=<optimized out>, query=..., language=<optimized out>, userQueryLanguage=...) at /usr/src/debug/soprano-2.8.0/client/clientmodel.cpp:101 #7 0x00007fdd77aa1c41 in Nepomuk::MainModel::executeQuery (this=0x7fde90, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/kdelibs-4.9.0/nepomuk/core/nepomukmainmodel.cpp:187 #8 0x0000000000412390 in FeederQueue::processNextCollection (this=0x7e3da0) at /usr/src/debug/kdepim-runtime-4.9.0/agents/nepomukfeeder/feederqueue.cpp:149 #9 0x0000000000412dc8 in FeederQueue::collectionFullyIndexed (this=0x7e3da0) at /usr/src/debug/kdepim-runtime-4.9.0/agents/nepomukfeeder/feederqueue.cpp:240 #10 0x0000000000413425 in FeederQueue::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.0/build/agents/nepomukfeeder/feederqueue.moc:169 … I use the http://download.opensuse.org/repositories/KDE:/Release:/49/openSUSE_12.1/ repository for KDE 4.9. GLibc version number: 2.14.1-14.27.1, x86_64 (from openSUSE 12.1 Upgrade repo). Kernel: linux-suse 3.1.10-1.16-desktop Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775028 https://bugzilla.novell.com/show_bug.cgi?id=775028#c1 --- Comment #1 from Ákos Szőts <szotsaki@gmail.com> 2012-08-11 10:02:51 UTC --- Created an attachment (id=502051) --> (http://bugzilla.novell.com/attachment.cgi?id=502051) Callgrind output from the starting of KMail First, I reinstalled the whole system (force upgraded all packages via YaST and removed the obsolete ones). Then I installed the debuginfo packages for kmail, glibc and glibc-devel. And finally I created a callgrind graph (attached) while KMail was starting. "Normal" start-up time for KMail with this bug is about 30 seconds. Despite the fact that all the required debuginfo packages had been installed, valgrind did not find many of them (or those were not created properly). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775028 https://bugzilla.novell.com/show_bug.cgi?id=775028#c2 --- Comment #2 from Ákos Szőts <szotsaki@gmail.com> 2012-08-15 09:58:55 UTC --- How can I help you debugging or reproducing this bug? It's getting a little bit tiresome waiting a minute for every KDE-related action. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775028 https://bugzilla.novell.com/show_bug.cgi?id=775028#c3 --- Comment #3 from Ákos Szőts <szotsaki@gmail.com> 2012-09-01 16:44:57 UTC --- Is there any advancement regarding to this bug? I provided full backtraces, callgrind graphs. What can I do more helping to track down this issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775028 https://bugzilla.novell.com/show_bug.cgi?id=775028#c Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrippe@opensuse.org AssignedTo|kde-maintainers@suse.de |toddrme2178@gmail.com Summary|KDE 4.9 programs hang in |[KR49] KDE 4.9 programs |libc's poll() function |hang in libc's poll() | |function -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=775028 http://bugzilla.novell.com/show_bug.cgi?id=775028#c4 Todd R <toddrme2178@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |szotsaki@gmail.com Flags| |needinfo?(szotsaki@gmail.co | |m) --- Comment #4 from Todd R <toddrme2178@gmail.com> --- Is this bug still valid? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=775028 http://bugzilla.novell.com/show_bug.cgi?id=775028#c5 --- Comment #5 from Ákos Szőts <szotsaki@gmail.com> --- No; but thank you for asking. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=775028 http://bugzilla.novell.com/show_bug.cgi?id=775028#c6 Todd R <toddrme2178@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Todd R <toddrme2178@gmail.com> --- Fixed according to reporter -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com