Xpra: Ticket #2479: broadway errors: Array buffer allocation failed

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


Wed, 13 Nov 2019 17:22:47 GMT - Antoine Martin: status changed

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?


Thu, 14 Nov 2019 04:52:10 GMT - Antoine Martin: status changed; resolution set

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


Sat, 23 Jan 2021 05:52:25 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2479