View Issue Details

IDProjectCategoryView StatusLast Update
0005003The Dark ModTDM Updaterpublic19.03.2019 01:34
Reportertlhonmey Assigned To 
Status newResolutionopen 
Product VersionTDM 2.06 
Summary0005003: TDM-update segfaults if DNS resolution fails
DescriptionFirst run of the 64-bit linux updater from the website fails with a segmentation fault if DNS resolution of the mirrors fails.

Full core dump available if you need it.
Steps To ReproduceDisconnect from network or disable DNS resolution and attempt to update.
Additional InformationBacktrace:

#0 0x0000000000431b1c in tdm::IniFile::ForeachSection(tdm::IniFile::SectionVisitor&) const ()
0000001 0x000000000044018a in tdm::updater::Updater::LoadMirrors() ()
0000002 0x000000000044488a in tdm::updater::Updater::UpdateMirrors() ()
0000003 0x000000000046df3c in tdm::updater::UpdateController::PerformStep(tdm::updater::UpdateStep) ()
0000004 0x000000000046f383 in tdm::ExceptionSafeThread::ThreadStart() ()
0000005 0x00007f48ed8a3a82 in std::execute_native_thread_routine_compat (__p=0x7f48e8000c30)
    at /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/libstdc++-v3/src/c++11/
0000006 0x00007f48ecff872a in start_thread () from /lib64/
0000007 0x00007f48ecd2be2f in clone () from /lib64/

TagsNo tags attached.




19.03.2019 01:34

reporter   ~0011691

Note also that I get segfaults from the mission downloader occasionally as well, but I can't determine if they are related because the crash handler hangs if I unlimit the core dump size and no dump is produced. The wiki only appears to have debugging instructions for Windows. If there are instructions for setting up a debug environment on Linux I'd be happy to give it a shot.

Issue History

Date Modified Username Field Change
04.03.2019 03:25 tlhonmey New Issue
19.03.2019 01:34 tlhonmey Note Added: 0011691