On 04/20/2011 09:42 PM, Michael Biebl wrote: > could you do a git bisect run on git://anongit.freedesktop.org/dbus/dbus to > find > the faulty commit?
Sure : bb32afe831ca6e5913e7dd6035d1167c09c54e29 is the first bad commit commit bb32afe831ca6e5913e7dd6035d1167c09c54e29 Author: Simon McVittie <simon.mcvittie__collabora.co.uk> Date: Thu Mar 3 16:29:17 2011 +0000 dbus_message_iter_append_basic: validate booleans too Sending, for instance, ((dbus_bool_t) 666) is a programming error and should be diagnosed as such. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16338 Reviewed-by: Cosimo Alfarano <cosimo.alfar...@collabora.co.uk> One funny thing however is that with hand-compiled dbus, it's kdeinit4 that crashes, and not plasma-desktop anymore. I've attached the stack trace, and it seems pretty different (including the fact that this time, there is a warning from dbus). Of course, after that everything from KDE stops working. I'm not quite sure however that I did use a correct method to compile dbus. In short : make an archive of the commit to test, extract it over the source package for 1.4.6, debuild the thing, install packages, and then reboot. I guess that this skipped Debian-specific patches ? -- Rémy
Application: KDE Daemon (kdeinit4), signal: Aborted [KCrash Handler] #5 0x00007f9bfa97e165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f9bfa980f70 in abort () at abort.c:92 #7 0x00007f9bf5ff5fa5 in _dbus_abort () at dbus-sysdeps.c:94 #8 0x00007f9bf5fed055 in _dbus_warn_check_failed (format=0x7f9bf5ffc290 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289 #9 0x00007f9bf5fdf9ac in dbus_message_iter_append_basic (iter=0x7fffb5fcf7e0, type=98, value=0x7fffb5fcf74c) at dbus-message.c:2514 #10 0x00007f9bfa3ed1b9 in append (this=0x7fffb5fcf7d0, arg=...) at qdbusmarshaller.cpp:78 #11 QDBusMarshaller::appendVariantInternal (this=0x7fffb5fcf7d0, arg=...) at qdbusmarshaller.cpp:403 #12 0x00007f9bfa3c7ee3 in QDBusMessagePrivate::toDBusMessage (message=<value optimized out>, error=0x7fffb5fcfae0) at qdbusmessage.cpp:188 #13 0x00007f9bfa3b6e2a in QDBusConnectionPrivate::send (this=0x14f62a0, message=...) at qdbusintegrator.cpp:1807 #14 0x00007f9bfa3bd896 in QDBusConnectionPrivate::deliverCall (this=0x14f62a0, object=0x15d5160, msg=..., metaTypes=..., slotIdx=22) at qdbusintegrator.cpp:954 #15 0x00007f9bfa3be7be in QDBusConnectionPrivate::activateCall (this=0x14f62a0, object=0x15d5160, flags=273, msg=...) at qdbusintegrator.cpp:844 #16 0x00007f9bfa3befee in QDBusConnectionPrivate::activateObject (this=0x14f62a0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409 #17 0x00007f9bfa3bf228 in QDBusActivateObjectEvent::placeMetaCall (this=0x154eb70) at qdbusintegrator.cpp:1523 #18 0x00007f9bfbe31fea in QObject::event (this=0x16a9350, e=<value optimized out>) at kernel/qobject.cpp:1217 #19 0x00007f9bfb1bed14 in QApplicationPrivate::notify_helper (this=0x15067c0, receiver=0x16a9350, e=0x154eb70) at kernel/qapplication.cpp:4462 #20 0x00007f9bfb1c38da in QApplication::notify (this=<value optimized out>, receiver=0x16a9350, e=0x154eb70) at kernel/qapplication.cpp:4341 #21 0x00007f9bfc371bd6 in KApplication::notify (this=0x7fffb5fd0bd0, receiver=0x16a9350, event=0x154eb70) at ../../kdeui/kernel/kapplication.cpp:302 #22 0x00007f9bfbe1dc8c in QCoreApplication::notifyInternal (this=0x7fffb5fd0bd0, receiver=0x16a9350, event=0x154eb70) at kernel/qcoreapplication.cpp:731 #23 0x00007f9bfbe214b5 in sendEvent (receiver=0x0, event_type=0, data=0x144e5e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x144e5e0) at kernel/qcoreapplication.cpp:1372 #25 0x00007f9bfbe48bf3 in sendPostedEvents (s=0x1509160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #26 postEventSourceDispatch (s=0x1509160) at kernel/qeventdispatcher_glib.cpp:277 #27 0x00007f9bf71d84a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #28 0x00007f9bf71d8c80 in ?? () from /lib/libglib-2.0.so.0 #29 0x00007f9bf71d8f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0 #30 0x00007f9bfbe48d8f in QEventDispatcherGlib::processEvents (this=0x144f920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #31 0x00007f9bfb2654de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #32 0x00007f9bfbe1d022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #33 0x00007f9bfbe1d26c in QEventLoop::exec (this=0x7fffb5fd0b20, flags=...) at kernel/qeventloop.cpp:201 #34 0x00007f9bfbe2176b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #35 0x00007f9bec7eb577 in kdemain (argc=1, argv=0x14e1ca0) at ../../kded/kded.cpp:932 #36 0x0000000000406ed3 in launch (argc=1, _name=0x40ac7b "kded4", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40ab1e "0") at ../../kinit/kinit.cpp:729 #37 0x00000000004093d2 in main (argc=4, argv=0x7fffb5fd1b58, envp=0x7fffb5fd1b80) at ../../kinit/kinit.cpp:1800