Kjell Hedstrom
81885e4456
Enabled vectored exception crash handling, it can also be turned off easily with a define
...
cmake -DENABLE_VECTORED_EXCEPTIONHANDLING=OFF
2015-02-16 01:37:55 -07:00
Kjell Hedstrom
9e3ed03310
Merge pull request #3 from KjellKod/windows-vector-exceptions
...
Disabled Vectored exception handling: TEMPORARILY.
2015-02-03 22:57:53 -07:00
Kjell Hedstrom
4c7c5c7ca7
Disabled Vectored exception handling: TEMPORARILY.
...
It will likely be enabled shortly but with
1) options for enabling/disabling it
2) use of unit test for unknown exceptions (and known)
to make sure that 3rd party libraries that use exceptions (sigh)
way too frequently are not affected.
3) only handling "known exceptions" unknown exceptions will get perhaps a
LOG(WARNING) but no more "exiting"
2015-02-03 22:53:01 -07:00
Kjell Hedstrom
e71b5fc7c0
Merge pull request #2 from KjellKod/signal_improved_handling2
...
JuceTesting shows that all signalhandling should be installed per thread
2015-02-02 21:44:24 -07:00
Kjell Hedstrom
b3e7032678
Signals seems to have to be installed for EVERY thread
2015-02-02 21:35:48 -07:00
KjellKod
892059a2dd
dual heads merge madness github-bitbucket
2015-02-02 00:40:34 -07:00
KjellKod
938fc55971
What a mess to merge from Github/KjellKod/g3log to BitBucket/KjellKod/g3log
2015-02-02 00:31:43 -07:00
Kjell Hedstrom
ec345e08c6
Merge pull request #1 from KjellKod/windows-crashhandler
...
Windows crashhandler
2015-02-02 00:04:37 -07:00
Kjell Hedstrom
f5fabd2868
removed branch from travis
2015-02-02 00:02:30 -07:00
Kjell Hedstrom
0bd34ba5de
removed windows fatal conclusions file
2015-02-01 23:53:54 -07:00
Kjell Hedstrom
5b73954910
fixed crash handling after changes on the windows side
2015-02-01 23:52:45 -07:00
Kjell Hedstrom
2c6ead2115
Finishing up stacktrace for windows. Using "reworked" code in namespace "stacktrace"
...
which originated from Robert Engeln original code at: http://code-freeze.blogspot.com/2012/01/generating-stack-traces-from-c.html
Robert Engeln agreed to contribute with his code as a public domain contribution.
2015-02-01 22:48:20 -07:00
Kjell Hedstrom
84302edf3f
hack to take care of stackdump race:wq!
2015-01-29 01:04:53 -07:00
Kjell Hedstrom
c5bb9b96d8
Finally the right sublime AstyleFormat options pointer-align:type and reference-align:type
...
Fixed bug with dynamic logging levels and DBUG (instead of DEBUG)
2015-01-28 12:49:36 -07:00
Kjell Hedstrom
fb30aef9e8
type issues
2015-01-28 02:58:28 -07:00
Kjell Hedstrom
f1e744c1ec
type of fatal id now better handled
2015-01-28 02:54:50 -07:00
Kjell Hedstrom
a9eb7714d6
Same change as under other g2log-g3log repos, opened up for way easier change
...
of fatal handler
2015-01-28 02:23:34 -07:00
Kjell Hedstrom
55d91601b8
Handle that the signal type might be too big for an int if we are running on Windows
...
(signal is int, but exceptioncode is unsigned long)
2015-01-28 02:14:24 -07:00
Kjell Hedstrom
1329a1d807
Dynamic levels fixed ... some typo earlier. IN the main g3log on Bitbucket this typo did not exist
2015-01-28 01:04:59 -07:00
Kjell Hedstrom
265db780c3
Avoid catching shutdown-crash after catching the initial exit reason
2015-01-28 00:40:05 -07:00
Kjell Hedstrom
baa109ed89
comments
2015-01-26 21:01:32 -07:00
Kjell Hedstrom
3f39757ffc
g2::installSignalHandlerForThread() added as a hook for clients to make sure that that thread is fatal signal covered
...
g2::internal void setFatalExitHandler(std::function<void(FatalMessagePtr) > fatal_call); can now be used by clients
who wish to provide their own "exit handling".
2015-01-26 20:58:34 -07:00
Kjell Hedstrom
02d3812d1a
Update Build.cmake
2015-01-22 02:47:38 -07:00
Kjell Hedstrom
fd8f4d9e2f
REmove windows specific files for linux systems
2015-01-22 02:29:56 -07:00
Kjell Hedstrom
ac6cbd032d
run more branches
2015-01-22 02:27:59 -07:00
Kjell Hedstrom
1d09bf8916
Options.cmake now instead of dynamic.cmake
2015-01-22 02:24:02 -07:00
Kjell Hedstrom
895efa35bf
local include
2015-01-22 02:03:18 -07:00
Kjell Hedstrom
a5747de01a
Work in progress. Now a fatal exception will cause all sinks to be flushed and then be
...
deleted. Then the exception will continue ... either crashing the app or will be caught in another exception handler
2015-01-22 01:54:59 -07:00
Kjell Hedstrom
2cf9c4aefe
g2log levels: Now with options to use DEBUG or DBUG which can be set using cmake -DDCHANGE_G3LOG_DEBUG_TO_DBUG=ON
2015-01-21 22:46:36 -07:00
Kjell Hedstrom
3a234929e5
In progress ... reverting back to the example code make it ALL work
...
(in DEBUG)
2015-01-11 22:21:40 -07:00
Kjell Hedstrom
bd2b89f9de
Varför fixar examplet att fa en bra stackdump MEN INTE g3log examplet????
2015-01-11 17:02:32 -07:00
Kjell Hedstrom
05fd4632c7
so so working. the original example still works the best
2015-01-11 16:34:13 -07:00
Kjell Hedstrom
8c63adffe1
Fixed vanilla cases with stackdump
2015-01-10 23:10:06 -07:00
Kjell Hedström
1f844f5ea1
README.markdown edited online with Bitbucket
2015-01-08 06:23:05 +00:00
Kjell Hedström
1259e9e1ea
README.markdown edited online with Bitbucket
2015-01-08 06:22:36 +00:00
Kjell Hedstrom
b9b58cca02
In progress. Yet to fix
...
1) FAtal event should have a callback because the handling is very different if
there is a windows exception that should just continue afterwards or if
2) there is a signal
3) Special signal handling in Windows for SIGFPE and Sigsegv if done in another
thread
2015-01-04 23:51:29 -07:00
Kjell Hedstrom
3a0cef8f50
Added the skeleton starts for namespace or class to fetch the stackdump
2015-01-04 17:53:28 -07:00
Kjell Hedstrom
936b59d9bb
ongoing .... starting to add crashhandler for windows
2015-01-04 17:51:21 -07:00
KjellKod
81a7c9109d
Updated travis build script to accept any g++ version
...
Updated the fatal choice example with informative couts
2014-12-12 02:05:51 -07:00
KjellKod
fdd3c2572a
Added a multiple,choice "Choose Your Fatal Exit" example.
...
Next step is to add the windows g3logger fatal exit handler (POC finished)
2014-12-12 08:44:17 -07:00
Kjell Hedstrom
4d6f2f3913
test commit from gith
2014-12-11 08:29:29 -07:00
KjellKod
7e2d357a9d
Nonsense change to push windows g3log changes to GitHub. KjellKod/g3log
2014-12-11 00:25:02 -07:00
kjellkod@kjellkod-Asus.hsd1.co.comcast.net.
c23a8e2419
Remove warning in Windows by using vsnprintf_s
2014-12-11 00:10:47 -07:00
KjellKod
e62eaec8f6
removed faulty lib
2014-10-12 01:02:26 -06:00
KjellKod
785a2f3ff6
iC++abi
2014-10-12 00:58:35 -06:00
KjellKod
03084d11d9
removed c++abi1
2014-10-12 00:46:23 -06:00
KjellKod
ff93adcace
skip gcc for now
2014-10-12 00:43:29 -06:00
KjellKod
e29810025f
what up with Clang and Travis?
2014-10-11 23:49:22 -06:00
KjellKod
fcdd40ada6
bug in travis. once the environment is restarted it does not start in the right location
2014-10-11 23:17:57 -06:00
KjellKod
008cdaade0
path is kept?
2014-10-11 23:09:26 -06:00