Bug #25444
closed"Maximum call stack size exceeded" error when opening running task in web UI
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1647799
If page for running task is opened in web UI, after some time navigation menu will disappear. Web dev console will show JS error "Maximum call stack size exceeded" (which suggests infinite recurring function somewhere). See attached screenshot and log from console below.
Steps to Reproduce:
1. Start some long running task, like synchronizing repository
2. Monitor -> Tasks -> open task started before (or any other with Result "Pending")
3. Wait for some time (less than 2 minutes on my machine; probably depends on exact hardware and browser version)
Log from Chrome console:
VM86:1 Uncaught Error: only one instance of babel-polyfill is allowed
at Object.eval (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:145403)
at Object.node_modules/babel-polyfill/lib/index.js (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:145937)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at Object.0 (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:832)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at eval (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:803)
at eval (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:812)
at eval (<anonymous>)
at Function.globalEval (vendor-ec5f6a1f89a9337b47f6.js:122)
at text script (vendor-ec5f6a1f89a9337b47f6.js:133)
(anonymous) VM86:1
VM86:1
node_modules/babel-polyfill/lib/index.js
a VM86:1
VM86:1
0
a VM86:1
VM86:1
(anonymous)
(anonymous) VM86:1
vendor-ec5f6a1f89a9337b47f6.js:122
globalEval
text script vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
j vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
send vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ajax
f._evalUrl vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ke
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
VM83:16
success
l vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
j vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ajax
f._evalUrl vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ke
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
VM83:16
success
l vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
j vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ajax
reload VM83:11
VM83:30
setTimeout (async)
start
(anonymous) VM83:88
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
(anonymous)
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
trigger vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
each vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:122
each
trigger vendor-ec5f6a1f89a9337b47f6.js:133
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
onLoad
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
K application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload
load (async)
$ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x
e application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle
vendor-ec5f6a1f89a9337b47f6.js:133 [Violation] 'load' handler took 232ms
VM87:1 Uncaught TypeError: Cannot set property Jed of #<Window> which has only a getter
at Object../webpack/assets/javascripts/react_app/common/I18n.js (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:43047)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at Object../webpack/assets/javascripts/foreman_tools.js (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:35873)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at Object../webpack/assets/javascripts/foreman_compute_resource.js (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:14978)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at Object../webpack/assets/javascripts/bundle.js (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:311)
at a (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:410)
at window.webpackJsonp (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:284)
at eval (eval at globalEval (vendor-ec5f6a1f89a9337b47f6.js:122), <anonymous>:1:1)
./webpack/assets/javascripts/react_app/common/I18n.js VM87:1
VM86:1
a
./webpack/assets/javascripts/foreman_tools.js VM87:1
VM86:1
a
./webpack/assets/javascripts/foreman_compute_resource.js VM87:1
VM86:1
a
./webpack/assets/javascripts/bundle.js VM87:1
VM86:1
a
window.webpackJsonp VM86:1
VM87:1
(anonymous)
globalEval vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:133
text script
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
j
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
send
ajax vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl
ke vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
success VM83:16
vendor-ec5f6a1f89a9337b47f6.js:133
l
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
j
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
ajax vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl
ke vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
success VM83:16
vendor-ec5f6a1f89a9337b47f6.js:133
l
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
j
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
ajax vendor-ec5f6a1f89a9337b47f6.js:133
VM83:11
reload
setTimeout (async)
start VM83:30
VM83:88
(anonymous)
(anonymous) application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133
dispatch
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
trigger
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:122
each
each vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:133
trigger
onLoad application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133
dispatch
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
K
tt.onload application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$
x application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e
e.handle application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:175
3vendor-ec5f6a1f89a9337b47f6.js:175 RangeError: Maximum call stack size exceeded
at get (foreman_tools.js:134)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
oo
n.callback vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
aa
ra vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
hi
di vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
ui
No vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
yi
vi vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
xi.render
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
gi
Si vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
render
t.mount MountingService.js:29
VM91:2
(anonymous)
globalEval vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:133
ke
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
VM83:16
success
l vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
j vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
ajax
reload VM83:11
VM83:30
setTimeout (async)
start
(anonymous) VM83:88
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
(anonymous)
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
trigger vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
each vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:122
each
trigger vendor-ec5f6a1f89a9337b47f6.js:133
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
onLoad
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
K application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload
load (async)
$ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x
e application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle
vendor-ec5f6a1f89a9337b47f6.js:175 Uncaught RangeError: Maximum call stack size exceeded
at get (foreman_tools.js:134)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
at d.i18n.dcnpgettext [as original_jed] (theme_client_side_branding-092c6e048ea461d7632e27019ed81b0afc2d0a4a0284562c34561fdd9ef76563.js:1)
ui vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
No
yi vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
vi
xi.render vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
(anonymous)
gi vendor-ec5f6a1f89a9337b47f6.js:175
vendor-ec5f6a1f89a9337b47f6.js:175
Si
render vendor-ec5f6a1f89a9337b47f6.js:175
MountingService.js:29
t.mount
(anonymous) VM91:2
vendor-ec5f6a1f89a9337b47f6.js:122
globalEval
ke vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
success VM83:16
vendor-ec5f6a1f89a9337b47f6.js:133
l
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
j
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
ajax vendor-ec5f6a1f89a9337b47f6.js:133
VM83:11
reload
setTimeout (async)
start VM83:30
VM83:88
(anonymous)
(anonymous) application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133
dispatch
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:133
trigger
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
vendor-ec5f6a1f89a9337b47f6.js:122
each
each vendor-ec5f6a1f89a9337b47f6.js:122
vendor-ec5f6a1f89a9337b47f6.js:133
trigger
onLoad application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133
dispatch
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
K
tt.onload application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$
x application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e
e.handle @ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133 [Violation] 'load' handler took 89109ms
[Violation] Forced reflow while executing JavaScript took 45ms
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/foreman-tasks/pull/384 added
Updated by Ivan Necas almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset a7b09588d00f3293bf4cf5c6b5e9720465c125cc.
Updated by Adam Ruzicka over 5 years ago
- Has duplicate Bug #26806: Auto-reloading task status not working properly added