Subject: Re: bug#45277: D-Bus crashes and DND errors

From: Michael Albinus <[email-masked]>
Date: Thu, 17 Dec 2020 19:38:22 +0100

Juri Linkov <[email-masked]> writes:

Hi Juri,

> These crashes occur only in optimized builds.
> I tried to print DBUS events in dbus-handle-event
> to stdout, so in case of the crash, at least stdout
> might show the cause of the problem, but can't find
> a Lisp function that prints to stdout.  I tried
> to add in dbus-handle-event:
>
>   (let ((noninteractive t)) (message "DBUS: %S" event))
>
> but it doesn't print to stdout.

dbusbind.c is prepared to write traces. Pls recompile dbusbind.o with
"make MYCPPFLAGS='-DDBUS_DEBUG'", as indicated in that file (line 98).

Best regards, Michael.