View Single Post
Author Message
canadianjeff
BANNED
Join Date: Sep 2016
Old 10-17-2020 , 05:10   [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
#1

Code:
sm exts list
[SM] Displaying 8 extensions:
[01] Automatic Updater (1.11.0.6634): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6634): Extension for interacting with URLs
[03] Accelerator (2.5.0): SRCDS Crash Handler
[04] Client Preferences (1.11.0.6634): Saves client preference settings
[05] SQLite (1.11.0.6634): SQLite Driver
[06] SDK Tools (1.11.0.6634): Source SDK Tools
[07] BinTools (1.11.0.6634): Low-level C/C++ Calling API
[08] Top Menus (1.11.0.6634): Creates sorted nested menus

meta list
Listing 2 plugins:
  [01] SourceMod (1.11.0.6634) by AlliedModders LLC
  [02] SDK Tools (1.11.0.6634) by AlliedModders LLC

sm plugins list
[SM] Listing 16 plugins:
  01 "Admin File Reader" (1.11.0.6634) by AlliedModders LLC
  02 "Admin Help" (1.11.0.6634) by AlliedModders LLC
  03 "Admin Menu" (1.11.0.6634) by AlliedModders LLC
  04 "Anti-Flood" (1.11.0.6634) by AlliedModders LLC
  05 "Basic Ban Commands" (1.11.0.6634) by AlliedModders LLC
  06 "Basic Chat" (1.11.0.6634) by AlliedModders LLC
  07 "Basic Comm Control" (1.11.0.6634) by AlliedModders LLC
  08 "Basic Commands" (1.11.0.6634) by AlliedModders LLC
  09 "Basic Info Triggers" (1.11.0.6634) by AlliedModders LLC
  10 "Basic Votes" (1.11.0.6634) by AlliedModders LLC
  11 "Client Preferences" (1.11.0.6634) by AlliedModders LLC
  12 "Fun Commands" (1.11.0.6634) by AlliedModders LLC
  13 "Fun Votes" (1.11.0.6634) by AlliedModders LLC
  14 "Player Commands" (1.11.0.6634) by AlliedModders LLC
  15 "Reserved Slots" (1.11.0.6634) by AlliedModders LLC
  16 "Sound Commands" (1.11.0.6634) by AlliedModders LLC

sm prof
Profiling commands:
    list             - List all available profiling tools.
    start            - Start a profile with a given tool.
    stop             - Stop the current profile session.
    dump             - Dumps output from the current profile session.
    help             - Display help text for a profiler.

sm prof list
Profiling tools:
    vprof            - Valve built-in profiler

sm prof start vprof
Started profiling with vprof.
Wrote minidump to: /opt/steam/L4D2_LAST_STAND/left4dead2/addons/sourcemod/data/dumps/ac5034e7-a3f7-43b9-86526fb1-329268c2.dmp
Segmentation fault (core dumped)
BFD: warning: /opt/steam/L4D2_LAST_STAND/core is truncated: expected core file size >= 429481984, found: 1069056
Cannot access memory at address 0xf7f26934
Cannot access memory at address 0xf7f26930
Failed to read a valid object file image from memory.
Cannot access memory at address 0xf7f26934
Cannot access memory at address 0xf7f26930
debug.cmds:5: Error in sourced command file:
No function contains program counter for selected frame.
email debug.log to [email protected]
Sat 17 Oct 2020 02:03:45 AM PDT: Server restart in 10 seconds
#
#Console initialized.
Code:
root@l4sourcemod:/opt/steam/L4D2_LAST_STAND# gdb -p 1756
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 1756
[New LWP 1757]
[New LWP 1759]
[New LWP 1762]
[New LWP 1764]
[New LWP 1768]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0xf7fc5069 in __kernel_vsyscall ()
(gdb) continue
Continuing.

Thread 1 "srcds_linux" received signal SIGSEGV, Segmentation fault.
0xf7ba37ba in CVProfNode::ExitScope() () from bin/libtier0_srv.so
(gdb) bt
#0  0xf7ba37ba in CVProfNode::ExitScope() () from bin/libtier0_srv.so
#1  0xf7303f6c in _Host_RunFrame(float) () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#2  0xf730e010 in CHostState::State_Run(float) () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#3  0xf730e21e in CHostState::FrameUpdate(float) () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#4  0xf730e329 in HostState_Frame(float) () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#5  0xf73a0e53 in CEngine::Frame() () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#6  0xf739df26 in CDedicatedServerAPI::RunFrame() () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#7  0xf761cd0c in RunServerIteration(bool) () from bin/dedicated_srv.so
#8  0xf761cda8 in RunServer(bool) () from bin/dedicated_srv.so
#9  0xf739e00d in CModAppSystemGroup::Main() () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#10 0xf73ef7f0 in CAppSystemGroup::Run() () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#11 0xf739ee1f in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /opt/steam/L4D2_LAST_STAND/bin/engine_srv.so
#12 0xf761ce80 in CDedicatedAppSystemGroup::Main() () from bin/dedicated_srv.so
#13 0xf763c030 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#14 0xf763c030 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#15 0xf75e84e5 in main () from bin/dedicated_srv.so
#16 0x080486f1 in main ()
(gdb)

Last edited by asherkin; 03-07-2022 at 03:42. Reason: Restore to previous version.
canadianjeff is offline