Raised This Month: $51 Target: $400
 12% 

Solved [l4d2] Help! TR_TraceHullFilterEx cause CRASH?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-02-2022 , 13:56   [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
Reply With Quote #1

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
__________________

Last edited by HarryPotter; 08-07-2022 at 06:12.
HarryPotter is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 08-03-2022 , 00:02   Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
Reply With Quote #2

Quote:
Originally Posted by HarryPotter View Post
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
__________________
.:[ >> My Plugins << ]:.

My discord : oqyh
oqyh is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-03-2022 , 00:27   Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
Reply With Quote #3

Quote:
Originally Posted by oqyh View Post
Metamod:Source already latest stable version
SourceMod updated 1 build to 6906

Server still crashes
__________________

Last edited by HarryPotter; 08-03-2022 at 00:27.
HarryPotter is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-03-2022 , 05:07   Re: [l4d2] Help! TR_TraceHullFilterEx cause CRASH?
Reply With Quote #4

Quick fix (WIN only).

Compile-time dependency: Memory Extended Fork.
Attached Files
File Type: zip Fix_TRTraceHullFilterEx.zip (23.9 KB, 48 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:31.


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