Date: Sat, 15 Dec 2012 20:36:11 +0100 From: Mathias Picker <Mathias.Picker@virtual-earth.de> To: Bryan Drewery <bdrewery@freebsd.org> Cc: Baptiste Daroussin <bapt@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: pkgng: sqlite: database is locked Message-ID: <1355600171.60941.14.camel@mp> In-Reply-To: <50C9E324.2070008@FreeBSD.org> References: <1355396880.5692.7.camel@mp> <20121213111659.GB97984@ithaqua.etoilebsd.net> <50C9E324.2070008@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: (gdb) bt #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) at /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/../pkg//delete.c:120 #5 0x00000000004051c8 in main (argc=3, argv=0x7fffffffcaf8) at /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/../pkg//main.c:328 Cheers, Mathias 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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1355600171.60941.14.camel>