[ python-Bugs-1599782 ] Segfault on bsddb.db.DB().type()

SourceForge.net noreply at sourceforge.net
Tue Nov 21 06:29:57 CET 2006


Bugs item #1599782, was opened at 2006-11-20 07:27
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1599782&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Rob Sanderson (azaroth42)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Segfault on bsddb.db.DB().type()

Initial Comment:

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 at 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

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-11-20 21:29

Message:
Logged In: YES 
user_id=33168
Originator: NO

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)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1599782&group_id=5470


More information about the Python-bugs-list mailing list