Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280780 - app-admin/eselect-python-20090804: fix segfault when PATH unset
Summary: app-admin/eselect-python-20090804: fix segfault when PATH unset
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-08-08 16:29 UTC by Jonathan Callen (RETIRED)
Modified: 2009-08-13 02:17 UTC (History)
1 user (show)

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


Attachments
fix for segfault (python.c-PATH-unset.patch,534 bytes, patch)
2009-08-08 16:29 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.