Issue 1599782: Segfault on bsddb.db.DB().type() (original) (raw)

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