[Bug 276214] New: kded4 crashes when dbus exits

Chris K. Jester-Young cky944 at gmail.com
Tue Jun 21 20:41:15 BST 2011


https://bugs.kde.org/show_bug.cgi?id=276214

           Summary: kded4 crashes when dbus exits
           Product: kdelibs
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: kded
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: cky944 at gmail.com


Application: kded4 ($Id$)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-virtual x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- Unusual behavior I noticed:

On occasion, dbus gets into a busy loop, and has to be terminated. When this
happens, kded4 and printer-applet both die.

I'm not sure if this is relevant for reproducing the behaviour, but during the
dbus busy loop, stracing dbus gives the following output over and over (with
different timestamps returned from clock_gettime, of course):

clock_gettime(CLOCK_MONOTONIC, {513039, 593668877}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN},
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13,
events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16,
events=POLLIN}, {fd=17, events=POLLIN}, {fd=18, events=POLLIN}, {fd=21,
events=POLLIN}, {fd=20, events=POLLIN}, {fd=22, events=POLLIN}, {fd=23,
events=POLLIN}, {fd=19, events=POLLIN}, {fd=25, events=POLLIN}, {fd=26,
events=POLLIN}, {fd=27, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29,
events=POLLIN}, {fd=30, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32,
events=POLLIN}, {fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=35,
events=POLLIN}, {fd=36, events=POLLIN}, {fd=37, events=POLLIN}, {fd=38,
events=POLLIN}, {fd=39, events=POLLIN}, ...], 1018, -1) = 1 ([{fd=3,
revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {513039, 596951506}) = 0
accept4(3, 0x7fff3c5e7810, [16], SOCK_CLOEXEC) = -1 EMFILE (Too many open
files)
fcntl(-1, F_GETFD)                      = -1 EBADF (Bad file descriptor)

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1eb2e9d780 (LWP 1224))]

Thread 2 (Thread 0x7f1e971bb700 (LWP 1285)):
#0  0x00007f1eb0750f03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f1eadb68104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1eadb689f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1e978adc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f1eadb8f3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1eae227d8c in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f1eb075e04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1eb2e9d780 (LWP 1224)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f1eb1b21213 in QObject::~QObject (this=0x209a0c0, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:861
#8  0x00007f1eb1b217f9 in QObject::~QObject (this=0x209a0c0, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:964
#9  0x00007f1eaf161df0 in ~QDBusAbstractInterfacePrivate (this=0x20a3a20,
__in_chrg=<value optimized out>) at qdbusabstractinterface_p.h:87
#10 QDBusAbstractInterfacePrivate::~QDBusAbstractInterfacePrivate
(this=0x20a3a20, __in_chrg=<value optimized out>) at
qdbusabstractinterface_p.h:87
#11 0x00007f1eb1b21645 in cleanup (this=0x20a3900, __in_chrg=<value optimized
out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=0x20a3900, __in_chrg=<value optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#13 QObject::~QObject (this=0x20a3900, __in_chrg=<value optimized out>) at
kernel/qobject.cpp:818
#14 0x00007f1eaf143ea9 in QDBusConnectionInterface::~QDBusConnectionInterface
(this=0x20a3900, __in_chrg=<value optimized out>) at
qdbusconnectioninterface.cpp:179
#15 0x00007f1eb1b1cc14 in QObjectPrivate::deleteChildren (this=0x209a1c0) at
kernel/qobject.cpp:1964
#16 0x00007f1eb1b215f4 in QObject::~QObject (this=0x209a0c0, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:946
#17 0x00007f1eaf14bc13 in QDBusConnectionPrivate::~QDBusConnectionPrivate
(this=0x209a0c0, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:998
#18 0x00007f1eaf14bf49 in QDBusConnectionPrivate::~QDBusConnectionPrivate
(this=0x209a0c0, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:1016
#19 0x00007f1eaf1435b3 in ~QDBusDefaultConnection (this=0x7f1eaf3a4c28,
__in_chrg=<value optimized out>) at qdbusconnection.cpp:977
#20 QGlobalStaticDeleter<QDBusDefaultConnection>::~QGlobalStaticDeleter
(this=0x7f1eaf3a4c28, __in_chrg=<value optimized out>) at
../../include/QtCore/../../src/corelib/global/qglobal.h:1822
#21 0x00007f1eb06b1961 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#22 0x0000000000406dda in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list