| Summary: | dev-python/pygtk-2.16.0 fails tests due to segmentation fault in gtk.gdk.color_from_hsv() | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
| Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | python |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://bugzilla.gnome.org/show_bug.cgi?id=594347 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | The full backtrace | ||
most likely due to missing fonts for Xvfb, check gtk+ ebuild Segmentation fault happens in test_color_from_hsv() in tests/test_color.py. It can be reproduced using: python -c 'import gtk; gtk.gdk.color_from_hsv(0.0, 1.0, 1.0)' gtk.gdk.color_from_hsv() and this test were absent in =dev-python/pygtk-2.14*. Same segfault as Arfrever, with the same command. Created attachment 202633 [details]
The full backtrace
Reported bug upstream, with a fix. Waiting a day or two for comments, before adding the patch to the tree. Fixed in CVS in 2.16.0-r1. |
dev-python/pygtk-2.16.0 fails tests: * Testing of dev-python/pygtk-2.16.0 with Python 2.5... * Skipping tests with Python 2.5. dev-python/pycairo supports only Python >=2.6. * Testing of dev-python/pygtk-2.16.0 with Python 2.6... * Scanning for an open DISPLAY to start Xvfb ... * Starting Xvfb on $DISPLAY=1 ... make -j3 check-local Xlib: extension "RANDR" missing on display ":1.0". ...........................................................make: *** [check-local] Segmentation fault * * ERROR: dev-python/pygtk-2.16.0 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 3879: Called python_execute_function '-s' 'testing' * environment, line 3433: Called die * The specific snippet of code: * die "${failure_message}"; * The die message: * Testing failed with Python 2.6 in testing() function