diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2009-10-21 21:18:57 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-29 10:14:33 +1030 |
commit | 71a21393dd1bb61bded82b1581ac6d5bd3b0153c (patch) | |
tree | d3983b3c45ec027505fb23642fe505eaf3b568f8 /source3/utils/passwd_util.c | |
parent | b4424f8234a78a79fb2d71d46ca208b4f12e0f9e (diff) | |
download | samba-71a21393dd1bb61bded82b1581ac6d5bd3b0153c.tar.gz samba-71a21393dd1bb61bded82b1581ac6d5bd3b0153c.tar.bz2 samba-71a21393dd1bb61bded82b1581ac6d5bd3b0153c.zip |
tdb: add tests for double .close() in pytdb
The reason I do it is that when using older python-tdb as shipped in
Debian Lenny, python interpreter crashes on this test:
(gdb) bt
#0 0xb7f8c424 in __kernel_vsyscall ()
#1 0xb7df5640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7df7018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7e3234d in __libc_message () from /lib/i686/cmov/libc.so.6
#4 0xb7e38624 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#5 0xb7e3a826 in free () from /lib/i686/cmov/libc.so.6
#6 0xb7b39c84 in tdb_close () from /usr/lib/libtdb.so.1
#7 0xb7b43e14 in ?? () from /var/lib/python-support/python2.5/_tdb.so
#8 0x0a038d08 in ?? ()
#9 0x00000000 in ?? ()
master's pytdb does not (we have a check for self->closed in obj_close()),
but still...
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/utils/passwd_util.c')
0 files changed, 0 insertions, 0 deletions