GNOME Bugzilla – Bug 751595
Invalid object type 'EggSearchBar'
Last modified: 2015-06-29 07:34:25 UTC
Hi. Running gnome-builder 3.16.3 on OpenBSD crashes at startup with: Gtk[-1696419776]: CRITICAL: Error building template class 'GbGreeterWindow' for an instance of type 'GbGreeterWindow': Invalid object type 'EggSearchBar' on line 72 That's actually a segfault. I can rebuild gnome-builder with debug sympbols provide a backtrace if needed, but first I wanted to make sure that wasn't something obvious. Thanks.
Just to double check, you aren't using --enable-lto right? (I know some Arch packages had that enabled and had similar'ish issues).
The other way to fix this, generally speaking, is to put something like: g_type_ensure (EGG_TYPE_SEARCH_BAR); in the gb_greeter_window_class_init().
Created attachment 306263 [details] [review] reference EggSearchBar Hi Christian. Thanks for the hint. I am not using "--enable-lto". The attached patch fixes the issue for me; not sure that's something that can be pushed as is though...
Review of attachment 306263 [details] [review]: LGTM
Thank you very much for the prompt answer. Pushed as 8cf4174ab8e002f7be60283f693a5764afc99173