Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283093 - dev-python/pygtk-2.16.0 fails tests due to segmentation fault in gtk.gdk.color_from_hsv()
Summary: dev-python/pygtk-2.16.0 fails tests due to segmentation fault in gtk.gdk.colo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-08-29 03:20 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-09-10 01:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The full backtrace (pygdk-pyeval-bt.txt,9.86 KB, text/plain)
2009-08-29 19:43 UTC, Romain Perier (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-29 03:20:52 UTC
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
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-29 12:56:33 UTC
most likely due to missing fonts for Xvfb, check gtk+ ebuild
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-29 15:28:09 UTC
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*.
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-08-29 19:43:03 UTC
Same segfault as  Arfrever, with the same command.
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-08-29 19:43:23 UTC
Created attachment 202633 [details]
The full backtrace
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2009-09-07 06:23:18 UTC
Reported bug upstream, with a fix. Waiting a day or two for comments, before adding the patch to the tree.
Comment 6 Arun Raghavan (RETIRED) gentoo-dev 2009-09-10 01:48:45 UTC
Fixed in CVS in 2.16.0-r1.