Skip to content

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

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

Open
mspencerl87 opened this issue May 22, 2025 · 1 comment

Comments

@mspencerl87
Copy link

There was an old issue pretty much the same issue
#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?

@kisak-valve kisak-valve changed the title [L4D2] [Linux] Crash when joining or starting games with "Official Dedicated" servers [L4D2] [Linux] Crash when joining or starting survival with "Official Dedicated" servers May 22, 2025
@onekopaka
Copy link

onekopaka commented May 26, 2025

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.

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

No branches or pull requests

3 participants