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
Attachment:
pgp3mpxnzMt4c.pgp
Description: PGP signature