sqlite connection caching not threadsafe

Bug #305388 reported by Robert Collins
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

Opening the same branch twice in two different threads raises a SQLite
error about not using the same object in two threads.

e.g. in thread1 do:
b = Branch.open('svn://...')
del b

and then (not concurrently) in thread2 do the same thing the exception
is raised.

 affects bzr-svn

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 305388] Re: sqlite connection caching not threadsafe

On Fri, 2008-12-05 at 05:27 +0000, Jelmer Vernooij wrote:
> *** This bug is a duplicate of bug 185200 ***
> https://bugs.launchpad.net/bugs/185200
>
> ** This bug has been marked a duplicate of bug 185200
> "database is locked" bzr internal error

Its not a db is locked error; its a sqlite binding error to do with
thread safety. I've put up a branch that fixes it even, and it will not
fix the db is locked issue, which is separate.

-Rob

GPG key available at: <http://www.robertcollins.net/keys.txt>.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.