box64
box64 copied to clipboard
GeekBench6 crash on LoongArch due to SIG_DFL
Here’s the log . Thanks for your work!
log
./geekbench6
Box64 loongarch64 v0.3.9 36a5020d with Dynarec built on Nov 11 2025 17:47:37
Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ FRECIP
Running on Loongson-3A6000 with 8 cores, pagesize: 4096
Will use hardware counter measured at 2.5 GHz
Detected 48bits at least of address space
Warning, older then 2.34 pthread_kill not found, using current one
Counted 39 Env var
Library search path:
Binary search path: ./:bin/:/home/sena/emulate/wine/wine/bin/:/home/sena/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/local/games/:/usr/games/:/home/sena/.gem/ruby/2.5.0/bin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/
Looking for ./geekbench6
BOX64ENV: Variables overridden:
BOX64_ENV=BOX64_DYNAREC_STRONGMEM=1
BOX64_ENV1=BOX64_RESERVE_HIGH=1
Rename process to "geekbench6"
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Box64 loongarch64 v0.3.9 36a5020d with Dynarec built on Nov 11 2025 17:47:37
Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ FRECIP
Running on Loongson-3A6000 with 8 cores, pagesize: 4096
Will use hardware counter measured at 2.5 GHz
Detected 48bits at least of address space
Warning, older then 2.34 pthread_kill not found, using current one
Counted 42 Env var
Library search path:
Binary search path: ./:bin/:/home/sena/emulate/wine/wine/bin/:/home/sena/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/local/games/:/usr/games/:/home/sena/.gem/ruby/2.5.0/bin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/
Looking for /home/sena/emulate/x86/Geekbench-6.5.0-Linux/geekbench_x86_64
BOX64ENV: Variables overridden:
BOX64_DYNAREC_STRONGMEM=1
BOX64_RESERVE_HIGH=1
argv[1]="--argv0"
argv[2]="./geekbench6"
Rename process to "geekbench_x86_64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Geekbench 6.5.0 : https://www.geekbench.com/
Geekbench 6 requires an active internet connection and automatically uploads
benchmark results to the Geekbench Browser.
Upgrade to Geekbench 6 Pro to enable offline use and unlock other features:
https://store.primatelabs.com/v6
Enter your Geekbench 6 Pro license using the following command line:
./geekbench6 --unlock <email> <key>
System Information
Operating System AOSC OS (12.2.2)
Kernel Linux 6.17.7-aosc-main-4k x86_64
Model Loongson Loongson-3A6000-7A2000-1w-V0.1-EVB
Motherboard Loongson Loongson-3A6000-7A2000-1w-EVB-V1.21
BIOS Loongson Loongson-UDK2018-V4.0.05823-stable202408
CPU Information
Name Box64 on Loongson-3A6000 @1000 MHz
Topology 1 Processor, 4 Cores, 8 Threads
Identifier GenuineIntel Family 6 Model 70 Stepping 1
Base Frequency 600 MHz
L1 Instruction Cache 32.0 KB x 8
L1 Data Cache 32.0 KB x 8
L2 Cache 4.00 MB x 8
Instruction Sets sse2 sse3 pclmul sse41 aesni shani
Memory Information
Size 15.5 GB
Single-Core
Running File Compression
Running Navigation
Running HTML5 Browser
Running PDF Renderer
Running Photo Library
Running Clang
Running Text Processing
Running Asset Compression
Running Object Detection
Running Background Blur
Running Horizon Detection
Running Object Remover
Running HDR
Running Photo Filter
Running Ray Tracer
Running Structure from Motion
Multi-Core
Running File Compression
Running Navigation
Running HTML5 Browser
Running PDF Renderer
Running Photo Library
Running Clang
Running Text Processing
Running Asset Compression
Running Object Detection
Running Background Blur
Running Horizon Detection
Running Object Remover
151161|Warning, calling Signal 11 function handler SIG_DFL
Unhandled signal caught, aborting
NativeBT: /home/sena/emulate/box64/build/box64() [0x3483010c]
NativeBT: /home/sena/emulate/box64/build/box64() [0x3487d73c]
NativeBT: linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x7fffffb41040]
NativeBT: /usr/lib/libc.so.6(+0x89e60) [0x7ffff3169e60]
NativeBT: /usr/lib/libc.so.6(gsignal+0x24) [0x7ffff31143bc]
NativeBT: /usr/lib/libc.so.6(abort+0xf8) [0x7ffff30fcfcc]
NativeBT: /home/sena/emulate/box64/build/box64() [0x3487af70]
NativeBT: /home/sena/emulate/box64/build/box64() [0x3487c1f8]
NativeBT: /home/sena/emulate/box64/build/box64() [0x3487cfa4]
NativeBT: /home/sena/emulate/box64/build/box64() [0x348302f8]
NativeBT: /home/sena/emulate/box64/build/box64() [0x34830828]
NativeBT: /home/sena/emulate/box64/build/box64() [0x35111710]
NativeBT: /home/sena/emulate/box64/build/box64() [0x348494b4]
NativeBT: /home/sena/emulate/box64/build/box64() [0x34882ae0]
NativeBT: /usr/lib/libc.so.6(+0x87b3c) [0x7ffff3167b3c]
NativeBT: /usr/lib/libc.so.6(+0xfd484) [0x7ffff31dd484]
EmulatedBT: ??? [0x7fffc4014f80]
151161|SIGABRT @0x7ffff3169e60 (???(/usr/lib/libc.so.6+0x89e60)) (x64pc=0x7fffc4014f80/"???", rsp=0x7fffd2fff4a8, stack=0x7fffd2c00000:0x7fffd3000000 own=0x7fffd2c00000 fp=0x7fffc0014e00), for accessing 0x3e800024844 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000100754805 RSP-0x18:0x00000000d2a91c08 RSP-0x10:0x00000000d2c058b8 RSP-0x08:0x00007fffd2fffaf0
RSP+0x00:0x0000000000003000 RSP+0x08:0x00000000d2c008c0 RSP+0x10:0x0000000000002000 RSP+0x18:0x0000000000000002
RAX:0x0000000000000000 RCX:0x00007fffc4017180 RDX:0x00007fffc0014e30 RBX:0x0000000046d55a00
RSP:0x00007fffd2fff4a8 RBP:0x00007fffc0014e00 RSI:0x0000000046d56108 RDI:0x00007fffc4015c80
R8:0x00007fffc0014e38 R9:0x0000000000000002 R10:0x0000000000000bb8 R11:0x000000006d220000
R12:0x0000000000000000 R13:0x00007fffc4015c80 R14:0x00007fffc4015c80 R15:0x0000000046d556f0 ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0000 GS:0x0000 FSBASE=0x7fffc0010b70 GSBASE=(nil)
Use BOX64_LOG=2 I notice that when it crashes, the value of RIP looks strange
[BOX64] Run X86 (0x7fffcc072350), RIP=0x10223fe72, Stack=0x7fffd3fffce0 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x574fdbb0), RIP=0x10223fe72, Stack=0x7fffd85ffd30 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x57483390), RIP=0x10223fe72, Stack=0x7ffff23fa120 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10223fe72, Stack=0x7fffd8bff580 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x10223fe72, Stack=0x7fffd2fffce0 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x57483390), RIP=0x10223fe72, Stack=0x7ffff23fa120 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x7fffc8014df0), RIP=0x10223fe72, Stack=0x7fffd17ffd30 is32bits=0
[BOX64] Run X86 (0x7fffcc072350), RIP=0x10223fe72, Stack=0x7fffd3fffcf0 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x10223fe72, Stack=0x7fffd2fffce0 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x57483390), RIP=0x10223fe72, Stack=0x7ffff23fa120 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x10223fe72, Stack=0x7fffd2fffd30 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10223fe72, Stack=0x7fffd8bff580 is32bits=0
[BOX64] Run X86 (0x7fffcc211010), RIP=0x10223fe72, Stack=0x7fffd35ffce0 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x57483390), RIP=0x10223fe72, Stack=0x7ffff23fa120 is32bits=0
[BOX64] Run X86 (0x575d0340), RIP=0x10224055e, Stack=0x7fffd8bff540 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x10223fe72, Stack=0x7fffd2fffd30 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x10223fe72, Stack=0x7fffd2fffcf0 is32bits=0
[BOX64] Run X86 (0x7fffd4016e10), RIP=0x7fffd4016a80, Stack=0x7fffd2fffd38 is32bits=0
[BOX64] 4060|Emit Signal 11 at IP=0x7fffd4016a80(??? / ?) / addr=0x7fffd4016a80, code=0xecec
[BOX64] ES=0x002b CS=0x0033 SS=0x002b DS=0x002b FS=0x0000 GS=0x0000 FSBASE=0x7fffc4010b70 GSBASE=(nil)
RAX=00007fffd4015480 RCX=0000000063d891ec RDX=000000000000006c RBX=000000000000fffe RSP=00007fffd2fffd38 FLAGS=----AP-
RBP=000000005753dc08 RSI=0000000063d60d40 RDI=00007fffd401ab80 R8=0000000063d891e0 R9=0000000063d891e0
R10=000000000000006b R11=0000000000000000 R12=00007fffd401ad00 R13=00007fffd401ab80 R14=00007fffd401ab80
R15=00007fffd4015280 RIP=00007fffd4016a80 Emu Stack: 0x7fffd2c00000 0x400000 owned
There is probably an issue in the Loongarch Dynarec (because it works fine on arm64). Problem is, we need to wait for a long time before the segfault occurs, making the debugging of this quite tedious! We will find the issue eventualy...