Message73313
| Author |
vstinner |
| Recipients |
jcea, vstinner |
| Date |
2008年09月16日.21:14:21 |
| SpamBayes Score |
1.1878863e-06 |
| Marked as misclassified |
No |
| Message-id |
<1221599722.33.0.753365634606.issue3885@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
About the bug (1): it also occurs in DBEnv_dealloc() but
DBEnv_dealloc() is directly called from newDBEnvObject() with
Py_DECREF(self);. The two bugs can be reproduces with dummy DBenv()
arguments, eg. "DBEnv(92)".
Backtrace using gdb:
-----
$ gdb ./python
...
>>> import _bsddb; _bsddb.DBenv(92)
...
Program received signal SIGSEGV, Segmentation fault.
0xb7cc8f5e in DBEnv_close_internal (self=0x83385f0, flags=0)
at ../Modules/_bsddb.c:3989
3989 err = self->db_env->close(self->db_env, flags);
(gdb) print self->db_env
1ドル = (DB_ENV *) 0xfffffffe
-----
There db_env value is not set. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年09月16日 21:15:22 | vstinner | set | recipients:
+ vstinner, jcea |
| 2008年09月16日 21:15:22 | vstinner | set | messageid: <1221599722.33.0.753365634606.issue3885@psf.upfronthosting.co.za> |
| 2008年09月16日 21:14:21 | vstinner | link | issue3885 messages |
| 2008年09月16日 21:14:21 | vstinner | create |
|