Bug 174387 - kded4 crashes with SIGSEGV (at startkde time, but also from konsole)
Summary: kded4 crashes with SIGSEGV (at startkde time, but also from konsole)
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 174536 175427 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-05 23:12 UTC by Holger Schurig
Modified: 2008-11-27 20:06 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
I'ts rather raw, and has more than needed. (1.03 KB, patch)
2008-11-08 15:18 UTC, Marcos Dione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schurig 2008-11-05 23:12:00 UTC
Version:           kded4 from SVN r880551 (using Devel)
Compiler:          g++ (Debian 4.3.2-1) 4.3.2  
OS:                Linux
Installed from:    Compiled sources

I just compile via kdebuild-svn 1.7.1 all modules up to and including to kdebase (e.g. no further modules like kdemultimedia etc).

When I run startx (and this startkde), I get a Dr.Konqi report about a crash (see below). KDE4 starts anyway (but some things don't work, e.g. keyboard settings stuff in KControl).

Now I open konsole and enter "kded4 --check", which works without a crash. But "kded4" also gives a crash report:

Application: KDE Daemon (kded4), signal SIGSEGV

Thread 1 (Thread 0xb639e6c0 (LWP 2433)):
[KCrash Handler]
#6  KdeDGlobalAccel::Component::currentContext (this=0x84539d0) at /usr/src/kdesvn/kdebase/runtime/kdedglobalaccel/component.cpp:170
#7  0xb4d6297d in KdedGlobalAccel::doRegister (this=0x84a1ab0, actionId=@0x848dc40) at /usr/src/kdesvn/kdebase/runtime/kdedglobalaccel/kdedglobalaccel.cpp:338
#8  0xb4d635ea in KdedGlobalAccel::qt_metacall (this=0x84a1ab0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd802b0)
    at /usr/src/kdesvn/build/kdebase/runtime/kdedglobalaccel/moc_kdedglobalaccel.cpp:135
#9  0xb76d8132 in QDBusConnectionPrivate::deliverCall (this=0x83ae3d0, object=0x84a1ab0, msg=@0x84bc258, metaTypes=@0xbfd803f8, slotIdx=19) at /usr/src/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:849
#10 0xb76d91d1 in QDBusConnectionPrivate::activateCall (this=0x83ae3d0, object=0x84a1ab0, flags=241, msg=@0x84bc258) at /usr/src/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:754
#11 0xb76d95b6 in QDBusConnectionPrivate::activateObject (this=0x83ae3d0, node=@0x84bc244, msg=@0x84bc258, pathStartPos=24) at /usr/src/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:1306
#12 0xb76d9a3a in QDBusActivateObjectEvent::placeMetaCall (this=0x84bc218) at /usr/src/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:1400
#13 0xb762a3d1 in QObject::event (this=0x84a1ab0, e=0x84bc218) at /usr/src/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1152
#14 0xb6c1660c in QApplicationPrivate::notify_helper (this=0x83b53f0, receiver=0x84a1ab0, e=0x84bc218) at /usr/src/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#15 0xb6c1d6ae in QApplication::notify (this=0xbfd80c88, receiver=0x84a1ab0, e=0x84bc218) at /usr/src/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#16 0xb7b1257d in KApplication::notify (this=0xbfd80c88, receiver=0x84a1ab0, event=0x84bc218) at /usr/src/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#17 0xb761c0d1 in QCoreApplication::notifyInternal (this=0xbfd80c88, receiver=0x84a1ab0, event=0x84bc218) at /usr/src/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#18 0xb761ca23 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x83a3310) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#19 0xb761cbbd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#20 0xb7642aff in postEventSourceDispatch (s=0x83b74e0) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:214
#21 0xb665a1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb665d853 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x083b7458 in ?? ()
#24 0x00000000 in ?? ()
Comment 1 Stefan Böhmann 2008-11-06 22:17:58 UTC
Confirming for r880904.
Comment 2 Holger Schurig 2008-11-07 09:08:53 UTC
Switched to svn branch 4.1, this time without qt-copy (used qt from Debian unstable instead).

Now everything is fine.
Comment 3 Marcos Dione 2008-11-08 15:18:47 UTC
Created attachment 28414 [details]
I'ts rather raw, and has more than needed.
Comment 4 Marcos Dione 2008-11-08 15:21:35 UTC
forgot to mention: I only saw this crash on a first run. following runs works fine. deleting .kde and trying again makes it show again.
Comment 5 Médéric Boquien 2008-11-08 15:45:16 UTC
Hello,

For me the crash happens each time i start KDE SVN trunk (and i use the standard Qt packages from OpenSuSE). Though after applying the patch, everything works as expected. I do not know if it is the right fix but at least it works.

Thanks.
Comment 6 Marcos Dione 2008-11-10 02:13:30 UTC
seems like trueg commited a similar fix on revision 881949.
Comment 7 Holger Schurig 2008-11-16 19:14:48 UTC
Doesn't happen with current trunk anymore.
Comment 8 David Faure 2008-11-27 17:21:12 UTC
*** Bug 174536 has been marked as a duplicate of this bug. ***
Comment 9 David Faure 2008-11-27 20:06:14 UTC
*** Bug 175427 has been marked as a duplicate of this bug. ***