• Bug#1103113: emscripten: FTBFS in testing/i386: RuntimeError: Aborted(R

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:02 2025
    Source: emscripten
    Version: 3.1.69+dfsg-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: [email protected]
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    make[1]: Entering directory '/build/reproducible-path/emscripten-3.1.69+dfsg' pkgjs-install-minimal PATH="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/tmpbin:$PATH" EM_CACHE="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache" emcc test/hello_world.c
    cache:INFO: generating system asset: symbol_lists/ba458624df542872c47e349d94dcb95438906232.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/ba458624df542872c47e349d94dcb95438906232.json" for
    subsequent builds)
    cache:INFO: - ok
    esbuild --target=es6 a.out.js > /dev/null PATH="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/tmpbin:$PATH" EM_CACHE="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache" emcc -O3 test/hello_world.c
    cache:INFO: generating system asset: symbol_lists/c22da5de17a3fd7ceb8ebe9172a8d1a85eaa2a37.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/c22da5de17a3fd7ceb8ebe9172a8d1a85eaa2a37.json" for
    subsequent builds)
    cache:INFO: - ok
    esbuild --target=es6 a.out.js > /dev/null
    rm a.out.js a.out.wasm PATH="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/tmpbin:$PATH" EM_CACHE="/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache" EMTEST_LACKS_CLOSURE_COMPILER=1 EMTEST_SKIP_V8=1 EMTEST_SKIP_WASM64=1 EMTEST_SKIP_EH=1 test/runner.py -
    -skip-slow wasm64_4gb.test_longjmp_repeat_emscripten asan.test_longjmp_repeat_wasm_exnref wasm2jsz.test_ubsan_full_no_return_fsanitize_return wasm2jss.test_dylink_global_inits_reversed wasm2jss.test_ctype asan.test_dlfcn_stacks core0.test_setjmp_many_
    wasm_exnref asan.test_minimal_runtime_utf8_invalid wasm64_4gb.test_strptime_reentrant core2.test_memorygrowth_geometric_step corez.test_exceptions_typed_wasm strict_js.test_float32_precise strict.test_exceptions_alias_wasm core_2gb.test_pthread_busy_wait_
    atexit lsan.test_pthread_abort_interrupt cores.test_memorygrowth_linear_step core0.test_dlfcn_qsort wasm64_v8.test_float_literals core3.test_memorygrowth_3 cores.test_stat_chmod_wasmfs core_2gb.test_embind_custom_marshal wasm64.test_exceptions_multi_wasm
    strict.test_emscripten_lazy_load_code_unconditional cores.test_write_stdout_fileno core_2gb.test_getdents64_special_cases wasm64_v8.test_EXPORT_EXCEPTION_HANDLING_HELPERS_emscripten asan.test_exceptions_uncaught_count_emscripten asan.test_reinterpreted_
    ptrs wasm2jsz.test_exceptions_rethrow_wasm_exnref cores.test_dlfcn_rtld_local ubsan.test_dylink_locate_file_reversed core2.test_dylink_exceptions_try_catch_2_reversed_emscripten wasm64.test_pthread_proxying_dropped_work corez.test_fs_append_rawfs wasm64_
    4gb.test_sscanf_float core0.test_embind_no_rtti core2.test_fs_llseek core2.test_unistd_dup_rawfs core3.test_pthread_dlopen_many core0.test_pthread_wait32_notify wasm2jsz.test_gmtime core_2gb.test_emscripten_lazy_load_code_conditional wasm2js2.test_
    readdir_unlink strict_js.test_dlfcn_em_asm core_2gb.test_fasta core_2gb.test_fs_nodefs_dup_rawfs wasm64_v8.test_dylink_exceptions_try_catch_reversed_wasm_exnref core2.test_exceptions_custom_emscripten wasm64_v8.test_pthread_atexit wasm2js1.test_stack_
    placement_pic wasm64_4gb.test_exceptions_refcount_wasm core2.test_array2b wasm2jss.test_nothrow_new_nogrow core3.test_proc_self_fd wasm64_v8.test_asyncify_main_module ubsan.test_externref core1.test_dylink_exceptions_try_catch_emscripten strict.test_
    fscanf_2 lsan.test_dlfcn_rtld_local strict.test_fs_nodefs_rw_rawfs core0.test_pthread_stdout_after_main core0.test_emscripten_stack core2.test_memorygrowth_MAXIMUM_MEMORY_standalone wasm2js0.test_dylink_raii_exceptions_wasm_exnref lsan.test_emmalloc_
    memvalidate_verbose corez.test_promise core_2gb.test_printf_macros wasm2jsz.test_template_class_deduction corez.test_dylink_dso_needed wasm2jss.test_exceptions_destroy_virtual_emscripten wasm2js1.test_emscripten_run_script_string_utf8 wasm2js3.test_fs_
    mmap_nodefs wasm64_4gb.test_bsearch wasm2js1.test_nestedstructs corez.test_segfault asan.test_siglongjmp_wasm asan.test_fakestat wasm2js2.test_dylink_argv_argc corez.test_aborting_new_nogrow ubsan.test_i64_7z core3.test_stat_chmod_wasmfs wasm2js0.test_
    pthread_wait_async wasm64_4gb.test_printf_wasmfs strict_js.test_pthread_dylink_basics_reversed core1.test_dlmalloc_partial_2 wasm2jsz.test_strtod strict.test_longjmp_repeat_wasm corez.test_exceptions_allowed_misuse corez.test_futimens core_2gb.test_
    emscripten_atomics cores.test_exceptions_2_wasm asan.test_random wasm2js0.test_dylink_no_export_reversed core3.test_pthread_proxying_cpp asan.test_strptime_days strict_js.test_longjmp3_wasm cores.test_strptime_tm wasm64.test_unistd_sysconf_standalone
    wasm2js1.test_embind_val_read_pointer wasm64_4gb.test_fs_llseek_rawfs core1.test_struct_varargs strict_js.test_dylink_raii_exceptions_emscripten wasm2js1.test_stdlibs strict_js.test_exceptions_longjmp4_emscripten core_2gb.test_longjmp_exc_wasm_exnref
    wasm64.test_float32_precise strict.test_em_asm core1.test_unistd_unlink_noderawfs core2.test_fs_writeFile cores.test_fs_nodefs_cloexec wasm64_4gb.test_dylink_jslib wasm2js2.test_dylink_static_funcpointer_float wasm2js1.test_dylink_exceptions_try_catch_2_
    reversed_wasm_exnref wasm64_4gb.test_bitfields core3.test_asan_modularized_with_closure core3.test_i64_cmp2 wasm64.test_dlfcn_asyncify core0.test_direct_string_constant_usage corez.test_module_wasm_memory cores.test_fs_emptyPath ubsan.test_fast_math
    wasm2jss.test_dylink_syslibs_libcxx wasm2js2.test_exceptions_rethrow_missing_emscripten core1.test_dylink_spaghetti_reversed core_2gb.test_longjmp_wasm_exnref core0.test_ubsan_full_null_ref_fsanitize_undefined core3.test_nothrow_new_nogrow strict_js.test_
    phiundef strict.test_ubsan_typeinfo_eq core3.test_i64_2 strict.test_dlfcn_basic_pthreads corez.test_setjmp_within_loop_emscripten ubsan.test_longjmp_wasm_exnref wasm2js2.test_atexit wasm2js0.test_pthread_dylink_entry_point_autoload wasm2jsz.test_dylink_
    exceptions_try_catch_2_emscripten strict_js.test_sscanf_skip strict.test_longjmp_unwind_wasm_exnref asan.test_typeid cores.test_setjmp_noleak_emscripten core2.test_strcasecmp wasm64_4gb.test_setjmp_noleak_wasm wasm64_v8.test_tracing core1.test_exceptions_
    allowed_2 lsan.test_zero_multiplication wasm2js2.test_promise core_2gb.test_linker_response_file corez.test_indirectbr_many core0.test_ssse3 wasm2js0.test_emmalloc_memory_statistics asan.test_dlmalloc_large corez.test_dylink_rtti_reversed wasm64_v8.test_
    neon_wasm_simd core3.test_exported_response asan.test_pthread_unhandledrejection wasm2js2.test_dylink_exceptions_try_catch_6_wasm_exnref strict.test_dylink_floats wasm64_v8.test_em_asm_side_module cores.test_fs_js_api asan.test_hello_argc_pthreads cores.
    test_exceptions_multiple_inherit_wasm_exnref core2.test_hello_world lsan.test_unistd_pipe wasm2js1.test_atoX wasm2js0.test_emulate_function_pointer_casts core3.test_biggerswitch core2.test_dylink_stdlib strict_js.test_utf8 wasm2js1.test_sqlite core_2gb.
    test_pthread_c11_threads lsan.test_i16_emcc_intrinsic cores.test_emscripten_atomics core_2gb.test_dylink_exceptions_try_catch_2_reversed_emscripten core0.test_phiundef core0.test_fcntl_misc lsan.test_wasm2js cores.test_hello_world corez.test_strtol_oct
    wasm2jss.test_random_device core2.test_safe_stack asan.test_exceptions_primary_wasm core_2gb.test_undefined_main wasm64_v8.test_async_ccall_good wasm2jsz.test_dylink_raii_exceptions_emscripten wasm2js0.test_bullet_cmake core1.test_longjmp_unwind_wasm
    cores.test_rand strict_js.test_aborting_new_grow wasm2jsz.test_unistd_pipe wasm64_v8.test_emscripten_async_call wasm2js1.test_fstatat corez.test_sigaction_default_sigint wasm2jsz.test_printf_octal wasm2jsz.test_pthread_cleanup core_2gb.test_strptime_tm_
    standalone core0.test_longjmp_zero_emscripten core_2gb.test_strtok wasm2js3.test_exceptions_longjmp2_wasm core_2gb.test_strtoll_dec core_2gb.test_exceptions_allowed_misuse
    posixtestsuite not found (run git submodule update --init?)
    Test suites:
    ['test_core']
    Running test_core: (200 tests)
    Using 8 parallel test processes
    test_zero_multiplication (test_core.lsan.test_zero_multiplication) ... skipped 'is_wasm2js : tests multiplication by zero'
    test_wasm2js (test_core.lsan.test_wasm2js) ... skipped 'no wasm2js support yet in sanitizers'
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method", /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method", test_unistd_sysconf_standalone (test_core.wasm64.test_unistd_sysconf_standalone) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method",
    cache:INFO: generating system asset: symbol_lists/40ad560deb856b1652535df3cc119b19b25dd521.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/40ad560deb856b1652535df3cc119b19b25dd521.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/3492c9e7f57430fe1f09ff382a8bcf21e1ceefdd.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/3492c9e7f57430fe1f09ff382a8bcf21e1ceefdd.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/9b3e71f37b84b2609b0c981623d3542d6b0a56e1.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/9b3e71f37b84b2609b0c981623d3542d6b0a56e1.json" for
    subsequent builds)
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method",
    test_utf8 (test_core.strict_js.test_utf8) ... ok (1.82s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/dd8ca7e3866310b95ae877e3ecd8adfcee8eed92.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/dd8ca7e3866310b95ae877e3ecd8adfcee8eed92.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/1ee47f3ba00b1d2ef74bce6aeeef60c739f60111.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/1ee47f3ba00b1d2ef74bce6aeeef60c739f60111.json" for
    subsequent builds)
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method",
    test_unistd_pipe (test_core.lsan.test_unistd_pipe) ... ok (3.31s) test_ubsan_full_no_return_fsanitize_return (test_core.wasm2jsz.test_ubsan_full_no_return_fsanitize_return) ... skipped 'is_wasm2js : TODO: sanitizers in wasm2js'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/b45602091760b2196ac8389046b05b73c6342f62.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/b45602091760b2196ac8389046b05b73c6342f62.json" for
    subsequent builds)
    test_ubsan_full_null_ref_fsanitize_undefined (test_core.core0.test_ubsan_full_null_ref_fsanitize_undefined) ... ok (2.69s)
    test_tracing (test_core.wasm64_v8.test_tracing) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/940e1eb3b24dd5b45b4f76191dd9891038c67313.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/940e1eb3b24dd5b45b4f76191dd9891038c67313.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/c758f626de09b6781faf5af67907b94e3dc804d4.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/c758f626de09b6781faf5af67907b94e3dc804d4.json" for
    subsequent builds)
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method", test_unistd_unlink_noderawfs (test_core.core1.test_unistd_unlink_noderawfs) ... ok (5.44s)
    test_struct_varargs (test_core.core1.test_struct_varargs) ... skipped 'is_wasm2js : tests va_arg()'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/183dabb278df792c9c3d3ec9a7459704e813b897.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/183dabb278df792c9c3d3ec9a7459704e813b897.json" for
    subsequent builds)
    test_ubsan_typeinfo_eq (test_core.strict.test_ubsan_typeinfo_eq) ... ok (6.44s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/cb9d55090cbbf9d64f62cfe09d140fbb3e1d379d.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/cb9d55090cbbf9d64f62cfe09d140fbb3e1d379d.json" for
    subsequent builds)
    test_typeid (test_core.asan.test_typeid) ... ok (4.10s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/19562bbeffbb7e82a5efa60173e7a75a34148949.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/19562bbeffbb7e82a5efa60173e7a75a34148949.json" for
    subsequent builds)
    test_undefined_main (test_core.core_2gb.test_undefined_main) ... FAIL
    -- begin program output --
    failed to asynchronously prepare wasm: RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
    Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    /tmp/emtest_gom0mllc/emscripten_test_core_2gb_u943_ty1/test_ctors_no_main.js:534
    /** @suppress {checkTypes} */ var e = new WebAssembly.RuntimeError(what);
    ^

    RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    at abort (/tmp/emtest_gom0mllc/emscripten_test_core_2gb_u943_ty1/test_ctors_no_main.js:534:41)
    at /tmp/emtest_gom0mllc/emscripten_test_core_2gb_u943_ty1/test_ctors_no_main.js:647:5
    Thrown at:
    at abort (/tmp/emtest_gom0mllc/emscripten_test_core_2gb_u943_ty1/test_ctors_no_main.js:534:41)
    at /tmp/emtest_gom0mllc/emscripten_test_core_2gb_u943_ty1/test_ctors_no_main.js:647:5


    Node.js v20.19.0
    -- end program output --
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/e7b2522b172242a34ef5b223cf9aeab8a29a87f6.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/e7b2522b172242a34ef5b223cf9aeab8a29a87f6.json" for
    subsequent builds)
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method",
    test_unistd_pipe (test_core.wasm2jsz.test_unistd_pipe) ... ok (8.64s) test_strptime_tm_standalone (test_core.core_2gb.test_strptime_tm_standalone) ... skipped 'Test configuration is not compatible with STANDALONE_WASM'
    test_unistd_dup_rawfs (test_core.core2.test_unistd_dup_rawfs) ... ok (8.88s) test_strptime_reentrant (test_core.wasm64_4gb.test_strptime_reentrant) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/50836717dbd3236c18a4851f821e9f1d13deaccb.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/50836717dbd3236c18a4851f821e9f1d13deaccb.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/0fa60bf4db0a979c014180c24d71a4acdba87231.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/0fa60bf4db0a979c014180c24d71a4acdba87231.json" for
    subsequent builds)
    cache:INFO: - ok
    test_strtok (test_core.core_2gb.test_strtok) ... FAIL
    -- begin program output --
    failed to asynchronously prepare wasm: RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
    Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    /tmp/emtest_xo_6wtus/emscripten_test_core_2gb_wtw9fcav/test_strtok.js:546
    /** @suppress {checkTypes} */ var e = new WebAssembly.RuntimeError(what);
    ^

    RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    at abort (/tmp/emtest_xo_6wtus/emscripten_test_core_2gb_wtw9fcav/test_strtok.js:546:41)
    at /tmp/emtest_xo_6wtus/emscripten_test_core_2gb_wtw9fcav/test_strtok.js:659:5
    Thrown at:
    at abort (/tmp/emtest_xo_6wtus/emscripten_test_core_2gb_wtw9fcav/test_strtok.js:546:41)
    at /tmp/emtest_xo_6wtus/emscripten_test_core_2gb_wtw9fcav/test_strtok.js:659:5


    Node.js v20.19.0
    -- end program output --
    cache:INFO: generating system asset: symbol_lists/f9f30824a668a716581d98718b1546c1a9985815.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/f9f30824a668a716581d98718b1546c1a9985815.json" for
    subsequent builds)
    test_strtoll_dec (test_core.core_2gb.test_strtoll_dec) ... FAIL
    -- begin program output --
    failed to asynchronously prepare wasm: RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
    Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    /tmp/emtest_ridq6u9y/emscripten_test_core_2gb_mullb0gk/test_strtoll_dec.js:546
    /** @suppress {checkTypes} */ var e = new WebAssembly.RuntimeError(what);
    ^

    RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    at abort (/tmp/emtest_ridq6u9y/emscripten_test_core_2gb_mullb0gk/test_strtoll_dec.js:546:41)
    at /tmp/emtest_ridq6u9y/emscripten_test_core_2gb_mullb0gk/test_strtoll_dec.js:659:5
    Thrown at:
    at abort (/tmp/emtest_ridq6u9y/emscripten_test_core_2gb_mullb0gk/test_strtoll_dec.js:546:41)
    at /tmp/emtest_ridq6u9y/emscripten_test_core_2gb_mullb0gk/test_strtoll_dec.js:659:5


    Node.js v20.19.0
    -- end program output --
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/45137e9f5b8b5cbac2a815811158e25483b2d257.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/45137e9f5b8b5cbac2a815811158e25483b2d257.json" for
    subsequent builds)
    test_template_class_deduction (test_core.wasm2jsz.test_template_class_deduction) ... ok (9.27s)
    test_strtol_oct (test_core.corez.test_strtol_oct) ... ok (7.64s) test_strptime_days (test_core.asan.test_strptime_days) ... ok (5.22s) test_stack_placement_pic (test_core.wasm2js1.test_stack_placement_pic) ... skipped 'is_wasm2js : MAIN_MODULE support'
    test_ssse3 (test_core.core0.test_ssse3) ... ERROR
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/ee79909f7966e167e9f539df5d393611cfe24d63.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/ee79909f7966e167e9f539df5d393611cfe24d63.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/5a7f0a19841a408edc097de1f348f1f78361e456.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/5a7f0a19841a408edc097de1f348f1f78361e456.json" for
    subsequent builds)
    test_strptime_tm (test_core.cores.test_strptime_tm) ... ok (7.66s) test_strcasecmp (test_core.core2.test_strcasecmp) ... ok (4.36s)
    test_sqlite (test_core.wasm2js1.test_sqlite) ... skipped 'skipping slow tests'
    test_sscanf_skip (test_core.strict_js.test_sscanf_skip) ... ok (2.12s) test_sscanf_float (test_core.wasm64_4gb.test_sscanf_float) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    test_siglongjmp_wasm (test_core.asan.test_siglongjmp_wasm) ... skipped 'Wasm EH does not work with asan yet'
    test_setjmp_noleak_wasm (test_core.wasm64_4gb.test_setjmp_noleak_wasm) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/17067d9208ea0dfa3e330f83305ae47cb3bad405.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/17067d9208ea0dfa3e330f83305ae47cb3bad405.json" for
    subsequent builds)
    /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
    warnings.warn("TestResult has no addDuration method", test_write_stdout_fileno (test_core.cores.test_write_stdout_fileno) ... ok (17.90s)
    test_setjmp_many_wasm_exnref (test_core.core0.test_setjmp_many_wasm_exnref) ... skipped 'test requires canary or d8 (and EMTEST_SKIP_EH is set)'
    get_null()
    test_stdlibs (test_core.wasm2js1.test_stdlibs) ... ok (4.75s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/0980eb0bb03bbad0dec68ea9c24469f9af44c4a7.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/0980eb0bb03bbad0dec68ea9c24469f9af44c4a7.json" for
    subsequent builds)
    test_strtod (test_core.wasm2jsz.test_strtod) ... ok (11.30s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/3aa9c34400f6aedb2d68c2b9b2a4673f9db6b008.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/3aa9c34400f6aedb2d68c2b9b2a4673f9db6b008.json" for
    subsequent builds)
    cache:INFO: - ok
    test_safe_stack (test_core.core2.test_safe_stack) ... ok (4.69s)
    cache:INFO: generating system asset: symbol_lists/b5157eac44027fbfb70da2e1222761536ef4dd33.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/b5157eac44027fbfb70da2e1222761536ef4dd33.json" for
    subsequent builds)
    test_setjmp_within_loop_emscripten (test_core.corez.test_setjmp_within_loop_emscripten) ... ok (7.19s)
    cache:INFO: - ok
    test_reinterpreted_ptrs (test_core.asan.test_reinterpreted_ptrs) ... ok (5.00s)
    test_sigaction_default_sigint (test_core.corez.test_sigaction_default_sigint) ... ok (8.08s)
    test_setjmp_noleak_emscripten (test_core.cores.test_setjmp_noleak_emscripten) ... ok (7.86s)
    cache:INFO: generating system asset: symbol_lists/7829a30d0c84c42dfb5d38ef6c0b7c8a18f3cf9c.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/7829a30d0c84c42dfb5d38ef6c0b7c8a18f3cf9c.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/924606896e454f5cab4765cb36c8cfc30d62f8fb.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/924606896e454f5cab4765cb36c8cfc30d62f8fb.json" for
    subsequent builds)
    new D2()
    test_stat_chmod_wasmfs (test_core.core3.test_stat_chmod_wasmfs) ... ok (12.45s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/b740cfbbd2df57b4085172fabf7d59cae17d360e.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/b740cfbbd2df57b4085172fabf7d59cae17d360e.json" for
    subsequent builds)
    test_stat_chmod_wasmfs (test_core.cores.test_stat_chmod_wasmfs) ... ok (13.69s)
    test_random (test_core.asan.test_random) ... ok (3.34s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/e24708e211772105bec2d01367bdb5521d7349be.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/e24708e211772105bec2d01367bdb5521d7349be.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/29673e4c5eea2e24c675a7b49268470076be1638.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/29673e4c5eea2e24c675a7b49268470076be1638.json" for
    subsequent builds)
    test_readdir_unlink (test_core.wasm2js2.test_readdir_unlink) ... ok (6.00s) test_pthread_proxying_dropped_work (test_core.wasm64.test_pthread_proxying_dropped_work) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    test_pthread_wait_async (test_core.wasm2js0.test_pthread_wait_async) ... ok (5.04s)
    test_pthread_dylink_entry_point_autoload (test_core.wasm2js0.test_pthread_dylink_entry_point_autoload) ... skipped 'no dynamic linking support in wasm2js yet'
    cache:INFO: - ok
    test_pthread_stdout_after_main (test_core.core0.test_pthread_stdout_after_main) ... ok (2.96s)
    cache:INFO: generating system asset: symbol_lists/5dd96d5312603d406eb79f381a8a0cfc2283107d.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/5dd96d5312603d406eb79f381a8a0cfc2283107d.json" for
    subsequent builds)
    test_rand (test_core.cores.test_rand) ... ok (6.61s) test_pthread_wait32_notify (test_core.core0.test_pthread_wait32_notify) ... ok (4.86s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/4dda4b49b6ada8234df6ff9fa3414b5ee51d02ad.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/4dda4b49b6ada8234df6ff9fa3414b5ee51d02ad.json" for
    subsequent builds)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/be3e69fa27ca5ccdeb870ede0bbb7ea7cf7d89c9.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/be3e69fa27ca5ccdeb870ede0bbb7ea7cf7d89c9.json" for
    subsequent builds)
    test_pthread_dylink_basics_reversed (test_core.strict_js.test_pthread_dylink_basics_reversed) ... ok (3.63s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/470c7bc089ffdb6218a32b0a71b16c933d4bd654.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/470c7bc089ffdb6218a32b0a71b16c933d4bd654.json" for
    subsequent builds)
    test_segfault (test_core.corez.test_segfault) ... ok (16.55s) test_pthread_atexit (test_core.wasm64_v8.test_pthread_atexit) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/6ab45e4f3ed01fd1188fb593ae7fdcf54c958a3a.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/6ab45e4f3ed01fd1188fb593ae7fdcf54c958a3a.json" for
    subsequent builds)
    test_pthread_unhandledrejection (test_core.asan.test_pthread_unhandledrejection) ... ok (7.39s)
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/1773eab302ea471edb032c00fde63167f312f4b7.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/1773eab302ea471edb032c00fde63167f312f4b7.json" for
    subsequent builds)
    test_pthread_c11_threads (test_core.core_2gb.test_pthread_c11_threads) ... FAIL
    -- begin program output -- /tmp/emtest_vga42e90/emscripten_test_core_2gb_q8set7jb/test_pthread_c11_threads.js:540
    wasmMemory = new WebAssembly.Memory({
    ^

    RangeError: WebAssembly.Memory(): could not allocate memory
    at Object.<anonymous> (/tmp/emtest_vga42e90/emscripten_test_core_2gb_q8set7jb/test_pthread_c11_threads.js:540:18)
    at Module._compile (node:internal/modules/cjs/loader:1529:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1096:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
    at node:internal/main/run_main_module:28:49
    Thrown at:
    at /tmp/emtest_vga42e90/emscripten_test_core_2gb_q8set7jb/test_pthread_c11_threads.js:540:18
    at Module._compile (node:internal/modules/cjs/loader:1529:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1096:12)
    at executeUserEntryPoint (node:internal/modules/run_main:164:12)
    at node:internal/main/run_main_module:28:49


    Node.js v20.19.0
    -- end program output --
    cache:INFO: - ok
    cache:INFO: generating system asset: symbol_lists/33d3bf14e4f1cc43419efbb4bc719cb5033c155a.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/33d3bf14e4f1cc43419efbb4bc719cb5033c155a.json" for
    subsequent builds)
    cache:INFO: - ok
    test_pthread_busy_wait_atexit (test_core.core_2gb.test_pthread_busy_wait_atexit) ... FAIL
    -- begin program output -- /tmp/emtest_nh2r3c6x/emscripten_test_core_2gb_qd3icpxx/test_pthread_busy_wait_atexit.js:553
    wasmMemory = new WebAssembly.Memory({
    ^

    RangeError: WebAssembly.Memory(): could not allocate memory
    at Object.<anonymous> (/tmp/emtest_nh2r3c6x/emscripten_test_core_2gb_qd3icpxx/test_pthread_busy_wait_atexit.js:553:18)
    at Module._compile (node:internal/modules/cjs/loader:1529:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1096:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
    at node:internal/main/run_main_module:28:49
    Thrown at:
    at /tmp/emtest_nh2r3c6x/emscripten_test_core_2gb_qd3icpxx/test_pthread_busy_wait_atexit.js:553:18
    at Module._compile (node:internal/modules/cjs/loader:1529:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1096:12)
    at executeUserEntryPoint (node:internal/modules/run_main:164:12)
    at node:internal/main/run_main_module:28:49


    Node.js v20.19.0
    -- end program output --
    cache:INFO: generating system asset: symbol_lists/7785ff2534c465fdec4d51838989526f1ba4ea76.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/7785ff2534c465fdec4d51838989526f1ba4ea76.json" for
    subsequent builds)
    cache:INFO: - ok
    test_random_device (test_core.wasm2jss.test_random_device) ... ok (17.67s) test_printf_wasmfs (test_core.wasm64_4gb.test_printf_wasmfs) ... skipped 'test requires node >= 23 or d8 (and EMTEST_SKIP_WASM64 is set)'
    test_pthread_abort_interrupt (test_core.lsan.test_pthread_abort_interrupt) ... ok (7.63s)
    test_pthread_dlopen_many (test_core.core3.test_pthread_dlopen_many) ... ok (11.84s)
    test_pthread_cleanup (test_core.wasm2jsz.test_pthread_cleanup) ... ok (12.42s)
    cache:INFO: generating system asset: symbol_lists/ce992f813445b3b68bcbd876125db26d47793e9a.json... (this will be cached in "/build/reproducible-path/emscripten-3.1.69+dfsg/debian/em_cache/symbol_lists/ce992f813445b3b68bcbd876125db26d47793e9a.json" for
    subsequent builds)
    test_phiundef (test_core.strict_js.test_phiundef) ... ok (2.16s) test_printf_macros (test_core.core_2gb.test_printf_macros) ... FAIL
    -- begin program output --

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Apr 17 09:20:01 2025
    Processing control commands:

    tags -1 moreinfo
    Bug #1103113 [src:emscripten] emscripten: FTBFS in testing/i386: RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    Added tag(s) moreinfo.

    --
    1103113: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103113
    Debian Bug Tracking System
    Contact [email protected] with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon May 5 09:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 05 May 2025 07:04:54 +0000
    with message-id <[email protected]>
    and subject line Bug#1103113: fixed in emscripten 3.1.69+dfsg-2
    has caused the Debian Bug report #1103113,
    regarding emscripten: FTBFS in testing/i386: RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1103113: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103113
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 14 Apr 2025 11:43:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_NONE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 862; hammy, 150; neutral, 268; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <[email protected]>
    Received: from stravinsky.debia