GNOME Bugzilla – Bug 573762
cpufreq-selector crashed with SIGSEGV in dbus_g_method_return_error()
Last modified: 2009-03-29 19:28:05 UTC
This bug has been opened on http://bugs.launchpad.net/bugs/331044 "Binary package hint: gnome-applets Hmm. I dont know much about it. I tried to change my cpu freq with the applet-- then it crashed. gnome-applets 2.25.91-0ubuntu1 Debug stacktrace for the crash:
+ Trace 213060
It's not reproducible for me. The crash is actually in dbus-glib so I wonder whether it's a bug in dbus-glib or cpufreq-selector.
I can confirm this bug with gnome-applets 2.25.92. The crash only happens if I don't have permission to change the cpu frequency. If I grant myself permissions with polkit-gnome-authorization, the cpu frequency changes correctly. To get a more complete stacktrace, I rebuild gnome-applets and dbus-glib without optimization. See attached stacktrace. Then, running cpufreq-selector under gdb, it turned out the error messages set in "values" in "cpufreq_selector_service_error_get_type" are not available anymore in "gerror_domaincode_to_dbus_error_name". Using a static const for "values" solved the problem, see attached patch.
Created attachment 130291 [details] stacktrace without optimization
Created attachment 130292 [details] [review] suggested patch
Good catch!. I've just applied the patch. Thank you very much.
*** Bug 577212 has been marked as a duplicate of this bug. ***