New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfaults with unexpanded $Revision$ id's in release candidate tarballs #56430
Comments
Modules/pyexpat.c (get_version_string) has: static PyObject *
get_version_string(void)
{
static char *rcsid = "$Revision$";
char *rev = rcsid;
int i = 0;
which segfaults, or has unexpected results. -O2 builds don't show the segfaults, but at least debug builds on sparc, ARM, powerpc, m68k. >>> pyexpat.__version__
'0\x05' seen with all the current release candidates for 2.7.2, 3.1.4 and 3.2.1 other occurrences: ./setup.py:version = "$Revision$" |
See also: bpo-11439 |
New changeset 9c1116e582e3 by Benjamin Peterson in branch '2.7': New changeset 9c23efa3f5c7 by Benjamin Peterson in branch '3.1': New changeset f2f74b8d6767 by Benjamin Peterson in branch '3.2': New changeset d1291e048163 by Benjamin Peterson in branch 'default': |
I've fixed the pyexpat.__version__ from segfaulting. The other ones are harmless and can be removed later. |
New changeset f3553d5083f8 by Benjamin Peterson in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: