blob: 4603f9cf67b5cc4df0fca60ba03a35f4d5d8daf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
Segmentation fault in my_XVaCreateNestedList
I have a (perhaps rather ambitious) goal of running Intel Quartus Prime on Apple M1 Pro using Box64. I started by adding the necessary native function wrappings in libc, libfontconfig, and libX11 for running the Quartus programmer installation wizard. The wizard starts, but after a couple of steps it segfaults in `my_XVaCreateNestedList`:
> 4597|SIGSEGV @0x64a5d7c0 (my_XVaCreateNestedList (/usr/local/bin/box64)) (x64pc=0xd0f33/???:"???", rsp=0xffffa028a698, stack=0xffff9fa97000:0xffffa0297000 own=(nil) fp=(nil)), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
Segmentation fault (core dumped)
The wrapped functions I added to libX11 are not called before the segmentation fault, so they can't be the problem. Any pointers on how to start debugging this?
I am running Ubuntu 21.10 on VMware Fusion for Apple Silicon, and I compiled Box64 using `-DARM_DYNAREC=ON`:
> Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
> Box64 with Dynarec v0.1.7 ead3217 built on Apr 4 2022 19:33:09
Should I try using `-DM1=1` instead?
|