AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Solved [l4d2] Help! TR_TraceHullFilterEx cause CRASH? (https://forums.alliedmods.net/showthread.php?t=338902)

HarryPotter 08-02-2022 13:56

[l4d2] Help! TR_TraceHullFilterEx cause CRASH?
 
L4D2 windows dedicated server
Spoiler


I recently have 3 same crash every day.
It usually happened after map loading, and player took over the bot.

1. Crash ID: A5SR-6IXU-VYNW
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x355f7d6a
5        0x355bab54
6        0x221e0077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

Console
Spoiler


Raw
Spoiler


2. Crash ID: ZWVJ-LLMA-TZD3
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x355f7d6a
5        0x355bab54
6        0x221e0077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

3. Crash ID: TVLT-ZLEW-EJJG
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x120b9da
5        0x11cc374
6        0x22f70077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

As you can see, game tried to call smn_TRTraceHullFilterEx and then crash.
The only plugin that calls TR_TraceHullFilterEx in my server is Dynamic Light by Silvers.
PHP Code:

trace TR_TraceHullFilterEx(vLocvEndview_as<float>({ -10.0, -10.0, -10.0 }), view_as<float>({ 10.010.010.0 }), MASK_SHOTTraceFilterclient); 




That is just my guess, I don't actually know what causes crashes.
Please help.

Edit: Solved, see post#4

oqyh 08-03-2022 00:02

Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
 
Quote:

Originally Posted by HarryPotter (Post 2785439)
L4D2 windows dedicated server
Spoiler


I recently have 3 same crash every day.
It usually happened after map loading, and player took over the bot.

1. Crash ID: A5SR-6IXU-VYNW
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x355f7d6a
5        0x355bab54
6        0x221e0077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

Console
Spoiler


Raw
Spoiler


2. Crash ID: ZWVJ-LLMA-TZD3
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x355f7d6a
5        0x355bab54
6        0x221e0077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

3. Crash ID: TVLT-ZLEW-EJJG
Stack Trace
Code:

0        engine.dll + 0x1779c4
1        engine.dll + 0x1799f8
2        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
3        sdktools.ext.2.l4d2.dll!smn_TRTraceHullFilterEx [trnatives.cpp:849 + 0x1d]
4        0x120b9da
5        0x11cc374
6        0x22f70077
7        sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginContext *,ke::RefPtr<sp::MethodInfo> const &,int *) [environment.cpp:346 + 0x18]
8        sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:461 + 0x10]
9        sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:290 + 0x21]

As you can see, game tried to call smn_TRTraceHullFilterEx and then crash.
The only plugin that calls TR_TraceHullFilterEx in my server is Dynamic Light by Silvers.
PHP Code:

trace TR_TraceHullFilterEx(vLocvEndview_as<float>({ -10.0, -10.0, -10.0 }), view_as<float>({ 10.010.010.0 }), MASK_SHOTTraceFilterclient); 




That is just my guess, I don't actually know what causes crashes.
Please help.



download last stable version

https://www.sourcemod.net/downloads.php?branch=stable

and

https://www.sourcemm.net/downloads.php/?branch=stable


it point at your sdk

HarryPotter 08-03-2022 00:27

Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
 
Quote:

Originally Posted by oqyh (Post 2785462)

Metamod:Source already latest stable version
SourceMod updated 1 build to 6906

Server still crashes
https://i.imgur.com/rwHythI.png

Dragokas 08-03-2022 05:07

Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
 
1 Attachment(s)
Quick fix (WIN only).

Compile-time dependency: Memory Extended Fork.


All times are GMT -4. The time now is 05:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.