GNOME Bugzilla – Bug 732401
Can't start - error about missing 'key09' key in 'org.gnome.robots'
Last modified: 2014-08-04 21:38:26 UTC
When I try to run gnome-robots (build from git mater) I see this error: (gnome-robots:19186): GLib-GIO-ERROR **: Settings schema 'org.gnome.robots' does not contain a key named 'key09' Trace/breakpoint trap
I see this crash as well with gnome-robots built from master. Readding the keys key09, key10 and key11 that were removed in the commit https://git.gnome.org/browse/gnome-robots/commit/?id=66a34214ea4a5cab3d9762e084c2968addf93aff to the file /data/org.gnome.robots.gschema.xml makes gnome-robots run again for me. It is however unclear to me why this is needed as the code no longer contains any references to key09, key10 or key11. CC:ing committer Michael Catanzaro.
Sorry for missing this, Yosef. (In reply to comment #1) > It is however unclear to me why this is needed as the code no longer contains > any references to key09, key10 or key11. Yeah, I'm pretty confused too. I can't reproduce this and I don't see what I've missed, so could one of you please run robots in gdb and post a backtrace: https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces/Details#gdb-not-yet-running
Program received signal SIGTRAP, Trace/breakpoint trap. g_logv (log_domain=0x7ffff61afb38 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fffffffd708) at gmessages.c:1046 1046 gmessages.c: No such file or directory. (gdb) bt
+ Trace 233923
Created attachment 282432 [details] [review] Fix crash on startup The last three keys were removed in 66a34214ea4a5cab3d9762e084c2968addf93aff so we need to iterate 9 times instead of 12. Also, the current code is triggering -Waggressive-loop-optimizations so let's fix the data type to avoid undefined behavior. Can you please test to see that this is fixed, since I can't reproduce it? (Since undefined behavior is involved, maybe it only crashes with gcc 4.9; I am using gcc 4.8. Don't really care to investigate when the code is obviously wrong.)
With your patch: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff55cbac7 in vfprintf () from /usr/lib/libc.so.6 (gdb) bt
+ Trace 233924
(In reply to comment #4) > Created an attachment (id=282432) [details] [review] > Fix crash on startup That patch fixes the crash for me. The game starts without problems now.
Created attachment 282483 [details] [review] Fix crash due to typo in Hebrew translation
Should all be working now, thanks. Attachment 282432 [details] pushed as 0895adc - Fix crash on startup Attachment 282483 [details] pushed as 743056a - Fix crash due to typo in Hebrew translation