Re: Strange crash in mid-air

Peter Bloomfield <[email protected]> Thu, 18 Apr 2019 15:08:55 -0400
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi All!

On 04/17/2019 02:51:46 PM Wed, Pawel Salek via balsa-list wrote:
> Yes, this looks like a incorrect concurrent use of gtk.
> 
> On Wed 17 Apr 2019, 18:31 Albrecht Dreß, <[email protected]> wrote:
> 
> > Hi all,
> >
> > I observed a segfault when Balsa was idle, just listening on 4 open IMAP
> > folders, see the bt below.  Might this be caused by a race when multiple
> > threads try to call gtk_progress_bar_set_text()?
> >
> > Cheers,
> > Albrecht.

I've occasionally seen something similar, but I never noticed that the issue was not in the main thread!

I just pushed some changes, making all calls that touch the GtkProgressBar from an idle handler. That should fix it.

Regards,

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-----

iFwEABECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCXLjLRwAKCRAfX9S1uSp0
9e7eAJio3ebTVXftSfq+c386iNMCUpNbAKCQRedMF5mH/ahYVv0W8G9EbqUAEg==
=7Z+y
-----END PGP SIGNATURE-----