xpra icon
Bug tracker and wiki

Opened 4 weeks ago

Closed 4 weeks ago

#2479 closed defect (fixed)

broadway errors: Array buffer allocation failed

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.0
Component: html5 Version: 3.0.x
Keywords: Cc:

Description

Is it leaking and running out of memory?

2019-11-14 00:10:58,340 client   2 RangeError: Array buffer allocation failed
2019-11-14 00:10:58,340 client   2     at new ArrayBuffer (<anonymous>)
2019-11-14 00:10:58,340 client   2     at getAsm (http://192.168.0.124:10000/js/lib/broadway/Decoder.js:18330:16)
2019-11-14 00:10:58,340 client   2     at Decoder.<anonymous> (http://192.168.0.124:10000/js/lib/broadway/Decoder.js:18091:25)
2019-11-14 00:10:58,340 client   2     at _broadwayOnPictureDecoded (http://192.168.0.124:10000/js/lib/broadway/Decoder.js:844:2)
2019-11-14 00:10:58,341 client   2     at Va (http://192.168.0.124:10000/js/lib/broadway/Decoder.js:14555:10)
2019-11-14 00:10:58,341 client   2     at Decoder.decode (http://192.168.0.124:10000/js/lib/broadway/Decoder.js:18284:16)
2019-11-14 00:10:58,341 client   2     at XpraWindow.paint [as do_paint] (http://192.168.0.124:10000/js/Window.js:1406:26)
2019-11-14 00:10:58,341 client   2     at XpraWindow.paint [as may_paint_now] (http://192.168.0.124:10000/js/Window.js:1225:17)
2019-11-14 00:10:58,341 client   2     at XpraWindow.paint (http://192.168.0.124:10000/js/Window.js:1212:7)
2019-11-14 00:10:58,341 client   2     at XpraClient._process_draw_queue (http://192.168.0.124:10000/js/Client.js:2657:7)
2019-11-14 00:10:58,341 client   2 error painting h264 RangeError: Array buffer allocation failed

Change History (2)

comment:1 Changed 4 weeks ago by Antoine Martin

Status: newassigned

Only occurs on my 32-bit VM.
Could be due to the limited memory?
Should we disable h264 on 32-bit or on low memory, or both?

comment:2 Changed 4 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

I believe this is fixed in r24426: we only enable video decoding by default on 64-bit systems.

Note: See TracTickets for help on using tickets.