ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

[L4D2] Segmentation fault in dx9 translator #3541

Open gudvinr opened 3 years ago

gudvinr commented 3 years ago

I ran into Left 4 Dead 2 process failing with SIGSEGV on Blood Harvest (Versus mode).
I have couple of campaign addons enabled and addon for replacing Infected shader with VertexLitGeneric for CI from L4D1 to workaround #3403.

Stack trace of thread ``` #0 0x00000000f7b4f481 __memcpy_sse2_unaligned (libc.so.6 + 0x154481) #1 0x00000000e4b2b675 n/a (shaderapidx9.so + 0x2b675) #2 0x00000000e4b2f7cd n/a (shaderapidx9.so + 0x2f7cd) #3 0x00000000e4b2fd07 n/a (shaderapidx9.so + 0x2fd07) #4 0x00000000ca2fe10a n/a (client.so + 0x6b510a) #5 0x00000000ca305790 n/a (client.so + 0x6bc790) #6 0x00000000dfa58a4b n/a (materialsystem.so + 0x6ba4b) #7 0x00000000dfa4e6d0 n/a (materialsystem.so + 0x616d0) #8 0x00000000dfa4e85d n/a (materialsystem.so + 0x6185d) #9 0x00000000dfa319af n/a (materialsystem.so + 0x449af) #10 0x00000000dfa31a6c n/a (materialsystem.so + 0x44a6c) #11 0x00000000dfa330a9 n/a (materialsystem.so + 0x460a9) #12 0x00000000e037b135 n/a (engine.so + 0x3ef135) #13 0x00000000e038e1fb n/a (engine.so + 0x4021fb) #14 0x00000000e0390f0c n/a (engine.so + 0x404f0c) #15 0x00000000e03a9320 n/a (engine.so + 0x41d320) #16 0x00000000e03a958e n/a (engine.so + 0x41d58e) #17 0x00000000e03a9699 n/a (engine.so + 0x41d699) #18 0x00000000e04963c3 n/a (engine.so + 0x50a3c3) #19 0x00000000e049280c n/a (engine.so + 0x50680c) #20 0x00000000e049291f n/a (engine.so + 0x50691f) #21 0x00000000e0503d10 n/a (engine.so + 0x577d10) #22 0x00000000e049413f n/a (engine.so + 0x50813f) #23 0x00000000f6259ff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #24 0x00000000f6259ff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #25 0x00000000f624139d LauncherMain (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x103> #26 0x00000000080484e4 main (hl2_linux + 0x4e4) #27 0x00000000f7a19a0d __libc_start_main (libc.so.6 + 0x1ea0d) #28 0x000000000804860d _start (hl2_linux + 0x60d) ```

system information

gudvinr commented 3 years ago

I got the same crash at the same address today. Now it was Swamp Fever on official dedicated server (again, Versus mode). Since my addon for shader replacement only used for CI from L4D1 I am pretty sure it isn't the reason.

Stack trace of thread ``` #0 0x00000000f7af2481 __memcpy_sse2_unaligned (libc.so.6 + 0x154481) #1 0x00000000e4b2b675 n/a (shaderapidx9.so + 0x2b675) #2 0x00000000e4b2f7cd n/a (shaderapidx9.so + 0x2f7cd) #3 0x00000000e4b2fd07 n/a (shaderapidx9.so + 0x2fd07) #4 0x00000000c9bfe10a n/a (client.so + 0x6b510a) #5 0x00000000c9c05790 n/a (client.so + 0x6bc790) #6 0x00000000dfa58a4b n/a (materialsystem.so + 0x6ba4b) #7 0x00000000dfa4e6d0 n/a (materialsystem.so + 0x616d0) #8 0x00000000dfa4e85d n/a (materialsystem.so + 0x6185d) #9 0x00000000dfa319af n/a (materialsystem.so + 0x449af) #10 0x00000000dfa31a6c n/a (materialsystem.so + 0x44a6c) #11 0x00000000dfa330a9 n/a (materialsystem.so + 0x460a9) #12 0x00000000e037b135 n/a (engine.so + 0x3ef135) #13 0x00000000e038e1fb n/a (engine.so + 0x4021fb) #14 0x00000000e0390f0c n/a (engine.so + 0x404f0c) #15 0x00000000e03a9320 n/a (engine.so + 0x41d320) #16 0x00000000e03a958e n/a (engine.so + 0x41d58e) #17 0x00000000e03a9699 n/a (engine.so + 0x41d699) #18 0x00000000e04963c3 n/a (engine.so + 0x50a3c3) #19 0x00000000e049280c n/a (engine.so + 0x50680c) #20 0x00000000e049291f n/a (engine.so + 0x50691f) #21 0x00000000e0503d10 n/a (engine.so + 0x577d10) #22 0x00000000e049413f n/a (engine.so + 0x50813f) #23 0x00000000f61fcff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #24 0x00000000f61fcff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #25 0x00000000f61e439d LauncherMain (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x1039d) #26 0x00000000080484e4 main (hl2_linux + 0x4e4) #27 0x00000000f79bca0d __libc_start_main (libc.so.6 + 0x1ea0d) #28 0x000000000804860d _start (hl2_linux + 0x60d) ```
gudvinr commented 3 years ago

Same thing happened today in Versus mode at second chapter of Passing campaign.

Stack trace of thread ``` #0 0x00000000f7bd7481 __memcpy_sse2_unaligned (libc.so.6 + 0x154481) #1 0x00000000e422b675 n/a (shaderapidx9.so + 0x2b675) #2 0x00000000e422f7cd n/a (shaderapidx9.so + 0x2f7cd) #3 0x00000000dfb49ef3 n/a (materialsystem.so + 0x5cef3) #4 0x00000000dfb51d0a n/a (materialsystem.so + 0x64d0a) #5 0x00000000dfb58a4b n/a (materialsystem.so + 0x6ba4b) #6 0x00000000dfb4e6d0 n/a (materialsystem.so + 0x616d0) #7 0x00000000dfb4e85d n/a (materialsystem.so + 0x6185d) #8 0x00000000dfb31999 n/a (materialsystem.so + 0x44999) #9 0x00000000dfb31a6c n/a (materialsystem.so + 0x44a6c) #10 0x00000000dfb330a9 n/a (materialsystem.so + 0x460a9) #11 0x00000000e047b135 n/a (engine.so + 0x3ef135) #12 0x00000000e048e1fb n/a (engine.so + 0x4021fb) #13 0x00000000e0490f0c n/a (engine.so + 0x404f0c) #14 0x00000000e04a9320 n/a (engine.so + 0x41d320) #15 0x00000000e04a958e n/a (engine.so + 0x41d58e) #16 0x00000000e04a9699 n/a (engine.so + 0x41d699) #17 0x00000000e05963c3 n/a (engine.so + 0x50a3c3) #18 0x00000000e059280c n/a (engine.so + 0x50680c) #19 0x00000000e059291f n/a (engine.so + 0x50691f) #20 0x00000000e0603d10 n/a (engine.so + 0x577d10) #21 0x00000000e059413f n/a (engine.so + 0x50813f) #22 0x00000000f62e1ff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #23 0x00000000f62e1ff0 n/a (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x28ff0) #24 0x00000000f62c939d LauncherMain (/.../SteamLibrary/steamapps/common/Left 4 Dead 2/bin/launcher.so + 0x1039d) #25 0x00000000080484e4 main (hl2_linux + 0x4e4) #26 0x00000000f7aa1a0d __libc_start_main (libc.so.6 + 0x1ea0d) #27 0x000000000804860d _start (hl2_linux + 0x60d) ```
gudvinr commented 3 years ago

I also created ticket in support through Steam.
Ticked ID: HT-GNN4-BG2W-38N3