Project

General

Profile

Actions

Bug #25444

closed

"Maximum call stack size exceeded" error when opening running task in web UI

Added by Adam Ruzicka about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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
node_modules/babel-polyfill/lib/index.js
VM86:1
a VM86:1
0
VM86:1
a VM86:1
(anonymous)
VM86:1
(anonymous) VM86:1
globalEval
vendor-ec5f6a1f89a9337b47f6.js:122
text script vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
j vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
send vendor-ec5f6a1f89a9337b47f6.js:133
ajax
vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl vendor-ec5f6a1f89a9337b47f6.js:133
ke
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
success
VM83:16
l vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
vendor-ec5f6a1f89a9337b47f6.js:133
j vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
ajax
vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl vendor-ec5f6a1f89a9337b47f6.js:133
ke
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
success
VM83:16
l vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
vendor-ec5f6a1f89a9337b47f6.js:133
j vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
ajax
vendor-ec5f6a1f89a9337b47f6.js:133
reload VM83:11
setTimeout (async)
start
VM83:30
(anonymous) VM83:88
(anonymous)
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
vendor-ec5f6a1f89a9337b47f6.js:133
trigger vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
each vendor-ec5f6a1f89a9337b47f6.js:122
each
vendor-ec5f6a1f89a9337b47f6.js:122
trigger vendor-ec5f6a1f89a9337b47f6.js:133
onLoad
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
vendor-ec5f6a1f89a9337b47f6.js:133
K application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
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
a
VM86:1
./webpack/assets/javascripts/foreman_tools.js VM87:1
a
VM86:1
./webpack/assets/javascripts/foreman_compute_resource.js VM87:1
a
VM86:1
./webpack/assets/javascripts/bundle.js VM87:1
a
VM86:1
window.webpackJsonp VM86:1
(anonymous)
VM87:1
globalEval vendor-ec5f6a1f89a9337b47f6.js:122
text script
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
j
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
send
vendor-ec5f6a1f89a9337b47f6.js:133
ajax vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl
vendor-ec5f6a1f89a9337b47f6.js:133
ke vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
vendor-ec5f6a1f89a9337b47f6.js:133
success VM83:16
l
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
j
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
vendor-ec5f6a1f89a9337b47f6.js:133
ajax vendor-ec5f6a1f89a9337b47f6.js:133
f._evalUrl
vendor-ec5f6a1f89a9337b47f6.js:133
ke vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
vendor-ec5f6a1f89a9337b47f6.js:133
success VM83:16
l
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
j
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
vendor-ec5f6a1f89a9337b47f6.js:133
ajax vendor-ec5f6a1f89a9337b47f6.js:133
reload
VM83:11
setTimeout (async)
start VM83:30
(anonymous)
VM83:88
(anonymous) application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
trigger
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
each
vendor-ec5f6a1f89a9337b47f6.js:122
each vendor-ec5f6a1f89a9337b47f6.js:122
trigger
vendor-ec5f6a1f89a9337b47f6.js:133
onLoad application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
K
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
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
vendor-ec5f6a1f89a9337b47f6.js:175
n.callback vendor-ec5f6a1f89a9337b47f6.js:175
aa
vendor-ec5f6a1f89a9337b47f6.js:175
ra vendor-ec5f6a1f89a9337b47f6.js:175
hi
vendor-ec5f6a1f89a9337b47f6.js:175
di vendor-ec5f6a1f89a9337b47f6.js:175
ui
vendor-ec5f6a1f89a9337b47f6.js:175
No vendor-ec5f6a1f89a9337b47f6.js:175
yi
vendor-ec5f6a1f89a9337b47f6.js:175
vi vendor-ec5f6a1f89a9337b47f6.js:175
xi.render
vendor-ec5f6a1f89a9337b47f6.js:175
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:175
gi
vendor-ec5f6a1f89a9337b47f6.js:175
Si vendor-ec5f6a1f89a9337b47f6.js:175
render
vendor-ec5f6a1f89a9337b47f6.js:175
t.mount MountingService.js:29
(anonymous)
VM91:2
globalEval vendor-ec5f6a1f89a9337b47f6.js:122
ke
vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith vendor-ec5f6a1f89a9337b47f6.js:133
success
VM83:16
l vendor-ec5f6a1f89a9337b47f6.js:133
fireWith
vendor-ec5f6a1f89a9337b47f6.js:133
j vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send vendor-ec5f6a1f89a9337b47f6.js:133
ajax
vendor-ec5f6a1f89a9337b47f6.js:133
reload VM83:11
setTimeout (async)
start
VM83:30
(anonymous) VM83:88
(anonymous)
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
vendor-ec5f6a1f89a9337b47f6.js:133
trigger vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:133
each vendor-ec5f6a1f89a9337b47f6.js:122
each
vendor-ec5f6a1f89a9337b47f6.js:122
trigger vendor-ec5f6a1f89a9337b47f6.js:133
onLoad
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch vendor-ec5f6a1f89a9337b47f6.js:133
b.handle
vendor-ec5f6a1f89a9337b47f6.js:133
K application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
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
No
vendor-ec5f6a1f89a9337b47f6.js:175
yi vendor-ec5f6a1f89a9337b47f6.js:175
vi
vendor-ec5f6a1f89a9337b47f6.js:175
xi.render vendor-ec5f6a1f89a9337b47f6.js:175
(anonymous)
vendor-ec5f6a1f89a9337b47f6.js:175
gi vendor-ec5f6a1f89a9337b47f6.js:175
Si
vendor-ec5f6a1f89a9337b47f6.js:175
render vendor-ec5f6a1f89a9337b47f6.js:175
t.mount
MountingService.js:29
(anonymous) VM91:2
globalEval
vendor-ec5f6a1f89a9337b47f6.js:122
ke vendor-ec5f6a1f89a9337b47f6.js:133
replaceWith
vendor-ec5f6a1f89a9337b47f6.js:133
success VM83:16
l
vendor-ec5f6a1f89a9337b47f6.js:133
fireWith vendor-ec5f6a1f89a9337b47f6.js:133
j
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
load (async)
send
vendor-ec5f6a1f89a9337b47f6.js:133
ajax vendor-ec5f6a1f89a9337b47f6.js:133
reload
VM83:11
setTimeout (async)
start VM83:30
(anonymous)
VM83:88
(anonymous) application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
trigger
vendor-ec5f6a1f89a9337b47f6.js:133
(anonymous) vendor-ec5f6a1f89a9337b47f6.js:133
each
vendor-ec5f6a1f89a9337b47f6.js:122
each vendor-ec5f6a1f89a9337b47f6.js:122
trigger
vendor-ec5f6a1f89a9337b47f6.js:133
onLoad application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
dispatch
vendor-ec5f6a1f89a9337b47f6.js:133
b.handle vendor-ec5f6a1f89a9337b47f6.js:133
K
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
tt.onload application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
load (async)
$
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
x application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e
application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
e.handle @ application-64307e378000581d0ac20e49d7378f494afc01605226ae3cd435b94f5cdf2fb0.js:1
vendor-ec5f6a1f89a9337b47f6.js:133 [Violation] 'load' handler took 89109ms
[Violation] Forced reflow while executing JavaScript took 45ms


Related issues 1 (0 open1 closed)

Has duplicate foreman-tasks - Bug #26806: Auto-reloading task status not working properlyDuplicateActions
Actions

Also available in: Atom PDF