ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.76k stars 2k forks source link

Linux: crash after map change with mat_queue_mode=-1 in datacache.so #351

Open 0xBADEAFFE opened 8 years ago

0xBADEAFFE commented 8 years ago

After transition to next map, the game crashes with:

[50111.840937] MatQueue0[24833]: segfault at 4 ip 00000000f0bc971d sp 00000000c5803080 error 4 in datacache.so[f0b9d000+6b000]
[50207.834318] MatQueue0[24889]: segfault at 4 ip 00000000f0b6371d sp 00000000b55e7080 error 4 in datacache.so[f0b37000+6b000]
[50731.367550] MatQueue0[12264]: segfault at 4 ip 00000000f0bc371d sp 00000000aa4c3080 error 4 in datacache.so[f0b97000+6b000]
[51616.810992] MatQueue0[12334]: segfault at 4 ip 00000000f0bd871d sp 00000000dbc43080 error 4 in datacache.so[f0bac000+6b000]
Nephyrin commented 8 years ago

Does this still reproduce with the latest beta_test branch SDK Base?

If so, a minidump (generated in /tmp/dmps by default) or stack trace would be helpful

0xBADEAFFE commented 8 years ago

@Nephyrin Yes, I use the upcoming sdk branch. I've attached a zipped minidump for you: crash_20160210110247_1.zip

0xBADEAFFE commented 8 years ago

@Nephyrin Here is my zipped strace.log : strace.zip

Nephyrin commented 8 years ago

The beta_test branch has some updates that upcoming does not -- can you try again with beta_test?

(We're going to be doing away with the mess of branches shortly, and beta_test will become the main/only branch)

0xBADEAFFE commented 8 years ago

@Nephyrin So i should use the mp sdk for sp? Sp has only upcoming branch.

Nephyrin commented 8 years ago

Ah, sorry, missed that you were using the SP branch. It would be good to know if this still occurs on the MP beta_test branch to help narrow it down, at least, but you're right that SP has no beta_test.

0xBADEAFFE commented 8 years ago

@Nephyrin What else can I do to help you?

Nephyrin commented 8 years ago

If you're able to test against the MP beta_test branch, it would be helpful to know if this is something already fixed that just needs to be ported to singleplayer. Otherwise, I'll need to dig into the crash dump.

0xBADEAFFE commented 8 years ago

@Nephyrin Sorry the mod is not working with mp sdk...