GNOME Bugzilla – Bug 594347
Crash in gdk.color_from_hsv
Last modified: 2009-10-31 21:00:39 UTC
Created attachment 142613 [details] Backtrace of the crash This is bug was reported from Gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=283093. Quick summary: gdk.color_from_hsv segfaults (can be tested using python -c 'import gtk; gtk.gdk.color_from_hsv(0.0, 1.0, 1.0)'). Debugging showed that it was passed a bad kwargs argument (invalid memory in my case). Attaching a backtrace, patch coming soon.
Created attachment 142614 [details] [review] Patch to fix the crash Attaching a fix for the crash. The patch adds a 'kwargs' property to the define for gdk.color_from_hsv in gdkcolor.override.
Thanks for the fix, applied it.