Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOOM 2 crashes upon interacting with level exit #1

Open
larb0b opened this issue Sep 17, 2019 · 1 comment
Open

DOOM 2 crashes upon interacting with level exit #1

larb0b opened this issue Sep 17, 2019 · 1 comment

Comments

@larb0b
Copy link

larb0b commented Sep 17, 2019

This port is very unstable when using a DOOM 2 IWAD. It seems to crash semi-often before actually drawing to the window, but if you do get in and manage to play, it crashes immediately upon interacting with a level exit.

WindowServer(11): [WM] WSWindow{0x01a32016} title set to "DOOM 2: Hell on Earth"
doom(23): printf_internal: Unimplemented format specifier .
USERSPACE(23) ASSERTION FAILED: false
/home/larbob/Projects/serenity/AK/PrintfImplementation.h:357 in int printf_internal(PutChFunc, char*, const char*&, va_list) [with PutChFunc = void (*)(char*&, char); va_list = char*]
signal: doom(23) sent 6 to doom(23)
terminate_due_to_signal doom(23) <- 6
Finalizing Thread 0 in doom(23)
0x0002f1d3  Scheduler::switch_now() +51
0x0002f677  Scheduler::yield() +69
0x00022f4b  Thread::block_helper() +27
0x0004eb78  Thread::BlockResult Thread::block<Thread::SemiPermanentBlocker, Thread::SemiPermanentBlocker::Reason>(Thread::SemiPermanentBlocker::Reason&&) +118
0x0001ba0b  Process::sys$kill(int, int) +189
0x00024cdf  syscall_trap_entry +545
0x00024a74  syscall_trap_handler +38
0x080a28ee  raise +22
0x080482bd  abort +13
0x080a2876  kill +0
0x0809f12a  vsnprintf +3463
0x0809f169  snprintf +24
0x08067cc7  WI_loadUnloadData +47
0x0806961e  WI_loadData +67
0x0806971e  WI_Start +19
0x0804e54f  G_DoCompleted +635
0x0804f2e9  G_Ticker +118
0x0804a9f9  TryRunTics +482
0x0804b132  D_DoomLoop +175
0x0804bf65  D_DoomMain +2440
0x08048492  main +349
0x080487b9  _start +94

Finalizing Process doom(23)
signal 17 was ignored by Shell(22)
Connection: Client disconnected: 4
WindowServer(11): Event type 3012 with no receiver :(
reap: doom(23) {Dead}
~Process{0x0033b2b8} name=doom pid=23, m_fds=0
~Thread{0x0033dd68}
sh: command finished in 68052 ms
/dev/pts/0 set_termios: ECHO=1, ISIG=1, ICANON=0
/dev/pts/0 set_termios: ECHOE=0, ECHOK=0, ECHONL=0
/dev/pts/0 set_termios: ISTRIP=0, ICRNL=0, INLCR=0, IGNCR=0
WindowServer(11): Event type 6 with no receiver :(
@awesomekling
Copy link

Looks like we're crashing because Serenity's printf implementation doesn't support . (dot) specifiers. Oops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants