Hi. On Mar 11, Firefox has been closed again. After a couple of hours, suddenly system began to slow down, mouse cursor moves very lazy etc. RAM usage was full. (I have only 1GB - planned to add more.) Anyway, there was YouTube and about 5, 6 other tabs opened. Additionally, a second Firefox was also running with a couple of tabs opened. System log files, such as, /var/log/kern.log and /var/log/syslog contained such entry:
● Mar 11 19:46:53 t4 kernel: [31159.076986] Out of memory: Kill process 4316 (plugin-containe) score 641 or sacrifice child ● Mar 11 19:46:53 t4 kernel: [31159.076992] Killed process 4316 (plugin- containe) total-vm:1865424kB, anon-rss:735720kB, file-rss:0kB ● Mar 11 19:47:33 t4 kernel: [31200.111636] Chrome_ChildThr[2619]: segfault at 0 ip b77b72e5 sp b21fe9f0 error 6 in plugin- container[b77b3000+1b000] Generally, this log message is longer, but I think that it's appropriate for another, new thread. One thing, which makes me wonder is (I skipped the entry for date and kernel name): ● [31159.073984] Call Trace: kernel: [31159.073993] [<c10fd0b5>] dump_header.isra.6+0x85/0xc0 kernel: [31159.073997] [<c10fd30c>] oom_kill_process+0x5c/0x80 kernel: [31159.074001] [<c10fd725>] out_of_memory+0xc5/0x1c0 kernel: [31159.074006] [<c110163e>] __alloc_pages_nodemask+0x72e/0x740 kernel: [31159.074010] [<c10fc408>] filemap_fault+0x1f8/0x370 kernel: [31159.074016] [<c1117eae>] __do_fault+0x6e/0x550 kernel: [31159.074020] [<c111b741>] handle_pte_fault+0xa1/0x2d0 kernel: [31159.074024] [<c111c6bb>] handle_mm_fault+0x21b/0x310 kernel: [31159.074029] [<c15bba28>] do_page_fault+0x158/0x4b0 kernel: [31159.074034] [<c1085fc5>] ? getnstimeofday+0x55/0x120 kernel: [31159.074039] [<c12c0ed0>] ? copy_to_user+0x40/0x60 kernel: [31159.074043] [<c1061732>] ? sys_gettimeofday+0x32/0x70 kernel: [31159.074047] [<c15bb8d0>] ? vmalloc_fault+0x195/0x195 kernel: [31159.074051] [<c15b8c53>] error_code+0x67/0x6c According to the above entries (and the whole log), I wonder if I should create a new bug report, related to this issue. Here are some technical informations: ● Firefox 52.0 (32 bit.) The rest is the same as in bug report. Thanks, best regards. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1656065 Title: Firefox and plugin-container (Chrome_ChildThr): segfault at 0 ip b76df673 sp b1efe9f0 error 6. Status in firefox package in Ubuntu: Confirmed Bug description: Hello. Some days ago, Firefox unexpectedly has been closed after a couple of hours (mostly viewed: YouTube and some other websites). Next, a dialog box related to the Mozilla Crash Reporter appeared - with message, that reporter is disabled (which I did earlier via 'about:config' and *datareporting.healthreport.service.enabled* key set to _false_) and no crash report is available even via 'about:crashes' etc. After this situation two entries appeared in the log files: first related to AppArmor and second plugin-container segfault. By the way: in the same time an update for flash-plugin was also available (see: 1). Anyway, 'LastCrash' file (which can be found in ~/.mozilla/firefox/Crash Reports/ directory) contains only: 1484142985. Just like all the others files in this directory. There are also two folders called: 'events' and 'pending'. These directories are completely empty. However, system log files, such as '/var/log/kern.log' or '/var/log/syslog', contains an interesting entries: ● Jan 11 14:56:25 t4 kernel: [ 4161.295639] type=1400 audit(1484142985.517:46): apparmor="DENIED" operation="open" parent=2818 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/proc/2818/task/" pid=3253 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 ● Jan 11 14:56:25 t4 kernel: [ 4161.540727] Chrome_ChildThr[2890]: segfault at 0 ip b76df673 sp b1efe9f0 error 6 in plugin- container[b76d8000+42000] As we know, thanks to the plugin-container, plugins are separated from the browser process, making it more stable, right? So now if a plugin crashes, Firefox should remains unharmed. It looks like this is a known problem (see: 2, 3). By the way; on Moday, 16 January, Firefox has been closed again - no action from my side. Log files contain the same entries as above: ● Jan 16 16:39:35 t4 kernel: [14373.711834] type=1400 audit(1484581175.931:48): apparmor="DENIED" operation="open" parent=2532 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/proc/2532/task/" pid=3389 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 ● Jan 16 16:39:36 t4 kernel: [14373.934394] Chrome_ChildThr[3041]: segfault at 0 ip b76f8673 sp b1efe9f0 error 6 in plugin- container[b76f1000+42000] Anyway, after adding these two rules to the Firefox profile everything seems to be OK and there is not DENIED message for "/proc/*/task/" entry: owner @{PROC}/[0-9]*/task/ r, owner @{PROC}/[0-9]*/task/* r, NOTE: adobe-flash plugin is not activated and is permanently disabled. But it's not the second time when AppArmor logs "@{PROC}/*/task/" issue (see: 4). Here are some informations about versions: ● Firefox: 50.1.0 ● Flash: 24.0.0.194ubuntu0.12.04.1 ● Linux: 3.2.0-120-generic-pae (3.2.79) i686 ● AppArmor: 2.7.102-0ubuntu3.10 ● Release: 12.04.5 LTS (via `lsb_release -a` command) Best regards. _____________ [1] https://lists.ubuntu.com/archives/precise-changes/2017-January/026047.html [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1205199 [3] https://bugzilla.redhat.com/show_bug.cgi?id=1253086 [4] https://lists.ubuntu.com/archives/apparmor/2016-December/010422.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1656065/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp