No need to create a separate thread just for the patch, just post it in here.
In my defense, the patch and the crash really are 2 distinct issues, which could potentially generate independent discussions, which is why I separated them. But I suppose it will seem silly if the patch thread generates no further discussion.
The crash occurs in a std::string constructor which is as basic at is can get in terms of C++. I haven't seen this one before, but maybe the runtime library version mismatches with that of your compiler? (I checked compilation in Fedora 25, openSUSE, Ubuntu 16.04, Kubuntu 16.04, Ubuntu 16.10 and Arch Linux, and none of them crashed this early during execution.)
A logical assumption, but not applicable in this case, unfortunately. I should have mentioned it, but the Slackware installation is essentially "virgin" (full install, straight from the official DVD media), with only OpenAL-Soft library/headers added to support TDM compilation, EDIT: and WxWidgets and FTGL added (both compiled from source) to support DarkRadiant.
Any other ideas? (I'm not a "C++ person" by any stretch, unfortunately.)
Thanks for the info on the other platforms. I will try to get something besides Slackware installed on a test partition and re-attempt the DR compilation/run. But I'd still appreciate hearing any more suggestions (from anyone) about the reason for the crash.
I just noticed that someone changed the title of my thread from "Linux" to "Slackware". I'm not sure I agree with that. It seems needlessly defensive and premature at best. Maybe there are other Linux distributions that are similarly affected.
I assume you clone your sources from github, not from sourceforge?
Now why would I do that when the TDM "Mission Authors" page points me to SourceForge? Getting serious, though, I never knew that DR was hosted on Github, so thanks for the reminder. Someone should update that TDM page to point folks to Github. And maybe the SourceForge page, which has a "Source Code" link on the left side to the SF site, should also be adjusted.
Having said that, I don't think any of this (compilation or running problem) is an issue of SF vs Github because the 2.1.0 code didn't compile or run without crashing either. Nevertheless, I will grab the latest source code from Github for all future tests.
Thanks for the comments, greebo! Much appreciated!
Edited by NightStalker, 07 January 2017 - 03:47 PM.