accelerator icon indicating copy to clipboard operation
accelerator copied to clipboard

Crash when uploading dump on the latest distributions

Open Wend4r opened this issue 2 years ago • 5 comments

Stack trace
Function
0 accelerator.ext.so!dwarf2reader::CompilationUnit::ReadAbbrevs() + 0x290
1 accelerator.ext.so!dwarf2reader::CompilationUnit::Start() + 0x314
2 accelerator.ext.so!bool (anonymous namespace)::LoadSymbols<google_breakpad::ElfClass32>(std::string const&, bool, google_breakpad::ElfClass32::Ehdr const*, bool, (anonymous namespace)::LoadSymbolsInfo<google_breakpad::ElfClass32>*, google_breakpad::DumpOptions const&, google_breakpad::Module*) + 0x99c
3 accelerator.ext.so!google_breakpad::ReadSymbolDataInternal(unsigned char const*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&, google_breakpad::DumpOptions const&, google_breakpad::Module**) + 0x145
4 accelerator.ext.so!google_breakpad::WriteSymbolFile(std::string const&, std::vector<std::string, std::allocator<std::string> > const&, google_breakpad::DumpOptions const&, std::ostream&) + 0x4c
5 accelerator.ext.so!UploadThread::UploadSymbolFile(google_breakpad::CodeModule const*, char const*) + 0x3be
6 accelerator.ext.so!UploadThread::PresubmitCrashDump(char const*, char*, unsigned int) + 0x1172
7 accelerator.ext.so!UploadThread::RunThread(SourceMod::IThreadHandle*) + 0x546
8 sourcemod.logic.so!CompatThread::Run() + 0x47
9 sourcemod.logic.so!std::thread::_State_impl<std::_Bind_simple<ke::NewThread<CompatThread::Unpause()::$_2>(char const*, CompatThread::Unpause()::$_2&&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Bind<CompatThread::Unpause()::$_2 ()>&&)#1} (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Bind<CompatThread::Unpause()::$_2 ()>)> >::_M_run() + 0x2a
10 sourcemod.logic.so!execute_native_thread_routine + 0x1d
11 libc.so.6!start_thread + 0x301
12 libc.so.6!__GI___clone3 + 0x4c

Wend4r avatar Sep 04 '22 08:09 Wend4r

Same here, server crash when uploading dump

  • Stack trace
    Function
    0 accelerator.ext.so!dwarf2reader::CompilationUnit::ReadAbbrevs() + 0x290
    1 accelerator.ext.so!dwarf2reader::CompilationUnit::Start() + 0x314
    2 accelerator.ext.so!bool (anonymous namespace)::LoadSymbols<google_breakpad::ElfClass32>(std::string const&, bool, google_breakpad::ElfClass32::Ehdr const*, bool, (anonymous namespace)::LoadSymbolsInfo<google_breakpad::ElfClass32>*, google_breakpad::DumpOptions const&, google_breakpad::Module*) + 0x99c
    3 accelerator.ext.so!google_breakpad::ReadSymbolDataInternal(unsigned char const*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&, google_breakpad::DumpOptions const&, google_breakpad::Module**) + 0x145
    4 accelerator.ext.so!google_breakpad::WriteSymbolFile(std::string const&, std::vector<std::string, std::allocator<std::string> > const&, google_breakpad::DumpOptions const&, std::ostream&) + 0x4c
    5 accelerator.ext.so!UploadThread::UploadSymbolFile(google_breakpad::CodeModule const*, char const*) + 0x3be
    6 accelerator.ext.so!UploadThread::PresubmitCrashDump(char const*, char*, unsigned int) + 0x1172
    7 accelerator.ext.so!UploadThread::RunThread(SourceMod::IThreadHandle*) + 0x546
    8 sourcemod.logic.so!CompatThread::Run + 0x47
    9 sourcemod.logic.so!std::thread::_State_impl<std::_Bind_simple<(lambda at /home/builds/sourcemod/debian9-1.11/build/public/amtl/amtl/am-thread.h:105:15) (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Bind<(lambda at /home/builds/sourcemod/debian9-1.11/build/core/logic/ThreadSupport.cpp:358:45) ()>)> >::_M_run + 0x2a
    10 sourcemod.logic.so + 0xe5acd
    11 libpthread-2.27.so!start_thread + 0xfd
    12 libc-2.27.so!__clone + 0x66
    13 0xe91f2b40

Here is my linux version

Description:    Ubuntu 18.04.4 LTS

https://github.com/L4D-Community/Collisionhook/issues/2#issuecomment-1383099511

fbef0102 avatar Feb 01 '23 03:02 fbef0102

https://forums.alliedmods.net/showpost.php?p=2796045&postcount=149

fbef0102 avatar Feb 02 '23 06:02 fbef0102

@fbef0102, try https://github.com/asherkin/accelerator/pull/9#issuecomment-1413649842 to fix

Wend4r avatar Feb 02 '23 12:02 Wend4r

https://forums.alliedmods.net/showpost.php?p=2796045&postcount=149

On new distributive versions with an updated kernel, there should not be such a crash when rebuilding with an updated breakpad

Wend4r avatar Feb 02 '23 12:02 Wend4r