refresh problems with multi-process and AppArmor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With Ubuntu's build of Firefox 51, enabling multi-process produces refresh problems when switching tabs. In detail, here is what I did:
1) create a new profile
2) start firefox with that new profile (so no add-ons)
3) display "about:support" and check that multi-process is on
4) open a few other tabs on various web pages
5) switch between tabs: most of the time, the display is not refreshed, the old tab's contents is still there
Then I tried Mozilla's officiel build of Firefox 51 for Linux (specifically the French x86-64 version), and I had no problems: display is refreshed when I switch tabs.
There must be something different in the Ubuntu build. Note I have a NVidia card and use the proprietary driver (I'm assuming detailed info is uploaded as part of the bug report process?).
Additional information: I have Ubuntu's AppArmor profile for Firefox enabled.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: firefox 51.0.1+
ProcVersionSign
Uname: Linux 4.4.0-59-generic x86_64
NonfreeKernelMo
AddonCompatChec
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
BuildID: 20170125172221
Channel: Unavailable
CurrentDesktop: XFCE
Date: Sat Jan 28 17:55:13 2017
DefaultProfileI
DefaultProfileP
IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (1.6.2-3ubuntu1)) - /usr/lib/
bjninstallplugin - /usr/lib/
bjnplugin - /usr/lib/
Google Talk Plugin Video Renderer - /opt/google/
Google Talk Plugin - /opt/google/
DefaultProfileP
DefaultProfileP
ForcedLayersAccel: False
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2013-04-12 (1386 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130409)
MostRecentCrashID: bp-eb109c63-
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1Incompa
Profile1Locales: extensions.sqlite corrupt or missing
Profile1Plugins:
Google Talk Plugin Video Renderer - /opt/google/
Google Talk Plugin - /opt/google/
IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (1.6.2-3ubuntu1)) - /usr/lib/
bjninstallplugin - /usr/lib/
bjnplugin - /usr/lib/
Profile1PrefSou
Profile1Themes: extensions.sqlite corrupt or missing
Profiles:
Profile0 (Default) - LastVersion=
Profile1 - LastVersion=
RfKill:
RunningIncompat
SourcePackage: firefox
UpgradeStatus: Upgraded to xenial on 2015-07-27 (550 days ago)
dmi.bios.date: 06/22/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1801
dmi.board.
dmi.board.name: P8H67-M EVO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Update: if I switch AppArmor to complain mode, the refresh problems disappear. Here is a syslog excerpt with the AppArmor audit lines (notice the third one about /dev/nvidia- modeset) :
Jan 28 18:06:48 fsol kernel: [24416.113173] audit: type=1400 audit(148562320 8.731:2574) : apparmor="ALLOWED" operation="open" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" name="/ etc/ld. so.preload" pid=6919 comm="plugin- containe" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 8.847:2575) : apparmor="ALLOWED" operation="open" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" name="/ sys/devices/ system/ node/node0/ meminfo" pid=6779 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 8.907:2576) : apparmor="ALLOWED" operation="open" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" name="/ dev/nvidia- modeset" pid=6779 comm="firefox" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0 8.911:2577) : apparmor="ALLOWED" operation="sendmsg" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" pid=6779 comm="firefox" family="unix" sock_type="dgram" protocol=0 requested_ mask="send" denied_mask="send" addr=none peer_addr= "@6E76696469616 664633937613431 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 00000000" peer="unconfined" 8.911:2578) : apparmor="ALLOWED" operation="sendmsg" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" pid=6779 comm="firefox" family="unix" sock_type="dgram" protocol=0 requested_ mask="send" denied_mask="send" addr=none peer_addr= "@6E76696469616 664633937613431 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 00000000" peer="unconfined" 8.911:2579) : apparmor="ALLOWED" operation="sendmsg" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" pid=6779 comm="firefox" family="unix" sock_type="dgram" protocol=0 requested_ mask="send" denied_mask="send" addr=none peer_addr= "@6E76696469616 664633937613431 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 00000000" peer="unconfined" 8.919:2580) : apparmor="ALLOWED" operation="sendmsg" profile= "/usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" pid=6779 comm="firefox" family="unix" sock_type="dgram" protocol=0 requested_ mask="send" denied_mask="send" addr=none peer_addr= "@6E76696469616 664633937613431 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 00000000" peer="unconfined" "dbus_method_ call" bus="session" path="/ org/gtk/ vfs/mounttracke r" interface= "org.gtk. vfs.MountTracke r" member= "ListMountableI nfo" mask="send" name=":1.25" pid=6919 label=" /usr/lib/ firefox/ firefox{ ,*[^s][ ^h]}" peer_pid=4448 peer_label= "unconfined"
Jan 28 18:06:48 fsol kernel: [24416.229774] audit: type=1400 audit(148562320
Jan 28 18:06:48 fsol kernel: [24416.289012] audit: type=1400 audit(148562320
Jan 28 18:06:48 fsol kernel: [24416.293270] audit: type=1400 audit(148562320
Jan 28 18:06:48 fsol kernel: [24416.293291] audit: type=1400 audit(148562320
Jan 28 18:06:48 fsol kernel: [24416.293373] audit: type=1400 audit(148562320
Jan 28 18:06:48 fsol kernel: [24416.300618] audit: type=1400 audit(148562320
Jan 28 18:06:49 fsol dbus[4270]: apparmor="ALLOWED" operation=
Jan 28 18:06:56 fsol kernel: [24423.824158] ...