Message73312
I found two differents bugs using Fusil the fuzzer.
(1) On db_env_create() error in newDBEnvObject(), self->db_env is not
set and so use of this pointer may crashs.
(2) DBEnv_dealloc() may raise an exception (DBEnv_close_internal()
calls makeDBError()) but the garbage collector dislike exceptions!
Example of (2):
----
$ python
>>> import gc, _bsddb; env=_bsddb.DBEnv(3); del env
>>> gc.collect(); gc.collect()
Exception bsddb.db.DBNoServerError: (-30992, 'DB_NOSERVER: Fatal
error, no RPC server -- No Berkeley DB RPC server environment')
in 'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection
---- |
|
Date |
User |
Action |
Args |
2008-09-16 21:09:49 | vstinner | set | recipients:
+ vstinner |
2008-09-16 21:09:49 | vstinner | set | messageid: <1221599389.8.0.12271871478.issue3885@psf.upfronthosting.co.za> |
2008-09-16 21:08:59 | vstinner | link | issue3885 messages |
2008-09-16 21:08:59 | vstinner | create | |
|