Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58230 - SPE-0.5.1.d segfaults when attempting to change the name of a class (bug in wxPython?)
Summary: SPE-0.5.1.d segfaults when attempting to change the name of a class (bug in w...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 15:30 UTC by Ben Anderson
Modified: 2004-08-18 11:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Anderson 2004-07-24 15:30:58 UTC
Open a random .py file with classes (just about all of them do) in SPE and try to change the name of any class. SPE will promptly segfault. There's no backtrace, suggesting that either the Python interpreter or one of the C libraries pulled in segfaulted.
Comment 1 Ben Anderson 2004-07-24 15:37:40 UTC
Hold on, I had discovered that I was running SPE as root. Running it as my normal user (who owns the file) appears to work. More to come.
Comment 2 Ben Anderson 2004-07-27 08:31:17 UTC
OK, it only appears to happen when SPE is run as root, and when root technically doesn't have write permissions to the file being edited (e.g. the file is perm'd 1000:100 0644). The obvious workaround is to either drop down to normal user, or make a copy of the file that root CAN write to.
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2004-08-18 11:38:27 UTC
This needs to be fixed upstream - thanks for your bug report.