** Description changed:

+  [Impact]
+ 
  See https://bugzilla.mozilla.org/show_bug.cgi?id=846863.
  
  This didn't really appear on the radar because of a problem with debug
  symbols for system libraries, but now that's been fixed this week.
  
  libunity-webapps is pulling gtk3 in to the address space of Firefox
  (which is gtk2).  They absolutely do not work along side each other in
  the same address space (gtk2 refuses to even initialize if it detects
  gtk3 symbols in the same process, but this check is bypassed because
  it's initialized before libunity-webapps is loaded), and having them
  both in the same process is not supported in any way whatsoever.
  
  I've no idea why this has only started being a problem now (perhaps it's
  the cause of a lot of random crash bugs / hangs that we get reports of).
  I can only think that Firefox used to do something on startup that
  indirectly caused the registration of the GdkKeymap type (in gtk2)
  before the webapps addon loaded, and now that doesn't happen until
  afterwards - by which point it has been registered in gtk3 code, which
  results in type registration failing later on.... and then it's a
  guaranteed crash.
  
  This is the sort of problem that's likely to explode due to a slight
  change in wind direction, which has now happened. For people
  experiencing this, it's a startup crash (meaning that Firefox is
  completely unusable for an unknown number of our users).
+ 
+ 
+ [Test Case]
+ 
+ - Launch Firefox with the webapps extension installed and the fix,
+ - Go to a webapp supported website (e.g. Twitter), and validate that no crash 
occurs,
+ - Validate that firefox does not have a memory region where the gtk3 .so is 
loaded by looking at it's /prox/maps
+ 
+ [Regression Potential]
+ 
+ Very slim, since only the tools/ found in the libunity-webapps source
+ package are impacted and the bit that was binding to gtk3 has been
+ removed and was not used by FF.

** Branch linked: lp:~abreu-alexandre/unity-chromium-
extension/fix-1138473

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1138473

Title:
  libunity-webapps pulls gtk 3 in to Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity-webapps/+bug/1138473/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to