Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 280780

Summary: app-admin/eselect-python-20090804: fix segfault when PATH unset
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] Core systemAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: holger
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix for segfault

Description Jonathan Callen (RETIRED) gentoo-dev 2009-08-08 16:29:15 UTC
This patch fixes a segfault when PATH is unset in python-wrapper.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-08-08 16:29:43 UTC
Created attachment 200599 [details, diff]
fix for segfault
Comment 2 Holger Hoffstätte 2009-08-11 21:12:50 UTC
This is a good patch as this also fixes the segfault symptom I (wrongly) reported in bug#280431 - crashes when python is invoked from mod_fcgid. However the patch does not build as attached: line 14 (the assignment to PATH) is missing the terminating ';'. With that fixed the patch applies, python-wrapper builds and my hgweb via mod_fcgi is back to normal. Thanks :)
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-13 02:17:26 UTC
Fixed in r199.