I'm seeing similar deadlocks of firefox with 100% cpu usage; this is
happening a lot. I have installed firefox-dbg and started firefox with
"-g" under gdb. When I hit Ctrl-C during a deadlock I get this
backtrace:
(gdb) where
#0 0x00007fffe954c546 in js::irregexp::InterpretCode<unsigned
char>(JSContext*, unsigned char const*, unsigned char const*, unsigned long,
unsigned long, js::MatchPairs*, unsigned long*) (cx=cx@entry=0x7fffe1b8d000,
byteCode=byteCode@entry=0x7fff73838000 "\002", chars=0x7fff7bd12000
";##[{\"type\":\"http://schema|org/WebPage\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/NewsArticle\""...,
current=2274,
current@entry=0, length=length@entry=4327, matches=matches@entry=0x0,
endIndex=0x7fffffff4fc0)
at
/build/firefox-iUv61F/firefox-53.0.2+build1/js/src/irregexp/RegExpInterpreter.cpp:142
#1 0x00007fffe93751f5 in js::RegExpShared::execute(JSContext*,
JS::Handle<JSLinearString*>, unsigned long, js::MatchPairs*, unsigned long*)
(this=this@entry=0x7fff74bc8900, cx=cx@entry=0x7fffe1b8d000,
input=input@entry=..., start=start@entry=0, matches=matches@entry=0x0,
endIndex=endIndex@entry=0x7fffffff4fc0) at
/build/firefox-iUv61F/firefox-53.0.2+build1/js/src/vm/RegExpObject.cpp:1175
#2 0x00007fffe95b7a7c in ExecuteRegExpImpl (endIndex=0x7fffffff4fc0,
matches=0x0, searchIndex=<optimized out>, input=..., re=...,
res=0x7fffd142ab30, cx=0x7fffe1b8d000) at
/build/firefox-iUv61F/firefox-53.0.2+build1/js/src/builtin/RegExp.cpp:127
#3 0x00007fffe95b7a7c in ExecuteRegExp (staticsUpdate=js::UpdateRegExpStatics,
endIndex=0x7fffffff4fc0, matches=0x0, lastIndex=<optimized out>, string=...,
regexp=..., cx=0x7fffe1b8d000) at
/build/firefox-iUv61F/firefox-53.0.2+build1/js/src/builtin/RegExp.cpp:971
#4 0x00007fffe95b7a7c in js::RegExpTesterRaw(JSContext*,
JS::Handle<JSObject*>, JS::Handle<JSString*>, int, int*) (cx=0x7fffe1b8d000,
regexp=..., input=..., lastIndex=<optimized out>, endIndex=0x7fffffff5094)
at
/build/firefox-iUv61F/firefox-53.0.2+build1/js/src/builtin/RegExp.cpp:1197
#5 0x000032f931aa347a in ()
#6 0x00007fffd9600560 in ()
#7 0x00007fffffff5094 in ()
#8 0x00007fffd1508680 in ()
#9 0x00007fffead51ae0 in js::jit::RegExpTesterRawInfo () at
/usr/lib/firefox/libxul.so
#10 0x00007fffd96718e0 in ()
#11 0x000032f931da5ab0 in ()
#12 0x0000000000003820 in ()
#13 0x00007fffd1508680 in ()
#14 0x00007fff6df9fc40 in ()
#15 0x0000000000000000 in ()
My guess is that firefox is stuck executing a pretty weird regular
expression:
(gdb) set print elements 0
(gdb) print chars
$5 = (const unsigned char *) 0x7fff7bd12000
";##[{\"type\":\"http://schema|org/WebPage\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/NewsArticle\",\"properties\":{}},{\"type\":\"https://schema|org/Organization\",\"properties\":{}},{\"type\":\"http://schema|org/ImageObject\",\"properties\":{}},{\"type\":\"http://schema|org/ImageObject\",\"properties\":{}},{\"type\":\"http://schema|org/ImageObject\",\"properties\":{}},{\"type\":\"http://schema|org/ImageObject\",\"properties\":{}},{\"type\":\"http://schema|org/ImageObject\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://schema|org/Comment\",\"properties\":{}},{\"type\":\"http://schema|org/Person\",\"properties\":{}},{\"type\":\"http://data-vocabulary|org/Breadcrumb\",\"properties\":{}},{\"type\":\"http://data-vocabulary|org/Breadcrumb\",\"properties\":{}},{\"type\":\"http://data-vocabulary|org/Breadcrumb\",\"properties\":{}}]"
--
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/1692298
Title:
firefox hangs using 100% cpu
Status in firefox package in Ubuntu:
Confirmed
Bug description:
Firefox is hanging with no special pattern. It can be loading a saved
tab, open a new page, using an already opened page. It simply starts
using 100% cpu and becomes unusable, never coming back (>100 minutes).
This is random, happening a lot, but not always.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: firefox 53.0.2+build1-0ubuntu0.16.10.2
ProcVersionSignature: Ubuntu 4.8.0-52.55-generic 4.8.17
Uname: Linux 4.8.0-52-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ferdez 4504 F.... pulseaudio
BuildID: 20170509205820
Channel: Unavailable
CurrentDesktop: Unity
Date: Sun May 21 09:52:36 2017
DefaultProfileIncompatibleExtensions:
Português Portugal Language Pack - [email protected]
English (GB) Language Pack - [email protected]
English (South Africa) Language Pack - [email protected]
Português Brasileiro Language Pack - [email protected]
Default - {972ce4c6-7e08-4474-a285-3208198ce6fd}
DefaultProfilePlugins: Shockwave Flash -
/usr/lib/flashplugin-installer/libflashplayer.so
DefaultProfilePrefSources:
prefs.js
user.js
[Profile]/extensions/[email protected]/defaults/preferences/inspector.js
ForcedLayersAccel: False
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2016-05-16 (369 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
(20160420.1)
IpRoute:
default via 192.168.1.254 dev wlp13s0 proto static metric 600
169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev wlp13s0 proto kernel scope link src 192.168.1.113
metric 600
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
linkdown
MostRecentCrashID: bp-964d1e04-1a6d-4531-9dc1-65b032150721
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1IncompatibleExtensions: Unavailable (corrupt or non-existant
compatibility.ini or extensions.sqlite)
Profile1Locales: extensions.sqlite corrupt or missing
Profile1Plugins: iTunes Application Detector -
/usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so
Profile1PrefSources: prefs.js
Profile1Themes: extensions.sqlite corrupt or missing
Profiles:
Profile0 (Default) - LastVersion=53.0.2/20170509205820 (In use)
Profile1 - LastVersion=40.0.3/20150826185640 (Out of date)
RunningIncompatibleAddons: True
SourcePackage: firefox
UpgradeStatus: Upgraded to yakkety on 2016-10-29 (203 days ago)
dmi.bios.date: 10/08/2015
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.20
dmi.board.name: 06F4
dmi.board.vendor: FF50
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis ManuFacturer
dmi.chassis.version: OEM Chassis Version
dmi.modalias:
dmi:bvnINSYDECorp.:bvr1.20:bd10/08/2015:svnTOSHIBA:pnSATELLITEP50-C:pvrPSPUEE-00C008EP:rvnFF50:rn06F4:rvrType2-BoardVersion:cvnOEMChassisManuFacturer:ct10:cvrOEMChassisVersion:
dmi.product.name: SATELLITE P50-C
dmi.product.version: PSPUEE-00C008EP
dmi.sys.vendor: TOSHIBA
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1692298/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp