Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when uploading dump on the latest distributions #8

Open
Wend4r opened this issue Sep 4, 2022 · 4 comments · May be fixed by #9
Open

Crash when uploading dump on the latest distributions #8

Wend4r opened this issue Sep 4, 2022 · 4 comments · May be fixed by #9

Comments

@Wend4r
Copy link

Wend4r commented Sep 4, 2022

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 Wend4r linked a pull request Sep 4, 2022 that will close this issue
@Wend4r Wend4r changed the title Crash when uploading dump on CentOS9-steam Crash when uploading dump on CentOS9-stream Sep 4, 2022
@fbef0102
Copy link

fbef0102 commented Feb 1, 2023

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
Copy link

fbef0102 commented Feb 2, 2023

@Wend4r
Copy link
Author

Wend4r commented Feb 2, 2023

@fbef0102, try #9 (comment) to fix

@Wend4r
Copy link
Author

Wend4r commented Feb 2, 2023

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 Wend4r changed the title Crash when uploading dump on CentOS9-stream Crash when uploading dump on the latest distributions Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants