View Issue Details

IDProjectCategoryView StatusLast Update
0005003The Dark ModTDM Installerpublic12.06.2021 12:42
Reportertlhonmey Assigned Tostgatilov  
Status closedResolutionfixed 
Product VersionTDM 2.06 
Fixed in VersionTDM 2.09 
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.


26.12.2020 14:47

reporter   ~0013254

Now that 2.09 will be using tdm_installer.exe I assume this tracker can be closed..?


12.06.2021 12:42

administrator   ~0014093

Closing as "no longer applicable".

Issue History

Date Modified Username Field Change
04.03.2019 03:25 tlhonmey New Issue
19.03.2019 01:34 tlhonmey Note Added: 0011691
26.12.2020 14:47 Bikerdude Note Added: 0013254
19.05.2021 05:34 stgatilov Category TDM Updater => TDM Installer
12.06.2021 12:42 stgatilov Assigned To => stgatilov
12.06.2021 12:42 stgatilov Status new => closed
12.06.2021 12:42 stgatilov Resolution open => fixed
12.06.2021 12:42 stgatilov Fixed in Version => TDM 2.09
12.06.2021 12:42 stgatilov Note Added: 0014093