Re: GLib CRITICAL when closing Balsa

Peter Bloomfield <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
On 01/19/2019 12:56:41 PM Sat, Peter Bloomfield wrote:
> Hi Albrecht,
> 
> On 01/19/2019 07:12:38 AM Sat, Albrecht Dreß wrote:
>> Hi all,
>> 
>> very rarely when closing Balsa, I see the following message:
>> 
>> CRITICAL[GLib]: g_source_set_ready_time: assertion 'source->priv != NULL' failed
>> 
>> Although I /had/ “set env G_DEBUG fatal-criticals” set in gdb, I did not get a backtrace.  Any idea idea where this comes from?  It seems to be /very/ hard to reproduce, though.
>> 
>> Cheers,
>> Albrecht.
> 
> I very consistently get this on exit if I've viewed any HTML message parts:

I recently noticed that the CRITICAL happens only if I've viewed more than one HTML part (or even the same part, viewed more than once). Evidently a GSource is getting trashed; sometimes the 'priv' member is NULL, and the CRITICAL is issued; sometimes it's non-NULL, but a garbage address is passed as a GMainContext and g_mutex_lock() seg-faults.

A trivial test case that loads a WebkitWebView in a window, then destroys it and loads another, can be closed without error, so it's not that simple. Still digging…

Peter

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCXHAPfgAKCRAfX9S1uSp0
9aYSAKCpJ6jlBUd4dVMgwRvaXZjXlY99xgCeOTt0i6htD95kI9mhmCNIx6E+5Uw=
=3xjy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.