Re: [evolution-patches] [PATCH] prevent evolution from crashing if new-mail-notification is enabled but D-BUS session daemon is not running



Hi,

On Thu, 2005-05-12 at 10:14 +0530, Not Zed wrote:
> On Wed, 2005-05-11 at 11:01 +0200, Timo Hoenig wrote:
[...]
> > 
> >       * Since the connection to the session bus is only established once
> >         at initialization of the plugin, Evolution will die once the
> >         D-Bus session bus is killed.
> 
> How come?  Are you saying the life of the object returned by get bus
> is only the scope of the call in which it was made?

My above statement was wrong.  I was recalling debugging some weeks ago,
today I could not reproduce with a recent D-Bus version.  Evolution will
_not_ crash if the D-Bus session bus dies.

> Are you saying that dbus is so braindead that it doesn't handle these
> cases internally?
> 
> >       * If  dbus_message_new_signal()  fails (e.g. OOM), NULL is
> >         returned.  Once we send such an invalid message to the session
> >         bus, Evolution will die.
> 
> Evolution will die automaticaly if it is out of memory.  glib enforces
> this.

OK, fine.

[...]

Thanks,

   Timo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]