Thanks, this tells me what the bug is, but not where...

On Thu, 21 Apr 2011 at 12:19:13 +0200, Rémy Sanchez wrote:
>     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.

This indicates a bug in whatever's using libdbus (looks like QtDBus, or
something higher up the stack), which wasn't previously detected by libdbus:
the caller is trying to send a boolean value that isn't either 0 or 1. We
fixed that (among other undiagnosed invalid messages) in 1.4.8.

If I'm reading the source code correctly, the invalid message would previously
have been rejected by dbus-daemon, causing dbus-daemon to disconnect kdeinit,
so I'm surprised nobody noticed this before...

> One funny thing however is that with hand-compiled dbus, it's kdeinit4
> that crashes, and not plasma-desktop anymore.

One of the Debian patches (that you didn't apply) makes warnings default to
non-fatal; in the Debian version, you have to use DBUS_FATAL_WARNINGS=1 to get
fatal warnings, as I mentioned in my earlier mail. So, you're getting the crash
much earlier.

If I remember correctly, kdeinit is a launcher sort of thing which links
against common KDE libraries to get the dynamic linking done early, then
forks and turns the child process into whatever KDE application you actually
wanted. Am I right? If so, can you tell whether the crash happened in the
parent or the child, and if in the child, whether it already morphed into the
application?

> #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

If you know how to drive gdb, it'd be great to find out what 0x15d5160 is and
which signal it's emitting.

Thanks,
    S



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to