Skip to content
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

Can someone try to duplicate corruption on Gentoo? #63081

Closed
tim-one opened this issue Aug 29, 2013 · 1 comment
Closed

Can someone try to duplicate corruption on Gentoo? #63081

tim-one opened this issue Aug 29, 2013 · 1 comment

Comments

@tim-one
Copy link
Member

tim-one commented Aug 29, 2013

BPO 18881
Nosy @tim-one

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:

assignee = None
closed_at = <Date 2013-08-29.23:46:33.093>
created_at = <Date 2013-08-29.23:43:29.886>
labels = ['invalid']
title = 'Can someone try to duplicate corruption on Gentoo?'
updated_at = <Date 2013-08-29.23:46:33.093>
user = 'https://github.com/tim-one'

bugs.python.org fields:

activity = <Date 2013-08-29.23:46:33.093>
actor = 'tim.peters'
assignee = 'none'
closed = True
closed_date = <Date 2013-08-29.23:46:33.093>
closer = 'tim.peters'
components = []
creation = <Date 2013-08-29.23:43:29.886>
creator = 'tim.peters'
dependencies = []
files = []
hgrepos = []
issue_num = 18881
keywords = []
message_count = 1.0
messages = ['196502']
nosy_count = 1.0
nosy_names = ['tim.peters']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue18881'
versions = []

@tim-one
Copy link
Member Author

tim-one commented Aug 29, 2013

In

http://bugs.python.org/issue18843

a user reported a debug PyMalloc "bad leading pad byte" memory
corruption death while running their code. After some thrashing, they
decided to rebuild Python, and got the same kind of error while
rebuilding Python. See

http://bugs.python.org/msg196481

in that bug report:

"""
# emerge dev-lang/python:2.7

  • IMPORTANT: 11 news items need reading for repository 'gentoo'.
  • Use eselect news to read news items.

Calculating dependencies... done!
Debug memory block at address p=0xa7f5900: API 'o'
80 bytes originally requested
The 7 pad bytes at p-7 are not all FORBIDDENBYTE (0xfb):
at p-7: 0xfb
at p-6: 0xfb
at p-5: 0xfa *** OUCH
at p-4: 0xfb
at p-3: 0xfb
at p-2: 0xfb
at p-1: 0xfb
Because memory is corrupted at the start, the count of bytes requested
may be bogus, and checking the trailing pad bytes may segfault.
The 8 pad bytes at tail=0xa7f5950 are FORBIDDENBYTE, as expected.
The block was made by call #21242094 to debug malloc/realloc.
Data at p: 73 00 00 00 79 00 00 00 ... 67 00 00 00 00 00 00 00
Fatal Python error: bad leading pad byte
Aborted (core dumped)

"""

I don't have access to Gentoo, and don't know squat about its
emerge, but if someone else can do this it might help ;-) The
Python used to run emerge here was a --with-pydebug Python the bug
reporter built earlier.

@tim-one tim-one closed this as completed Aug 29, 2013
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant