On 29/01/2026 00:25, Thomas Klausner wrote:
> [..]
> I get a WebKitWebProcess.core file, and the backtrace of the most
> recent one looks like this:
> 
> (gdb) bt
> #0  0x0000769fb59a43ac in ?? () from 
> /usr/pkg/lib/libjavascriptcoregtk-4.1.so.0
> [...]
> Any suggestions how to progress from here?
> 
This is is crashing inside JSC. So I bet is likely related to JIT.

Try disabling JIT (performance will be way worse with pages using JavaScript, 
but maybe works).
Also try to use system malloc.
In other words, try this patch that enables those defaults for non-linux 
systems:

diff --git a/Source/cmake/WebKitFeatures.cmake 
b/Source/cmake/WebKitFeatures.cmake
index d08f10ebc8c3..049179ae8a67 100644
--- a/Source/cmake/WebKitFeatures.cmake
+++ b/Source/cmake/WebKitFeatures.cmake
@@ -88,7 +88,7 @@ macro(WEBKIT_OPTION_BEGIN)
             set(ENABLE_C_LOOP_DEFAULT ON)
             set(ENABLE_SAMPLING_PROFILER_DEFAULT OFF)
         endif ()
-    elseif (WTF_CPU_ARM64 OR WTF_CPU_X86_64)
+    elseif (WTF_OS_LINUX AND (WTF_CPU_ARM64 OR WTF_CPU_X86_64))
         set(ENABLE_JIT_DEFAULT ON)
         set(ENABLE_FTL_DEFAULT ON)
         set(USE_SYSTEM_MALLOC_DEFAULT OFF)
@@ -106,7 +106,7 @@ macro(WEBKIT_OPTION_BEGIN)
         set(USE_SYSTEM_MALLOC_DEFAULT OFF)
         set(ENABLE_C_LOOP_DEFAULT ON)
         set(ENABLE_SAMPLING_PROFILER_DEFAULT OFF)
-    elseif (WTF_CPU_RISCV64)
+    elseif (WTF_CPU_RISCV64 AND WTF_OS_LINUX)
         set(ENABLE_JIT_DEFAULT ON)
         set(ENABLE_FTL_DEFAULT ON)
         set(USE_SYSTEM_MALLOC_DEFAULT OFF)


Reply via email to