[MacPorts] #25400: sqlite error: database is locked
#25400: sqlite error: database is locked ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Since MacPorts 1.9.x (at least 1.9.1), I sometimes get errors like {{{ $ port installed gcc43 sqlite error: database is locked (5) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry while executing "registry::open $db_path" (procedure "mportinit" line 536) invoked from within "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: database is locked (5) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry }}} while another port is running. This never occurred with MacPorts 1.8.x, which waited for the lock to be released. -- Ticket URL: <http://trac.macports.org/ticket/25400> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25400: sqlite error: database is locked ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by vinc17@…): * component: ports => base -- Ticket URL: <http://trac.macports.org/ticket/25400#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25400: sqlite error: database is locked ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.9.2 Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by jmr@…): * milestone: => MacPorts 1.9.2 Comment: Only the filemap part of the old registry actually had any locking. So apparently sqlite3_prepare is returning SQLITE_BUSY when we attach the registry. See if r70122 fixes this. -- Ticket URL: <http://trac.macports.org/ticket/25400#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25400: sqlite error: database is locked ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.9.2 Component: base | Version: 1.9.1 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Assuming fixed in the absence of a report to the contrary… -- Ticket URL: <http://trac.macports.org/ticket/25400#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts