influxdata / ui

UI for InfluxDB
94 stars 42 forks source link

flux-lsp-browser: RuntimeError: Out of bounds memory access (evaluating 't(r)') #4814

Open philjb opened 2 years ago

philjb commented 2 years ago

About the bug

At some point, my queries with built in variables stop completing with error

error @5:33-5:34: record is missing label env

error @2:19-2:20: record is missing label timeRangeStart

error @2:43-2:44: record is missing label timeRangeStop

If i remove all variables, the query will run.

The console error is:

 RuntimeError: Out of bounds memory access (evaluating 't(r)')
<?>.wasm-function[3696]
<?>.wasm-function[12231]
<?>.wasm-function[9641]
wasm-stub
m — flux-lsp-browser_bg.js:68
C — flux-lsp-browser_bg.js:223
s — astim.ts:24
map
(anonymous function) — TimeSeries.tsx:388
h — selectorFactory.js:31
Oa — react-dom.production.min.js:168:377
Connect(withRouter(I)) — connectAdvanced.js:312
sa — react-dom.production.min.js:157:139
Wa — react-dom.production.min.js:180:157
Tu — react-dom.production.min.js:250:350
Du — react-dom.production.min.js:250:281
Su — react-dom.production.min.js:250:138
bu — react-dom.production.min.js:243:166
bu
(anonymous function) — react-dom.production.min.js:123:115
(anonymous function) — scheduler.production.min.js:18:343
Ko — react-dom.production.min.js:123
Qo — react-dom.production.min.js:122:428
wu — react-dom.production.min.js:244:190
notify — Subscription.js:15
notifyNestedSubs — Subscription.js:85
o — Subscription.js:90
v — redux.js:296
(anonymous function) — queryStringConfig.ts:8
(anonymous function) — resizeLayout.ts:7
(anonymous function) — queries.ts:367
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
s — astim.ts:26
map
(anonymous function) — TimeSeries.tsx:388
h — selectorFactory.js:31
Oa — react-dom.production.min.js:168:377
Connect(withRouter(I)) — connectAdvanced.js:312
sa — react-dom.production.min.js:157:139
Wa — react-dom.production.min.js:180:157
Tu — react-dom.production.min.js:250:350
Du — react-dom.production.min.js:250:281
Su — react-dom.production.min.js:250:138
bu — react-dom.production.min.js:243:166
bu
(anonymous function) — react-dom.production.min.js:123:115
(anonymous function) — scheduler.production.min.js:18:343
Ko — react-dom.production.min.js:123
Qo — react-dom.production.min.js:122:428
wu — react-dom.production.min.js:244:190
notify — Subscription.js:15
notifyNestedSubs — Subscription.js:85
o — Subscription.js:90
v — redux.js:296
(anonymous function) — queryStringConfig.ts:8
(anonymous function) — resizeLayout.ts:7
(anonymous function) — queries.ts:367
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
ue — index.js:5341

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. unknown2.
  2. but I seem to see it after refreshing a query several times over 20minutes when i have a flux editor open (cell or explorer page edit)

Expected behavior: built in variables work

Actual behavior: errors - query does not complete

Visual Proof:

Screen Shot 2022-06-13 at 9 37 33 PM

see console logs above

About your environment

Environment info: cloud2

Config:

na

Logs:

see above Performance: na

philjb commented 2 years ago

lots of console errors:

Screen Shot 2022-06-13 at 9 41 39 PM
wiedld commented 1 year ago

@philjb -- have you seen this in awhile?