Mitchell
unread,Sep 30, 2021, 4:26:02 PM9/30/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Scintilla mailing list
Hi Neil,
After updating to Scintilla 5.1.3, I'm getting random crashes when running an automated GUI test suite for my application. I've tracked it down to
changeset 8928 (96abb4601a74) Hold onto global GtkSettings object as used multiple times.
+ if (settings) {
+ g_object_unref(settings);
+ }
If I uncomment this block from the changeset, the crashes go away. I think unrefing the default settings is probably not a good idea, but I don't know enough about Gtk internals to say that definitively. My application has multiple Scintilla views, so perhaps that is the cause.
Cheers,
Mitchell