On Tuesday, 4 January 2022 at 20:28:00 UTC, Ben Jones wrote:
On Tuesday, 4 January 2022 at 19:14:04 UTC, Adam D Ruppe wrote:
[...]

Crashes on `display = XOpenDisplay(displayName);` :

```
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000
frame #1: 0x000000010005180d gameboy`_D4arsd13simpledisplay18XDisplayConnection3getFZPSQBwQBu7Display at simpledisplay.d:12572 frame #2: 0x00000001000470e0 gameboy`_D4arsd13simpledisplay5Image4impl11createImageMFiibbZv(this=0x0000000101200000, enableAlpha=false, forcexshm=false, height=144, width=160) at simpledisplay.d:12678 frame #3: 0x0000000100046bcc gameboy`_D4arsd13simpledisplay5Image6__ctorMFiibbZCQBpQBnQBb(this=0x0000000101200000, enableAlpha=false, forcexshm=false, height=144, width=160) at simpledisplay.d:7065

[...]

Hmm, I get the same segfault on linux, I'm linking with these flags and I the only warnings I get are about unwinding offsets:

`clang build/*.o -L. -lphobos2 -lX11 -ldl -lpthread -o build/gameboy`

Reply via email to