Issue 2858: bsddb.db.DBEnv.lock_get test_lock.test03_set_timeout crashes (original) (raw)
Issue2858
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/47107
classification
Title: | bsddb.db.DBEnv.lock_get test_lock.test03_set_timeout crashes | ||
---|---|---|---|
Type: | crash | Stage: | |
Components: | Extension Modules | Versions: | Python 2.5 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | gregory.p.smith | Nosy List: | gregory.p.smith, jcea, nnorwitz |
Priority: | high | Keywords: |
Created on 2008-05-15 05:09 by gregory.p.smith, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg66845 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
Date: 2008-05-15 05:08 |
I disabled the Lib/bsddb/test/test_lock.py test03_set_timeout test as it crashes the interpreter when compiled in debug mode with an UNREF test. It appears to happen on all platforms according to the buildbots. This is not a new problem, it exists in 2.5 if a backport the recent updates to this test. I did a little bit of debugging and it looks like the UNREF failure occurs when the call to DBEnv.lock_get is has exited and Python is freeing the internal callargs tuple passed as arguments to the method. A pointer in the callargs._ob_prev structure had the 0xdbdbdbdb value which I believe is a sign of BerkeleyDB overwriting the memory. Jesus, can you look into this one? | ||
msg66959 - (view) | Author: Jesús Cea Avión (jcea) * ![]() |
Date: 2008-05-16 17:24 |
Neal Norwitz did a patch for this. Hope it solves this issue. Neal, please, post the svn r number. | ||
msg66975 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
Date: 2008-05-17 06:13 |
I submitted a patch from Neal Norwitz after jcea reviewed it to trunk as r63403. I'll take care of backporting it to release25-maint. | ||
msg66976 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
Date: 2008-05-17 06:47 |
r63404 in release25-maint. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:34 | admin | set | github: 47107 |
2008-05-17 06:47:04 | gregory.p.smith | set | status: open -> closedresolution: fixedmessages: + |
2008-05-17 06:13:26 | gregory.p.smith | set | assignee: jcea -> gregory.p.smithmessages: + versions: - Python 2.6 |
2008-05-16 17:24:22 | jcea | set | nosy: + nnorwitzmessages: + |
2008-05-15 22:28:42 | gregory.p.smith | set | assignee: jcea |
2008-05-15 05:09:07 | gregory.p.smith | create |