Opened 10 months ago

Last modified 8 months ago

#27518 new defect

firefox tries to access system's snapd profile

Reported by: traumschule Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-security, tbb-8.0-issues, tbb-regression
Cc: qbi Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

(I accepted the offered restart to upgrade TB 8.0a10 and it didn't come up from alone again, but this is an aside since 8.5a1 works well after.)

When i logged in to trac, firefox tried to access a local snap profile and failed. I would not expect it to do that:

(/path/to/tor-browser8.0a10/Browser/firefox.real:20293): dconf-WARNING **: 23:01:32.166: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied

Child Tickets

Change History (5)

comment:1 Changed 10 months ago by gk

Status: newneeds_information

Does only Tor Browser do that or Firefox 60 ESR as well? Does this happen with a clean, new Tor Browser 8.5a1?

comment:2 Changed 10 months ago by traumschule

yes, also with ff 60.2.0esr 32-bit always the first time clicking into the password field on trac's login page it prints:

(/path/to/firefox-60.1.0esr/firefox:11730): dconf-WARNING : 18:09:31.042: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied

upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1410879

Update: This happens no matter if js is enabled.

With TB again tried if this depends on js and disabled js and enabled it again several times and got this each time:

console.error: "Handler function DebuggerProgressListener.prototype.onStateChange threw an exception: [Exception... \"Component returned failure code: 0x80004002 (NS_NOINTERFACE
) [nsIWebProgress.DOMWindow]\"  nsresult: \"0x80004002 (NS_NOINTERFACE)\"  location: \"JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors
/tab.js :: _docShellToWindow :: line 768\"  data: no]\nStack: _docShellToWindow@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:768:9\n_doc
ShellsToWindows/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:792:38\n_docShellsToWindows@resource://devtools/shared/base-loader.js ->
resource://devtools/server/actors/tab.js:792:12\n_notifyDocShellsUpdate@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:796:19\nDebuggerPro
gressListener.prototype.onStateChange<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:1624:7\nexports.makeInfallible/<@resource://devtools
/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14\nLine: 768, column: 0"                                                                    
Handler function DebuggerProgressListener.prototype.onStateChange threw an exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIWebProgress
.DOMWindow]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js :: DebuggerPr
ogressListener.prototype.onStateChange< :: line 1627"  data: no]                                                                                                                
Stack: DebuggerProgressListener.prototype.onStateChange<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:1627:9                            
exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
Line: 1627, column: 0

console.error: "Handler function DebuggerProgressListener.prototype.onStateChange threw an exception: [Exception... \"Component returned failure code: 0x80004002 (NS_NOINTERFACE
) [nsIWebProgress.DOMWindow]\"  nsresult: \"0x80004002 (NS_NOINTERFACE)\"  location: \"JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors
/tab.js :: DebuggerProgressListener.prototype.onStateChange< :: line 1627\"  data: no]\nStack: DebuggerProgressListener.prototype.onStateChange<@resource://devtools/shared/base-
loader.js -> resource://devtools/server/actors/tab.js:1627:9\nexports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevTools
Utils.js:109:14\nLine: 1627, column: 0"
Handler function DebuggerProgressListener.prototype.onStateChange threw an exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIWebProgress
.DOMWindow]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js :: _docShellT
oWindow :: line 768"  data: no]
Stack: _docShellToWindow@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:768:9                                                             
_docShellsToWindows/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:792:38                                                               
_docShellsToWindows@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:792:12                                                                 
_notifyDocShellsUpdate@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:796:19                                                              
DebuggerProgressListener.prototype.onStateChange<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:1624:7                                  
exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14                                               
Line: 768, column: 0                                                                                                                                                             

Then the snap line did not appear again. Clicking on Browser Console (or ctrl+shift+j) i saw each time:

JavaScript error: resource://devtools/shared/base-loader.js -> resource://devtools/client/webconsole/hudservice.js, line 164: TypeError: hud is undefined

Would you like extra tickets for these?

Last edited 10 months ago by traumschule (previous) (diff)

comment:3 Changed 10 months ago by gk

Keywords: tbb-8.0-issues tbb-regression added
Status: needs_informationnew

comment:4 Changed 10 months ago by traumschule

added a comment upstream

comment:5 Changed 8 months ago by traumschule

Cc: qbi added

Upstream did not touch this since two weeks. I tried to reproduce it with other trac instances and failed. Maybe tpo's trac does something special?

Note: See TracTickets for help on using tickets.