MCJack123 / craftos2

A fast, modern, and feature-filled ComputerCraft emulator written in C++.
https://www.craftos-pc.cc
Other
230 stars 27 forks source link

Crash when launching AppImage #351

Open MineRobber9000 opened 6 months ago

MineRobber9000 commented 6 months ago

Describe the bug I tried to launch the AppImage under my WSL Ubuntu Lunar Lobster and it crashed.

To Reproduce Steps to reproduce the behavior:

  1. Install Ubuntu Lunar Lobster on WSL.
  2. Download the AppImage and mark as executable.
  3. Attempt to run it.
  4. Get crash.

Expected behavior I expect it to... not crash.

Screenshots

craftos: ../../src/xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed.
Uh oh, CraftOS-PC has crashed! Reason: Aborted (6). Please report this to https://www.craftos-pc.cc/bugreport. Paste the following text under the 'Screenshots' section:
OS: Linux
Address is 0x3e800000b99 from 0x7ff90b4a652b
Last C function: (none!)
[bt]: (1) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7ff90b4a652b]
[bt]: (2) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7ff90b4a652b]
[bt]: (3) /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x16) [0x7ff90b4513b6]
[bt]: (4) /lib/x86_64-linux-gnu/libc.so.6(abort+0xd7) [0x7ff90b43787c]
[bt]: (5) /lib/x86_64-linux-gnu/libc.so.6(+0x2279b) [0x7ff90b43779b]
[bt]: (6) /lib/x86_64-linux-gnu/libc.so.6(+0x33b66) [0x7ff90b448b66]
[bt]: (7) /tmp/.mount_CraftOWAaXqS/usr/lib/libX11.so.6(+0x3ee39) [0x7ff90a7d5e39]
[bt]: (8) /tmp/.mount_CraftOWAaXqS/usr/lib/libX11.so.6(XCreateColormap+0x4b) [0x7ff90a7b31db]
[bt]: (9) /tmp/.mount_CraftOWAaXqS/usr/lib/libSDL2-2.0.so.0(+0xde59c) [0x7ff90ba8559c]
[bt]: (10) /tmp/.mount_CraftOWAaXqS/usr/lib/libSDL2-2.0.so.0(+0xb073a) [0x7ff90ba5773a]
[bt]: (11) /tmp/.mount_CraftOWAaXqS/usr/lib/libSDL2-2.0.so.0(+0xb2978) [0x7ff90ba59978]
[bt]: (12) /tmp/.mount_CraftOWAaXqS/usr/lib/libSDL2-2.0.so.0(+0xb3113) [0x7ff90ba5a113]
[bt]: (13) /tmp/.mount_CraftOWAaXqS/usr/lib/libSDL2-2.0.so.0(+0x228e7) [0x7ff90b9c98e7]
[bt]: (14) craftos(+0xf0a6b) [0x562896ec7a6b]
[bt]: (15) craftos(main+0x17b7) [0x562896e14ae7]
[bt]: (16) /lib/x86_64-linux-gnu/libc.so.6(+0x23a90) [0x7ff90b438a90]
[bt]: (17) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7ff90b438b49]
[bt]: (18) craftos(+0x4301e) [0x562896e1a01e]
Aborted

Environment (please complete the following information):

MineRobber9000 commented 6 months ago

Oddly it doesn't crash on the lab computers at my school (Ubuntu Focal Fossa), just my laptop's WSL (Ubuntu Lunar Lobster).

Baa14453 commented 1 month ago

I get the same crash for Ubuntu 24.04

craftos: ../../src/xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed.
Uh oh, CraftOS-PC has crashed! Reason: Aborted (6). Please report this to https://www.craftos-pc.cc/bugreport. Paste the following text under the 'Screenshots' section:
OS: Linux
Address is 0x3e80001e707 from 0x7629a2a9eb1c
Last C function: (none!)
[bt]: (1) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c) [0x7629a2a9eb1c]
[bt]: (2) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c) [0x7629a2a9eb1c]
[bt]: (3) /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e) [0x7629a2a4526e]
[bt]: (4) /lib/x86_64-linux-gnu/libc.so.6(abort+0xdf) [0x7629a2a288ff]
[bt]: (5) /lib/x86_64-linux-gnu/libc.so.6(+0x2881b) [0x7629a2a2881b]
[bt]: (6) /lib/x86_64-linux-gnu/libc.so.6(+0x3b507) [0x7629a2a3b507]
[bt]: (7) /tmp/.mount_CraftOkuFEBD/usr/lib/libX11.so.6(+0x3ee39) [0x7629a1f01e39]
[bt]: (8) /tmp/.mount_CraftOkuFEBD/usr/lib/libX11.so.6(XCreateColormap+0x4b) [0x7629a1edf1db]
[bt]: (9) /tmp/.mount_CraftOkuFEBD/usr/lib/libSDL2-2.0.so.0(+0xde59c) [0x7629a334359c]
[bt]: (10) /tmp/.mount_CraftOkuFEBD/usr/lib/libSDL2-2.0.so.0(+0xb073a) [0x7629a331573a]
[bt]: (11) /tmp/.mount_CraftOkuFEBD/usr/lib/libSDL2-2.0.so.0(+0xb2978) [0x7629a3317978]
[bt]: (12) /tmp/.mount_CraftOkuFEBD/usr/lib/libSDL2-2.0.so.0(+0xb3113) [0x7629a3318113]
[bt]: (13) /tmp/.mount_CraftOkuFEBD/usr/lib/libSDL2-2.0.so.0(+0x228e7) [0x7629a32878e7]
[bt]: (14) craftos(+0xf2ceb) [0x5dbb854e8ceb]
[bt]: (15) craftos(main+0x17b7) [0x5dbb85434037]
[bt]: (16) /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7629a2a2a1ca]
[bt]: (17) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7629a2a2a28b]
[bt]: (18) craftos(+0x4356e) [0x5dbb8543956e]