GNOME Bugzilla – Bug 765993
segfault in ide_source_view_get_definition_on_mouse_over_cb
Last modified: 2016-05-05 09:59:41 UTC
Hi. I am able to easily crash gnome-builder 3.20.2 on OpenBSD/amd64 when selecting some text. It's not 100% reproducible, but eventually after 5 minutes of using it, it will end up segfaulting with:
+ Trace 236227
I can rebuild glib and gnome-builder with debug symbols if need be; unless the problem already looks obvious to you guys :-) Thanks.
Created attachment 327325 [details] [review] source-view: keep a reference to word start and end marks These are borrowed references when creating, we need to have our own reference to them during the lifecycle of the asynchronous callback.
Pretty confident this will fix it, but since I didn't see the issue (somewhat timing related) it would be nice if you could verify. I'll push to the 3.20 stable branch as well. Attachment 327325 [details] pushed as 670f22f - source-view: keep a reference to word start and end marks
Hi Christian. Yeah that seemed to have done the trick. >10 minutes of usage without a crash \o/ Thank you very much.