GNOME Bugzilla – Bug 737711
quick open crashes when I press Enter
Last modified: 2019-03-23 20:54:23 UTC
I'm running gedit from git master on Ubuntu 14.10 with GTK 3.14.1. 1. Enable the Quick Open plugin. 2. Press Ctrl+Alt+O to open the Quick Open dialog. 3. Press Enter to select the first file in the list. gedit will crash with a segmentation fault. Here's a stack trace: (gdb) where
+ Trace 234156
a bug in ubuntu's gtk?
It can't be, since I built GTK myself from the gtk-3-14 branch with no Ubuntu patches applied. Nacho, are you able to reproduce this?
can't reproduce it in jhbuild and rawhide
I can reproduce this 100% when running gedit with GTK_IM_MODULE=xim as implied by the backtrace. Anyone else?
crash for me too with GTK_IM_MODULE=xim
Created attachment 287522 [details] [review] fix This patch fixes this on my machine.
thats a gedit patch
True. Currently this is classified as a gedit bug. Matthias, do you believe this is a GTK bug and should be fixed there?
I haven't looked at the bug at all, just moved the bug back to where the patch applies. Feel free to move it back to gtk, but my expectation of fixes for the xim module magically appearing is pretty low. I recommend using IBus.
I'd still be inclined to commit this patch to gedit - it's a simple 2-line fix that will prevent anyone else from being burned by this if they're using xim. (I myself had to disable IBus to work around another problem.) Nacho or other gedit developers, what do you think?
It's kind of lame, but I'm fine if it fixes the issue I guess. Please add comments though why it's required to destroy in idle, so future us doesn't think it's weird and removes it.
Created attachment 287673 [details] [review] updated patch OK - I've updated the patch with comments as requested. Let me know if you think this is OK to push.
Review of attachment 287673 [details] [review]: Looks good to me
OK - I committed this, and also backported to gnome-3-12 and gnome-3-10.