No space left in /var prevents Tor Browser from starting properly
While testing 4.0-alpha I realized that Tor Browser is not starting properly on my machine. Extensions were missing and the following errors in the console showed up:
[13:29:23.748] ERROR addons.xpi-utils: SQL error 13: database or disk is full @ re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js:204](/gre/modules/XPIProviderUtils.js:204)
[13:29:23.753] ERROR addons.xpi: Failed to add add-on https-everywhere@eff.org in app-profile to database: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatement.execute]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js](/gre/modules/XPIProviderUtils.js) :: XPIDB_rollbackTransaction :: line 457" data: no] @ re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js:457](/gre/modules/XPIProviderUtils.js:457)
[13:29:24.939] ERROR addons.xpi: Error during startup file checks, rolling back any database changes: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatement.execute]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js](/gre/modules/XPIProviderUtils.js) :: XPIDB_commitTransaction :: line 442" data: no] @ re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js:442](/gre/modules/XPIProviderUtils.js:442)
[13:29:24.941] ERROR addons.manager: Exception calling provider startup: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatement.execute]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js](/gre/modules/XPIProviderUtils.js) :: XPIDB_rollbackTransaction :: line 457" data: no] @ re[/gre/modules/XPIProvider.jsm](/gre/modules/XPIProvider.jsm) -> re[/gre/modules/XPIProviderUtils.js:457](/gre/modules/XPIProviderUtils.js:457)
The partition where Tor Browser got extracted had enough space left. The only one that was full was /var. Fixing that fixed the start issues as well. Not sure what exactly gets written to /var but it seems a disk leak to me we need to investigate.