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

segfault at startup #23

Open
fare opened this issue Dec 1, 2019 · 1 comment · May be fixed by #25
Open

segfault at startup #23

fare opened this issue Dec 1, 2019 · 1 comment · May be fixed by #25

Comments

@fare
Copy link

fare commented Dec 1, 2019

I compiled ASCIIpOrtal with either make linux or make nosdl, and the result is the same: segfault at startup. ltrace tells me these are the last calls before segfault:

_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv(0x7ffdbed22250, 0, 0x7fea9493cca0, 0x55f97936d010) = 0
_ZNSt12__basic_fileIcED1Ev(0x7ffdbed222b8, 0, 0x7fea9493cca0, 0x55f97936d010) = 0
_ZNSt6localeD1Ev(0x7ffdbed22288, 0, 0x7fea9493cca0, 0x55f97936d010) = 0x7fea94c7a5f8
_ZNSt8ios_baseD2Ev(0x7ffdbed22340, 0, 0x7fea9493cca0, 0x7fea94c72f18) = 0x7fea94c7a5f8
--- SIGSEGV (Segmentation fault) ---

Running on Debian Linux testing on x64.

@DelilahHoare DelilahHoare linked a pull request Jun 28, 2022 that will close this issue
@gissf1
Copy link

gissf1 commented Apr 18, 2024

I'm also experiencing a similar issue with segfaults on startup. It used to work just fine, but that was probably a couple years ago. My system is running Manjaro / Arch. Compiling with debug symbols via makepkg, and running in GDB I get the following backtrace:

(gdb) r
Program received signal SIGILL, Illegal instruction.
0x000055555556893a in MapPack::set_currentlevel(int) ()
(gdb) bt
#0 0x000055555556893a in MapPack::set_currentlevel(int) ()
#1 0x0000555555567d52 in MapPack::MapPack(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
#2 0x00005555555885e1 in main ()

It seems plausible that the pull request in #25 may fix this behavior. @cymonsgames are you considering merging it?

That said, it seems this code hasn't been updated in 5 years, perhaps it's abandoned now?

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