GNOME Bugzilla – Bug 768935
Segfault in gnome-builder master
Last modified: 2016-07-18 21:33:23 UTC
Backtrace:
+ Trace 236469
Note: I'm not using any of the new functionality (building, running, flatpaks, etc.), just the editor + the code assistance plugin.
Interestingly (and annoyingly), it happens reproducibly as soon as I open one particular file in one of my projects. I tried to remove the drafts folder and to remove the cache to no effect.
Hrmm, happening when finalizing a GSubprocess. I wonder if it is related to my gettext cleanups last night in commit d1a249
Can you switch to a frame with the task in scope and do this in gdb: call g_task_get_source_tag(task) and see if we get a function pointer? I've been really bad about setting the source tag, it would definitely help here... Failing that, we could try something like: call g_task_get_source_object(task) and then call g_type_name(((GObject*)$1)->g_type_instance->g_class->g_type) (or something like that)
Created attachment 331749 [details] [review] Gettext: fix invalid free of unowned object g_subprocess_get_stderr_pipe is (transfer none), so we cannot assign it to an autoptr variable, as that will attempt to release the reference when going out of scope.
Oops! Thanks for tracking this down!! Attachment 331749 [details] pushed as 7e98099 - Gettext: fix invalid free of unowned object