[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ctypes-python bindings test cases issue.

From: Noorul Islam K M <noorul_at_collab.net>
Date: Mon, 01 Nov 2010 14:28:31 +0530

Back in August when I tried to build ctypes-python I was getting
Segmentation fault. There was an issue with ctypesgen which was causing
this. See http://code.google.com/p/ctypesgen/issues/detail?id=8

Once the issue got fixed, code generation works without any issues, but
test cases were failing with error message "revprop db already
exists". But with the recent trunk I get the following.

SubversionException: ../subversion/libsvn_repos/repos.c:1405: (apr_err=200030)
../subversion/libsvn_fs/fs-loader.c:422: (apr_err=200030)
../subversion/libsvn_fs_fs/fs.c:191: (apr_err=200030)
../subversion/libsvn_fs_fs/fs_fs.c:6522: (apr_err=200030)
../subversion/libsvn_fs_fs/fs_fs.c:1235: (apr_err=200030)
../subversion/libsvn_subr/sqlite.c:119: (apr_err=200030)
../subversion/libsvn_subr/sqlite.c:119: (apr_err=200030)
disk I/O error

Test cases are written using python unittest framework and it has two
methods, setUp() and tearDown() which gets executed for every case. In
tearDown(), repository which is created in setUp() is deleted using
svn_repos_delete(). During first iteration there are no issues but in
the second iteration (test case), the system throws the above mentioned
error. Using lsof command I could see something like this

python 18111 noorul 4u REG 8,1 5120 279333 /tmp/svn_test_repos/db/revp
rops/revprops.db (deleted)

Does this mean that the sqlite file pointers are not completely
destroyed?

Thanks and Regards
Noorul
Received on 2010-11-01 10:01:02 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.