GNOME Bugzilla – Bug 473208
ghex crash in search
Last modified: 2013-02-19 16:08:30 UTC
Steps to reproduce: If search field become empty, ghex crashes (OpenSUSE 10.3 beta1 x86_64, GNOME 2.19). How to reproduce: 1. Open Any file 2. Press Ctrl+F 3. Type 00 and press BackSpace Stack trace:
+ Trace 160109
Other information:
Created attachment 94866 [details] [review] ghex-empty-search-crash.patch g_locale_to_utf8 says nothing about accepting NULL as opsysstring. Attached patch fixes crash, but console output says ther it is not complete. (ghex2:16739): Gtk-CRITICAL **: gtk_text_buffer_set_text: assertion `text != NULL' failed (ghex2:16739): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
Can you get freeze break approval for this today, so we can get the definite crash fix in for 2.20? If possible, it would be good to have the CRITICALs fixed as well. They will have to be fixed soon also, whether they are fixed now or not. Please get freeze approval and commit the patch if it is approved.
Any news on this Stanislav?
I did not yet researched on fixing Gtk-CRITICALs, but with the patch it at least does not crash. I don't know the freeze approval workflow at all.
stanislav, can you please commit?
The CRITICALs also need to be fixed. They will cause a crash in the development release of gnome by default. So, I'm going to change this to needs-work. Can we please get those fixed and get this patch in? Thanks.
Stanislav, please fix the patch to resolve the CRITICALS as well.
(NEEDINFO means you need additional info from the reporter. this is not the case at all here.)
*** Bug 532184 has been marked as a duplicate of this bug. ***
Errr. is this actually still valid? I see the openSUSE package still carries this patch...
It seems that it is no more needed. It was fixed differently in upstream - search window always carries at least "0".