Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[L4D2] [Linux] Crash when joining or starting survival with "Official Dedicated" servers

Open mspencerl87 opened this issue 8 months ago • 1 comments

There was an old issue pretty much the same issue https://github.com/ValveSoftware/Source-1-Games/issues/5986

However, mine is crashing when I join an online surival game, on any map. Doesn't happen on single player mode. Can join multiplayer campain maps just fine no issues.

Crashes to desktop.

Just reinstalled the game, removed all subscriptions, and updated to latest on Nobara 42 GPU 6700xt

I don't know where to look are there any dump files?

mspencerl87 avatar May 22 '25 22:05 mspencerl87

I'm experiencing the same issue. I have seen it both on the LTS kernel 6.12.30 and kernel 6.14.6 with the zen patchset (easy to switch between them). I'm using a 7900XT as my GPU, and I'm using Mesa 25.1.1, as seen in the paths below.

I ran Left 4 Dead 2 with GAME_DEBUGGER pointed at gdb (however I was outside the Steam Linux Runtime), and got the following stack trace and log messages:

double free or corruption (!prev)

Thread 23 "hl2_linu:gdrv0" received signal SIGABRT, Aborted.
[Switching to Thread 0xe1affb40 (LWP 12782)]
0xf7fc5579 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7fc5579 in __kernel_vsyscall ()
#1  0xf7d4027f in internal_signal_unblock_signal (sig=6) at ../sysdeps/unix/sysv/linux/internal-signals.h:99
#2  __GI_abort () at abort.c:87
#3  0xf7d413a4 in __libc_message_impl (fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:134
#4  0xf7dc006d in malloc_printerr (str=str@entry=0xf7ef1dd4 "double free or corruption (!prev)") at malloc.c:5829
#5  0xf7dc249b in _int_free_merge_chunk (av=av@entry=0x86c00018, p=p@entry=0x86c1ac78, size=<optimized out>) at malloc.c:4721
#6  0xf7dc25d0 in _int_free_chunk (av=av@entry=0x86c00018, p=p@entry=0x86c1ac78, size=size@entry=112, have_lock=<optimized out>) at malloc.c:4667
#7  0xf7dc51b6 in _int_free (av=0x86c00018, p=0x86c1ac78, have_lock=0) at malloc.c:4699
#8  __GI___libc_free (mem=<optimized out>) at malloc.c:3476
#9  0xf3a22545 in pipe_sampler_view_reference () at ../mesa-25.1.1/src/gallium/auxiliary/util/u_inlines.h:248
#10 si_set_sampler_views () at ../mesa-25.1.1/src/gallium/drivers/radeonsi/si_descriptors.c:490
#11 0xf3a22959 in si_pipe_set_sampler_views () at ../mesa-25.1.1/src/gallium/drivers/radeonsi/si_descriptors.c:557
#12 si_pipe_set_sampler_views () at ../mesa-25.1.1/src/gallium/drivers/radeonsi/si_descriptors.c:547
#13 0xf372640e in tc_call_set_sampler_views () at ../mesa-25.1.1/src/gallium/auxiliary/util/u_threaded_context.c:1795
#14 batch_execute () at ../mesa-25.1.1/src/gallium/auxiliary/util/u_threaded_context_calls.h:21
#15 tc_batch_execute () at ../mesa-25.1.1/src/gallium/auxiliary/util/u_threaded_context.c:5181
#16 0xf3503ce4 in util_queue_thread_func () at ../mesa-25.1.1/src/util/u_queue.c:294
#17 0xf7db27ab in start_thread (arg=<optimized out>) at pthread_create.c:448
#18 0xf7e4d5f8 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/i386/clone3.S:111
(gdb) 

I get the feeling this may be more of a Mesa issue but I figured I could provide a corroborating report to where it has been posted already.

EDIT: I did apparently forget that y'all gave Left 4 Dead 2 Vulkan support, switching from GL to Vk using the -vulkan command line argument got things working for me.

onekopaka avatar May 26 '25 10:05 onekopaka

Something similar is happening here, however, with community servers I will attach my crash dump along with the terminal output, but it might be useful to open another issue.

crash_20250705004551_19.dmp.zip

terminal_output_l4d2.zip

EDIT: disabling custom server content allowed me to log into the servers again

cl_downloadfilter none
cl_allowupload 0
cl_allowdownload 0

flydiscohuebr avatar Jul 05 '25 04:07 flydiscohuebr