pkgng: sqlite: database is locked
Mathias.Picker at virtual-earth.de
Sat Dec 15 19:36:24 UTC 2012
And again, this time with mongodb only.
Running portmaster databases/mongodb I get:
pkg: sqlite: database is locked
Assertion failed: (db->lock_count == 0), function pkgdb_close, file
pkgdb.c, line 842.
Abort trap (core dumped)
===> Installing for mongodb-2.2.0_1
There is no lock on the db right after this. Looks more like a pkg
problem, don't you think.
here is a Backtrace:
#0 0x0000000000609d4c in thr_kill ()
#1 0x0000000000669068 in abort ()
#2 0x00000000006514e0 in __assert ()
#3 0x00000000004160e8 in pkgdb_close (db=0x800c08060) at pkgdb.c:842
#4 0x0000000000403342 in exec_delete (argc=1, argv=0x7fffffffcb08)
#5 0x00000000004051c8 in main (argc=3, argv=0x7fffffffcaf8)
On Do, 2012-12-13 at 08:16 -0600, Bryan Drewery wrote:
> On 12/13/2012 5:16 AM, Baptiste Daroussin wrote:
> > On Thu, Dec 13, 2012 at 12:08:00PM +0100, Mathias Picker wrote:
> >> (FYI: if I stop responding, I will be in hospital, I'm waiting for an
> >> operation...)
> > Take care of yourself, we will continue investigating, health first !
Thanks a lot (!!).
> >> OK, I can reproduce it now reliably, running portmaster -a, the
> >> following is happening three times now:
> > sounds like a pkgng support in portmaster bugs we will investigate
> Yes, portmaster has an obscure job bug even without pkgng. It manifests
> with the "Terminated" output. I believe it's causing the pkgng db to be
> opened twice here.
> I'm looking into it.
More information about the freebsd-ports