GNOME Bugzilla – Bug 595566
crash when passing a list with a None value to GConf
Last modified: 2009-11-28 18:36:36 UTC
Created attachment 143434 [details] backtrace You can reproduce it by: import gconf c = gconf.Client() c.set_list('mec', gconf.VALUE_STRING, [None]) Will attach full backtrace, though the issue seems to be that gconf_value_list_from_primitive_list calls g_utf8_validate with NULL as the string. I'm not sure which function should be checking that values could be None.
It appears libgconf doesn't accept NULL strings, but at least None now raises exception, not crash. This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.