-
-
Notifications
You must be signed in to change notification settings - Fork 464
Closed
Labels
Buggeneral bugs; can be anythinggeneral bugs; can be anythingx64Exclusive to x86_64 supportExclusive to x86_64 support
Description
Only happens on 64 bits and only happens if the file uses windows instead of linux line endings
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc29f81edb2 in TextParsers::ParseStream_SMC (this=<optimized out>, stream=0x7cb6d40, srdr=0x7fc29f81fa50 <FileStreamReader(void*, char*, unsigned long, unsigned int*)>, smc=0xf655fb0, pStates=0x7fff110fe170) at /home/tf2/extensions/sdk/sourcemod/core/logic/TextParsers.cpp:457
457 if ((&parse_point[i] != in_buf) && c == '"' && parse_point[i-1] != '\\')
[Current thread is 1 (Thread 0x7fc2b4d1b740 (LWP 38868))]
#0 0x00007fc29f81edb2 in TextParsers::ParseStream_SMC (this=<optimized out>, stream=0x7cb6d40, srdr=0x7fc29f81fa50 <FileStreamReader(void*, char*, unsigned long, unsigned int*)>, smc=0xf655fb0, pStates=0x7fff110fe170) at /home/tf2/extensions/sdk/sourcemod/core/logic/TextParsers.cpp:457
#1 0x00007fc29f81e678 in TextParsers::ParseSMCFile (this=0x7fc29f977d38 <g_TextParser>, file=<optimized out>, smc_listener=0x7fff110fcf31, states=0x7fff110fe170, buffer=0x7fff11103550 "Unknown error", maxsize=256) at /home/tf2/extensions/sdk/sourcemod/core/logic/TextParsers.cpp:142
#2 0x00007fc29f83ac0f in CGameConfig::EnterFile (this=0xf655fb0, file=<optimized out>, error=0x7fff11103550 "Unknown error", maxlength=0) at /home/tf2/extensions/sdk/sourcemod/core/logic/GameConfigs.cpp:962
#3 0x00007fc29f83a791 in CGameConfig::Reparse (this=0xf655fb0, error=0x7fff110fcf31 "\"\r\n\t\t\t\t}\r\n\t\t\t\t\"NET_SendLong\"\r\n\t\t\t\t{\r\n\t\t\t\t\ttype \"sym\"\r\n\t\t\t\t\tsym \"_Z12NET_SendLongP11INetChanneliiPKciPK8sockaddrii\"\r\n\t\t\t\t\tlib \"engine\"\r\n\t\t\t\t}\r\n\t\t\t\t\"NET_SendTo\"\r\n\t\t\t\t{\r\n\t\t\t\t\ttype \"sym\"\r\n\t\t\t\t\tsym \"_Z1"..., maxlength=34) at /home/tf2/extensions/sdk/sourcemod/core/logic/GameConfigs.cpp:837
#4 0x00007fc29f838e77 in GameConfigManager::LoadGameConfigFile (this=0x7fc29f978e18 <g_GameConfigs>, file=0x7fc27b3a3d2a "misc", _pConfig=0x7fff11100360, error=0x1 <error: Cannot access memory at address 0x1>, maxlength=140733479636785) at /home/tf2/extensions/sdk/sourcemod/core/logic/GameConfigs.cpp:1195
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Buggeneral bugs; can be anythinggeneral bugs; can be anythingx64Exclusive to x86_64 supportExclusive to x86_64 support