Hi,
On 03/09/2026 21:57, Gleb Popov wrote:
On Thu, Sep 3, 2026 at 8:38 AM Jonathan Chen <[email protected]> wrote:
Hi,
I'm currently seeing the following when attempting to view Netflix videos:
lib.cpp:207: info: DecryptAndDecodeFrame
worker.cpp:380: info: decryptAndDecodeFrame
*** Fatal uncaught kj::Exception: util.h:15: failed: expected new_pos <
m_arena_start + m_arena_size [10ffde800 < 10fe01000]; out of mem
That's the root of the problem. Try rebuilding the port after increasing this
value:
https://github.com/shkhln/foreign-cdm/blob/c45855e456e7b0c6fe1d9f559f54ba3363d1ee39/src/config.h#L2
I bumped it up to (20 * 1024 * 1024) and that appeared to work:
--- src/config.h.orig 2026-09-03 22:11:29.525743000 +1200
+++ src/config.h 2026-09-03 22:11:36.728736000 +1200
@@ -1,5 +1,5 @@
#define FIBER_STACK_SIZE ( 1 * 1024 * 1024)
-#define SHMEM_ARENA_SIZE (10 * 1024 * 1024)
+#define SHMEM_ARENA_SIZE (20 * 1024 * 1024)
#define FCDM_JAIL_DIR ".fcdm-jail"
#define FCDM_LOCKFILE ".fcdm-lock"
Thanks!
--
Jonathan Chen <[email protected]>