csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[Linux] Native CS2 repeats #4646 stream-parsing SIGSEGV on build 26445667

Open ArthurWillers opened this issue 3 weeks ago • 1 comments

Summary

The native Linux client of CS2 repeatedly crashes with SIGSEGV during startup, with the same std::codecvt::do_unshift / std::istream >> int stack signature as #4646, but on the newer CS2 build 26445667.

The previous issue's core analysis identifies the code path as reading /sys/devices/system/cpu/cpu0/topology/thread_siblings_list. The current libclient.so also contains the /sys/devices/system/cpu/cpu and /topology/thread_siblings_list path strings. On this machine, cpu0/topology/thread_siblings_list contains 0,4.

This is a repeated native-client crash, not a one-off: it has occurred on at least nine launches over several hours. The visible point of failure varies (logo/loading, partial lobby UI), but the native core stack remains the same. Reinstalling CS2 let it progress farther before crashing, without changing the signature.

System information

  • OS: Omarchy 4.5.0 (Arch-based)
  • Kernel: 7.2.15-1-omarchy
  • CPU: Intel Core i5-11300H (Tiger Lake, 4 cores / 8 threads)
  • GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q, driver 615.78.08; Intel Iris Xe integrated GPU
  • Host libstdc++: gcc-libs 16.2.1+r23+gd564253eb6c8-1 (libstdc++.so.6.0.36)
  • Desktop: Hyprland / Wayland
  • Steam package: 1.0.0.87-3
  • Steam Linux Runtime: Sniper 3.0.20261021.266025
  • CS2 build ID: 26445667
  • Launch: native Linux client from Steam; latest failing command line was cs2 -steam

Crash details

Latest core: 2026-11-11 19:21:57 -03, PID 208937, SIGSEGV / SEGV_MAPERR.

Kernel reports segfault at ffffffff in libengine2.so. The main-thread stack begins:

#0 std::codecvt<wchar_t, char, __mbstate_t>::do_unshift     libengine2.so + 0x9ad378
#1 std::num_get<char, ...>::get(..., long&)                 libengine2.so + 0xa153aa
#2 std::basic_istream<char>::operator>>(int&)                libengine2.so + 0xa0cbfd
#3-#11                                                    libclient.so
...
#22 Source2Main                                           libengine2.so

The same offsets and call sequence appear in the other native cores from this session. Steam Breakpad returned CrashID bp-044c2c40-34db-4bf8-a9e8-fc9942261111 for one of the first crashes. I have not attached raw core files.

Steps and attempts

  1. Launch CS2 normally from Steam using the native Linux client.
  2. It reaches a varying point in startup, then crashes with SIGSEGV; repeated launches reproduce it.
  3. Verified game files, disabled overlays, confirmed no forced compatibility tool was selected, temporarily reset local CS2 config with Steam Cloud disabled, tried -novid, and reinstalled the native game. The crash persisted.
  4. As a comparison, forcing Proton and omitting -vulkan allowed the game to open to the lobby. Returning to the native client reproduces the SIGSEGV.

The stack strongly resembles #4646. Could this be the same thread_siblings_list / stream-locale failure on a newer CS2 build? The exact root cause is not confirmed.

ArthurWillers avatar Nov 11 '26 22:11 ArthurWillers

Update after the CS2 update (2026-11-12)

Steam updated the game from build 26445667 to build 26598758. The native Linux client still crashes.

Latest core: 2026-11-12 10:32:01 -03, PID 30036, launched with cs2 -steam. The kernel still reports SIGSEGV / SEGV_MAPERR at address 0xffffffff.

The offsets changed with the new binaries, but the main-thread signature is still the same:

#0 std::codecvt<wchar_t, char, __mbstate_t>::do_unshift  libengine2.so + 0x9930f8
#1 std::num_get<char, ...>::get(..., long&)              libengine2.so + 0x9fb12a
#2 std::basic_istream<char>::operator>>(int&)             libengine2.so + 0x9f297d
#3-#11                                                  libclient.so
#22 Source2Main                                         libengine2.so

This appears to be the same failure pattern as before and as #4646, persisting across the game update.

ArthurWillers avatar Nov 12 '26 14:11 ArthurWillers