GNOME Bugzilla – Bug 704267
regression gsourceclosure: segfault in gedit file chooser
Last modified: 2013-07-22 13:34:56 UTC
Just opening the file chooser and press Control-L, then type:
+ Trace 232244
Thread 1 (Thread 0x7ffff7fd1980 (LWP 23036))
(gdb)
probably gtk?
The bug comes from glib: 1da47d5ede3384105c035638fb4eb533d8989e20 is the first bad commit commit 1da47d5ede3384105c035638fb4eb533d8989e20 Author: Dan Winship <danw@gnome.org> Date: Sun Jun 2 19:59:23 2013 -0300 gsourceclosure: use g_cclosure_marshal_generic For the glib-defined source types, and any source type that defines a closure callback but not a closure marshal, use g_cclosure_marshal_generic. And then remove all the other remaining source closure marshals. https://bugzilla.gnome.org/show_bug.cgi?id=701511
In gedit, it occurs also in the search and replace: Search -> Replace... -> type something in the "Search for" text entry.
Created attachment 249451 [details] [review] gsourceclosure: fix idle/timeout/signal closures, add child watch support And add a test for all source types.
Review of attachment 249451 [details] [review]: yay, tests
Attachment 249451 [details] pushed as 72a7e82 - gsourceclosure: fix idle/timeout/signal closures, add child watch support
I'm getting: (/home/walters/src/glib/gobject/tests/.libs/lt-closure:23298): GLib-CRITICAL **: g_main_loop_quit: assertion 'loop != NULL' failed
Created attachment 249796 [details] [review] Use correct prototype
Comment on attachment 249796 [details] [review] Use correct prototype oops
https://git.gnome.org/browse/glib/commit/?id=00f5c63621d8a0e67562deaf529b6a9c9362e2d7