Subject: Re: bug#37331: 27.0.50; segfault when starting from pdump and using dbus

From: Eli Zaretskii <[email-masked]>
Date: Mon, 11 Oct 2021 19:00:57 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Mon, 11 Oct 2021 16:28:10 +0200
> Cc: Paul Eggert <[email-masked]>, [email-masked]
> 
> (when (featurep 'dbusbind)
>   (dbus-ignore-errors
>     (dbus-init-bus :system))
>   (dbus-ignore-errors
>     (dbus-init-bus :session)))
> 
> But this isn't run when dbus.el was present in Emacs when it was dumped,
> so these inits have to be run in a different way.  I'm not sure where
> init code like this is supposed to happen in a pdumped Emacs, though.
> Anybody?

We don't yet have good support for re-dumping Emacs, so these
questions don't have good "canonical" answers.  The infrastructure is
not there.