Opened 3 years ago
Closed 3 years ago
#16966 closed bug (fixed)
Debugger crashes when loading symbols for OpenTTD
Reported by: | milek7 | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta3 |
Component: | Applications/Debugger | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86-64 |
Description (last modified by )
To reproduce (libsdl_devel is required for build):
git clone https://github.com/OpenTTD/OpenTTD cd OpenTTD mkdir build cd build cmake .. make Debugger ./openttd
It seems it crashes by stack overflow caused by infinite recursion when resolving symbol, crashlog attached.
From cursory examination of coredump it seems to loop with this string: IndustryDirectoryWindow::GetIndustryString(const Industry*)::<lambda(CargoInfo, CargoInfo)>::
, which seems to be the symbol _ZZNK23IndustryDirectoryWindow17GetIndustryStringEPK8IndustryENKUlSt5tupleIJhtPKcjEES6_E_clES6_S6_
(GNU tools are demangling it into IndustryDirectoryWindow::GetIndustryString(Industry const*) const::{lambda(std::tuple<unsigned char, unsigned short, char const*, unsigned int>, std::tuple<unsigned char, unsigned short, char const*, unsigned int>)#1}::operator()(std::tuple<unsigned char, unsigned short, char const*, unsigned int>, std::tuple<unsigned char, unsigned short, char const*, unsigned int>) const
).
Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | debugger_crash.txt added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
comment:4 by , 3 years ago
Milestone: | Unscheduled → R1/beta3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for verifying!
I see this is labeled as occurring on beta2. Can you verify this on a nightly? A similar bug was fixed relatively recently there.