Jonathan G Rennison
62631cba02
Attempt to log distro name/version in Unix crashlog.
...
Factor out fork/execve/read stdout code into own function.
2016-06-12 20:58:52 +01:00
Jonathan G Rennison
8d078acb4e
Log registers and fault instruction in Unix crashlog.
2016-06-12 19:34:06 +01:00
Jonathan G Rennison
0951cb320c
Show ./configure invocation in crash log.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
411f91731d
Config: Fix --with-self-gdb-debug config re-exec
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
abbc960e96
Linux crashlog: Use sigaction to get more info on fatal signals.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
2a2ff30c3f
Fix Pool verbose assertion format string on Windows platforms.
2016-03-23 18:21:54 +00:00
Jonathan G Rennison
5359c43ec1
Add scope logging for Vehicle::PreDestructor.
2016-03-21 20:33:55 +00:00
Jonathan G Rennison
6ed6eeb478
Include _current_company in crashlog AI config.
2016-03-21 20:21:32 +00:00
Jonathan G Rennison
a703e2ff58
Increase verbosity of Pool assertion failure messages.
2016-03-21 18:22:52 +00:00
Jonathan G Rennison
c949ab72e4
Close read end of pipe after reading in gdb stack trace mode.
2016-03-10 19:40:20 +00:00
Jonathan G Rennison
a609439d98
Add support for enhanced crash log stacktraces using gdb on Linux.
...
This attempts to use gdb to attach to the current process and print
a full backtrace.
2016-03-10 00:14:26 +00:00
Jonathan G Rennison
f82002cda2
Use likely/__builtin_expect for assertion macros.
2016-03-10 00:13:58 +00:00
Jonathan G Rennison
4e020d4aa2
Increase verbosity of tile_map.h assertions.
2016-03-10 00:10:34 +00:00
Jonathan G Rennison
cbc35e8aae
Try to make scope info logging more robust.
...
Add checks for validity of Vehicle ptrs in scope_dumper::VehicleInfo.
In Unix mode, try to handle SIGSEGVs when dumping scope info.
2016-02-25 19:21:06 +00:00
Jonathan G Rennison
0062881a46
Avoid using malloc in scope guard logger.
...
Use a temporary object with its own buffer, which lives on the stack.
Reformat SCOPE_INFO_FMT to not be all on one line.
Other minor reformatting.
2016-02-25 00:20:31 +00:00
Jonathan G Rennison
ae6e43c5fa
Initial uses of scope guard logging.
2016-02-17 22:52:57 +00:00
Jonathan G Rennison
5cf2b04f6a
Initial implementation of scope guard logging for including in crash logs.
...
This adds a mechanism to create scope guards with an associated std::function
which is called to output diagnostic info in the event of a crash.
Add a macro to make it easy to efficiently capture variables on the stack
and output a formatted message.
Requires C++11, #ifdefed out for legacy compilers.
2016-02-17 22:41:07 +00:00
Jonathan G Rennison
e89efa8581
Add a function to test whether the current thread is the main thread.
2016-02-17 22:41:07 +00:00
Jonathan G Rennison
48e4c35fdc
Add support for verbose asserts.
...
Use for test/exec DoCommand mismatches.
2016-02-17 22:41:07 +00:00
Jonathan G Rennison
f86b5c58cb
Merge branch 'master' into crashlog_improvements
2016-02-17 22:40:40 +00:00
translators
9043cbf9bf
(svn r27508) -Update from Eints:
...
german: 1 change by mini1025
2016-02-13 18:45:36 +00:00
frosch
9db36bd87a
(svn r27507) -Add: [NewGRF] Allow custom sound IDs in RV property 0x12, ship property 0x10 and aircraft property 0x12.
2016-02-08 21:05:57 +00:00
translators
4b8c6983e7
(svn r27506) -Update from Eints:
...
french: 13 changes by OliTTD
2016-02-04 18:45:36 +00:00
translators
4b894775af
(svn r27505) -Update from Eints:
...
portuguese: 2 changes by neuralshock
2016-01-26 18:45:36 +00:00
translators
b23f22f0f6
(svn r27504) -Update from Eints:
...
catalan: 3 changes by juanjo
2016-01-25 18:45:36 +00:00
translators
3cc990d0f9
(svn r27503) -Update from Eints:
...
persian: 6 changes by Peymanpn
greek: 3 changes by Ferrum
2016-01-24 18:45:36 +00:00
translators
da104bee01
(svn r27502) -Update from Eints:
...
greek: 54 changes by Ferrum
2016-01-23 18:45:37 +00:00
translators
ff0c05f990
(svn r27501) -Update from Eints:
...
greek: 4 changes by Ferrum
2016-01-22 18:45:38 +00:00
translators
25bda8a417
(svn r27500) -Update from Eints:
...
frisian: 16 changes by gjannema
2016-01-18 18:45:36 +00:00
translators
4459e01f79
(svn r27499) -Update from Eints:
...
korean: 34 changes by telk5093
catalan: 10 changes by juanjo
2016-01-17 18:45:36 +00:00
translators
16fb5bf9bb
(svn r27498) -Update from Eints:
...
greek: 11 changes by Ferrum
2016-01-14 18:45:35 +00:00
frosch
36e66a17dc
(svn r27497) -Change: [NewGRF] Allow static NewGRF to enable the second rocky tile set.
2016-01-13 21:55:50 +00:00
frosch
265c8d090f
(svn r27496) -Update: Baseset translations
2016-01-13 21:33:40 +00:00
translators
3b1696f13a
(svn r27495) -Update from Eints:
...
greek: 37 changes by Ferrum
lithuanian: 1 change by BlinK_
2016-01-13 18:45:36 +00:00
translators
d046a02c7d
(svn r27494) -Update from Eints:
...
frisian: 61 changes by gjannema
afrikaans: 1 change by telanus
2016-01-12 18:45:36 +00:00
translators
e45f9d32c1
(svn r27493) -Update from Eints:
...
greek: 10 changes by Ferrum
2016-01-11 18:45:35 +00:00
translators
f5359a70be
(svn r27492) -Update from Eints:
...
catalan: 48 changes by juanjo
greek: 2 changes by Jubilee
2016-01-10 18:45:35 +00:00
translators
9c6655a37c
(svn r27491) -Update from Eints:
...
croatian: 1 change by VoyagerOne
2016-01-09 18:45:38 +00:00
translators
45adb8f172
(svn r27490) -Update from Eints:
...
chinese (simplified): 1 change by siu238X
2016-01-08 18:45:37 +00:00
translators
5102ba54ea
(svn r27489) -Update from Eints:
...
vietnamese: 1 change by nglekhoi
2016-01-06 18:45:35 +00:00
translators
e1df8edf66
(svn r27488) -Update from Eints:
...
catalan: 19 changes by juanjo
2016-01-03 18:45:37 +00:00
translators
ee00bef5a9
(svn r27487) -Update from Eints:
...
spanish: 1 change by SilverSurferZzZ
serbian: 57 changes by stravagante
catalan: 23 changes by juanjo
2016-01-02 18:45:38 +00:00
translators
60733359fa
(svn r27486) -Update from Eints:
...
serbian: 86 changes by stravagante
catalan: 77 changes by juanjo
german: 1 change by mini1025
russian: 1 change by Lone_Wolf
latin: 1 change by Supercheese
2016-01-01 18:45:37 +00:00
translators
137ecd5377
(svn r27485) -Update from Eints:
...
croatian: 114 changes by UnderwaterHesus
2015-12-31 18:45:36 +00:00
translators
7ab291af95
(svn r27484) -Update from Eints:
...
croatian: 4 changes by UnderwaterHesus
english (us): 1 change by Supercheese
serbian: 21 changes by stravagante
latin: 1 change by Supercheese
2015-12-30 18:45:36 +00:00
translators
864c6360eb
(svn r27483) -Update from Eints:
...
norwegian (bokmal): 1 change by cuthbert
esperanto: 1 change by LaPingvino
2015-12-29 18:45:36 +00:00
translators
8e5487c347
(svn r27482) -Update from Eints:
...
irish: 23 changes by tem
2015-12-28 18:45:35 +00:00
michi_cc
4445809dd9
(svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used.
2015-12-28 13:16:41 +00:00
translators
12915a202f
(svn r27480) -Update from Eints:
...
irish: 12 changes by tem
greek: 1 change by frosch
swedish: 1 change by Zuu
2015-12-27 19:45:37 +00:00
frosch
cc3fcf7d61
(svn r27479) -Fix: Remove genders from non-default cases.
2015-12-27 13:16:37 +00:00