GMod crashes after a while on Linux after CEF 136 Update [2025-05-30]
Crashed once while idle. Crashed several times during gameplay; multiple maps tested, same behavior. Was stable yesterday, haven't had to patch CEF in a while. Had to patch today & read it's upgraded to version 136.
I've tried:
- Restarting PC.
- Verifying game files.
Did small system updates this morning but nothing major, I do have a backup if I have to restore.
Crash dumps: 05-30-2025.zip
Reported as https://github.com/Facepunch/garrysmod-issues/issues/6366 but told to contact modification author.
Protocol version 24
Exe version 2025.03.26 (garrysmod)
Exe build: 18:11:52 May 15 2025 (9680) (4000)
GMod version 2025.05.29, branch: x86-64, multicore: 1
Linux 64bit
OS: Linux Mint virginia 21.3 x86_64
Kernel: Linux 5.15.0-140-generic
Switched to 32 bit, verified files, then it didn't crash at all.
We've recompiled CEF 136 on Ubuntu 22.04 (glibc 2.35), which we think will fix the issue. We think it was an issue with the glibc version with Ubuntu 20.04 (glibc 2.31), which is what we were building on before.
Please give the tool another run and let us know if that fixes it
Yup seems fixed & stable now; played a few hours without crashing. Tested multiple maps & one that was consistently crashing before; all good now.
One crash happened last night, while idle/tabbed out. I'll let you know if there's any more significant crash behavior as I try more maps.
I appreciate your support.
On a different map, I was idle & crashed again. Don't think I was tabbed out.
Other Linux users are still reporting this is an issue... We're gonna try and update to CEF 137 and see if that fixes it.
If not, 136 is out of active development anyway, so if it ends up being an issue with CEF/Chromium and not an issue with something we're doing, we can at least report it
For transparency, here's the stack trace for 06-02-2025-crash-02, which crashes in the same place/way as all of the other dumps I've seen so far:
PS D:\GModCEFCodecFixDev> minidump-stackwalk "35ab6419-eeae-4289-e149f682-43b5ab51.dmp" --symbols-path "D:\GModCEFCodecFixDev\Internal\release_fixed\linux\x86-64\bin\linux64\libcef.so.sym"
Operating system: Linux
5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025
CPU: amd64
family 6 model 158 stepping 13
1 CPU
Crash reason: SIGILL / ILL_ILLOPN
Crash address: 0x00007f37553d283a
Crashing instruction: `ud2`
No memory accessed by instruction
No instruction pointer update by instruction
Crashing address may be the result of a flipped bit:
0. Valid address: 0x00007f35553d283a (0.250)
1. Valid address: 0x00007f36553d283a (0.250)
2. Valid address: 0x00007f37153d283a (0.250)
3. Valid address: 0x00007f37453d283a (0.250)
Process uptime: not available
Linux memory map count: 1436
Thread 22 (crashed) - tid: 8218
0 libcef.so!base::trace_event::MallocDumpProvider::OnMemoryDump(base::trace_event::MemoryDumpArgs const&, base::trace_event::ProcessMemoryDump*) [malloc_dump_provider.cc : 452 + 0x11]
rax = 0x00000000847bd000 rdx = 0x000000007fbf2c30
rcx = 0x00000000000023d2 rbx = 0x00007f370000ecc0
rsi = 0x00000000000204a0 rdi = 0x00007f37bc000880
rbp = 0x00007f3721ffa8c0 rsp = 0x00007f3721ffa870
r8 = 0x0000000000032730 r9 = 0x00007f37bc000030
r10 = 0x00007f3721ffa770 r11 = 0x0000000000000000
r12 = 0x00007f375ba302c0 r13 = 0x0000000000000000
r14 = 0x00007f37000074b0 r15 = 0x00007f3721ffa870
rip = 0x00007f37553d283a
Found by: given as instruction pointer in context
1 libcef.so!base::trace_event::MemoryDumpManager::InvokeOnMemoryDump(base::trace_event::MemoryDumpProviderInfo*, base::trace_event::ProcessMemoryDump*) [memory_dump_manager.cc : 467 + 0x10]
rbx = 0x00007f37000074e0 rbp = 0x00007f3721ffa930
rsp = 0x00007f3721ffa8d0 r12 = 0x00007f375ba302c0
r13 = 0x0000000000000000 r14 = 0x00007f370000ecc0
r15 = 0x00007f3721ffa8f0 rip = 0x00007f37553d498e
Found by: call frame info
2 libcef.so!base::trace_event::MemoryDumpManager::ContinueAsyncProcessDump(base::trace_event::MemoryDumpManager::ProcessMemoryDumpAsyncState*) [memory_dump_manager.cc : 384 + 0xe]
rbx = 0x00007f3700053a28 rbp = 0x00007f3721ffa9b0
rsp = 0x00007f3721ffa940 r12 = 0x00007f370000fd88
r13 = 0x00007f3728049a10 r14 = 0x00007f37000074e0
r15 = 0x00007f3700053a20 rip = 0x00007f37553d4694
Found by: call frame info
3 libcef.so!base::TaskAnnotator::RunTaskImpl(base::PendingTask&) [task_annotator.cc : 209 + 0x20]
rbx = 0x00007f3700003240 rbp = 0x00007f3721ffaa40
rsp = 0x00007f3721ffa9c0 r12 = 0x00007f3721ffb318
r13 = 0x0000000000000000 r14 = 0x00007f3721ffaa08
r15 = 0x0000000000000000 rip = 0x00007f3755347a0f
Found by: call frame info
4 libcef.so!{virtual override thunk({offset(-240)}, base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork())} + 0x721
rbx = 0x00007f375ba302c0 rbp = 0x00007f3721ffac10
rsp = 0x00007f3721ffaa50 r12 = 0x0000000000000001
r13 = 0x00007f3700003240 r14 = 0x00007f372804be30
r15 = 0x00007f372804bf68 rip = 0x00007f3755369a32
Found by: call frame info
5 libcef.so!base::MessagePumpDefault::Run(base::MessagePump::Delegate*) [message_pump_default.cc : 42 + 0x19]
rbx = 0x00007f37000011f0 rbp = 0x00007f3721ffaca0
rsp = 0x00007f3721ffac20 r12 = 0x0000000000000003
r13 = 0xaaaaaaaaaaaaaaaa r14 = 0x00007f372804be30
r15 = 0x00007f3721ffac50 rip = 0x00007f37552fb222
Found by: call frame info
6 libcef.so!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) [thread_controller_with_message_pump_impl.cc : 629 + 0x13]
rbx = 0x00007f372804bd40 rbp = 0x00007f3721ffacf0
rsp = 0x00007f3721ffacb0 r12 = 0x00007f372804bd60
r13 = 0x7fffffffffffffff r14 = 0x0000000000000001
r15 = 0x00007f372804bf68 rip = 0x00007f375536a16e
Found by: call frame info
7 libcef.so!base::RunLoop::Run(base::Location const&) [run_loop.cc : 134 + 0x11]
rbx = 0x00007f3721ffadc0 rbp = 0x00007f3721ffad70
rsp = 0x00007f3721ffad00 r12 = 0x00007f372804bb80
r13 = 0x0000000000000000 r14 = 0x00007f3721ffad30
r15 = 0x00007f3721ffad80 rip = 0x00007f37553283be
Found by: call frame info
8 libcef.so!base::Thread::Run(base::RunLoop*) + 0x37
rbx = 0x00007f3721ffadc0 rbp = 0x00007f3721ffadb0
rsp = 0x00007f3721ffad80 r12 = 0x00007f372804bb80
r13 = 0x7ffffffffffffff6 r14 = 0x00007f3721ffad80
r15 = 0x00007f3721ffadc0 rip = 0x00007f375538d018
Found by: call frame info
9 libcef.so!base::Thread::ThreadMain() [thread.cc : 416 + 0xb]
rbx = 0x00007f372804bb70 rbp = 0x00007f3721ffae10
rsp = 0x00007f3721ffadc0 r12 = 0x00007f372804bb80
r13 = 0x7ffffffffffffff6 r14 = 0x0000000000000000
r15 = 0x00007f3721ffadc0 rip = 0x00007f375538d1e2
Found by: call frame info
10 libcef.so!base::(anonymous namespace)::ThreadFunc(void*) [platform_thread_posix.cc : 103 + 0x7]
rbx = 0x00007f3721ffb640 rbp = 0x00007f3721ffae50
rsp = 0x00007f3721ffae20 r12 = 0x00007f3724000c10
r13 = 0x00007f3721ffb130 r14 = 0x00007f3721ffb100
r15 = 0x00007f372804bb70 rip = 0x00007f375539fb3e
Found by: call frame info
11 libc.so.6 + 0x94ac2
rbx = 0x00007f3721ffb640 rbp = 0x0000000000000000
rsp = 0x00007f3721ffae60 r12 = 0x00007f3721ffb640
r13 = 0x0000000000000016 r14 = 0x00007f37c58957d0
r15 = 0x00007f37366006e0 rip = 0x00007f37c5895ac3
Found by: call frame info
12 libc.so.6 + 0x947cf
rsp = 0x00007f3721ffae98 rip = 0x00007f37c58957d0
Found by: stack scanning
13 libc.so.6 + 0x12684f
rsp = 0x00007f3721ffaf00 rip = 0x00007f37c5927850
Found by: stack scanning
We're now updated to CEF 137. Please run the tool again and let us know
Still crashing, twice during gameplay & once while idle.
To be specific, I verified files before patching again to avoid any conflict. An idle & gameplay crash happened on same map; still same crash behavior across many maps. Typically takes a while to crash but not always; sometimes within a few minutes.
Okay...we patched in a workaround for this issue in upstream Chromium, and it seems to be doing the trick. Please let us know if it's not
Yup patched this morning, ran for 2 hours straight without crashing; restarted & ran another 2 hours. & a third session 30+ mins, seems stable. Will let you know if problems occur.
Thank you.