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.

classification
Title: Segfault on bsddb.db.DB().type()
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: azaroth42, nnorwitz
Priority: normal Keywords:

Created on 2006-11-20 15:27 by azaroth42, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg30632 - (view) Author: Rob Sanderson (azaroth42) Date: 2006-11-20 15:27
Python interpreter exits with a Seg fault when trying to find the type of an unopened bsddb connection.  Should check that the cxn is open, as per other functions in the library.

[cheshire3@helmsdeep ~]$ python2.5
Python 2.5 (r25:51908, Nov 20 2006, 15:09:48)
[GCC 4.0.0 20050519 (Red Hat 4.0.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bsddb.db import DB
>>> cxn = DB()
>>> cxn.type()
Segmentation fault


Thanks!

-- Azaroth
msg30633 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-11-21 05:29
Thanks for the bug report!

Note: this also affects Python 2.4 and probably earlier.

Committed revision 52811. (2.6)
Committed revision 52812. (2.5)
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44255
2006-11-20 15:27:05azaroth42create