1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00
vcmi/lib
Ivan Savenko 13b2008f79 Enabled terminate handler and call stack writing on all platforms
Attempt to get a bit more debug info from crashes. VCMI will now:
- use c++ terminate handler on any platform in release builds
- attempt to write call stack to log file using boost::callstack

Since I use std::set_terminate this will only affect c++ exceptions, e.g.
std::runtime_error and will not affect OS signals, e.g. SIGSEGV. Handling
signals is OS-specific and has a lot of limitations that I don't want to
investigate. Besides - most of our crashes are now caused by c++
exceptions.

Haven't tested on other platforms, but should at the very least write
exception information (`e.what()`) for all exceptions and function names
for methods exported from dll's (libvcmi.so & AI's). Possibly more, if
debug information is present.
2024-08-02 17:59:56 +00:00
..
battle Merge pull request #4330 from Laserlicht/spellbook 2024-07-27 19:34:50 +03:00
bonuses Fixed deserialization of new artifacts (and possibly some other objects) 2024-07-29 18:19:15 +00:00
campaign fix campaign highscores 2024-07-26 20:36:52 +02:00
constants Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
entities Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
events Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
filesystem Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
gameState Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
json Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
logging Integrating changes from PR #4251 - add logging for rng 2024-07-16 15:31:58 +00:00
mapObjectConstructors Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
mapObjects code review 2024-07-29 22:54:42 +02:00
mapping Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
minizip Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
modding Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
network Code review 2024-07-12 14:54:28 +03:00
networkPacks Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
pathfinder NKAI: whirlpool 2024-07-21 17:20:54 +03:00
registerTypes basic handicap support 2024-07-25 00:28:01 +02:00
rewardable Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
rmg Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
serializer Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
spells Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
texts show handicap resources 2024-07-25 00:28:49 +02:00
vstd
AI_Base.h
ArtifactUtils.cpp ArtifactsUIController class 2024-07-09 14:27:05 +03:00
ArtifactUtils.h ArtifactsUIController class 2024-07-09 14:27:05 +03:00
BasicTypes.cpp
BattleFieldHandler.cpp It is now possible to define custom battle opening sound and custom music 2024-07-15 21:46:23 +00:00
BattleFieldHandler.h It is now possible to define custom battle opening sound and custom music 2024-07-15 21:46:23 +00:00
CAndroidVMHelper.cpp
CAndroidVMHelper.h
CArtHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CArtHandler.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CArtifactInstance.cpp
CArtifactInstance.h
CBonusTypeHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CBonusTypeHandler.h
CConfigHandler.cpp
CConfigHandler.h
CConsoleHandler.cpp Enabled terminate handler and call stack writing on all platforms 2024-08-02 17:59:56 +00:00
CConsoleHandler.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CCreatureHandler.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
CCreatureHandler.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CCreatureSet.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CCreatureSet.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CGameInfoCallback.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
CGameInfoCallback.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CGameInterface.cpp Removed broken & unused serialization of player interface and AI 2024-05-17 16:35:53 +00:00
CGameInterface.h Removed broken & unused serialization of player interface and AI 2024-05-17 16:35:53 +00:00
CHeroHandler.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
CHeroHandler.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CMakeLists.txt fix campaign highscores 2024-07-26 20:36:52 +02:00
Color.h
ConstTransitivePtr.h
CPlayerState.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CPlayerState.h Fixes for various minor issues detected by Sonar Cloud 2024-06-01 11:48:30 +00:00
CRandomGenerator.cpp Integrating changes from PR #4251 - add logging for rng 2024-07-16 15:31:58 +00:00
CRandomGenerator.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CScriptingModule.cpp
CScriptingModule.h
CSkillHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CSkillHandler.h lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
CSoundBase.h Fix issues introduced by fixing typos 2024-06-27 08:38:04 +00:00
CStack.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CStack.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CStopWatch.h
CThreadHelper.cpp Added changing thread name for FreeBSD 2024-05-12 15:10:29 +00:00
CThreadHelper.h
ExceptionsCommon.h Show error message on load if mod has broken creature instead of 2024-06-01 11:49:51 +00:00
ExtraOptionsInfo.cpp
ExtraOptionsInfo.h
FunctionList.h
GameCallbackHolder.h
GameConstants.h
GameSettings.cpp Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
GameSettings.h Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
IBonusTypeHandler.h
IGameCallback.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
IGameCallback.h Moved banks randomization to server-side with client netpack 2024-07-16 13:13:39 +00:00
IGameEventsReceiver.h fixed regressions 2024-07-09 14:27:05 +03:00
IHandlerBase.cpp lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
IHandlerBase.h lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
int3.h
LoadProgress.cpp
LoadProgress.h
LogicalExpression.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
LogicalExpression.h
ObstacleHandler.cpp lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
ObstacleHandler.h lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
Point.h
Rect.cpp
Rect.h
ResourceSet.cpp
ResourceSet.h
RiverHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
RiverHandler.h lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
RoadHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
RoadHandler.h lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
ScopeGuard.h
ScriptHandler.cpp
ScriptHandler.h
StartInfo.cpp code review 2024-07-29 22:54:42 +02:00
StartInfo.h fix uninitialized var 2024-07-29 23:05:55 +02:00
StdInc.cpp
StdInc.h
TerrainHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
TerrainHandler.h It is now possible to define multiple music themes for terrains 2024-07-15 21:46:41 +00:00
TurnTimerInfo.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
TurnTimerInfo.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
UnlockGuard.h
vcmi_endian.h
VCMI_Lib.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
VCMI_Lib.h Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
VCMIDirs.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
VCMIDirs.h