Kfir Itzhak
25297bde73
Push the debugging in zm_signal further down
2013-10-07 11:27:53 +03:00
Kfir Itzhak
2cb65c6430
Always print cr2 and ip as long if siginfo and ucontext are available
2013-10-07 11:07:41 +03:00
Kfir Itzhak
1d7f664627
1) Removed the use of deprecated and undocumented sigcontext (Replaced by siginfo and ucontext)
...
2) Removed the checks for sigcontext, strsignal and siginfo.h
3) Added debugging code to the die handler
4) Using SA_RESTART in the hup and reload handlers to prevent certain functions returning EINTR
5) Added SIGINT and SIGQUIT to the term handler
2013-10-07 10:37:58 +03:00
Kfir Itzhak
e4b1be73ef
Used indent -linux on src/zm_signal.cpp to convert all spaces to tabs
2013-10-07 02:57:01 +03:00
Kfir Itzhak
0bb2ee7efc
More signal improvements:
...
1) Cleaner code
2) Fixed the path displayed in the addr2line line
3) Improved dependency checking for backtrace
4) Few more improvements
2013-10-07 02:37:50 +03:00
Kfir Itzhak
b5c536b134
Signal and backtrace improvements
2013-10-06 18:26:33 +03:00
mastertheknife
ac7f7f08a7
Fix some compilation warnings
2013-09-24 07:31:02 +03:00
stan
6ff385e407
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3459 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-06-21 09:19:10 +00:00
stan
a786dfeb66
Debug tidying and renaming.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2976 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-10-14 13:10:14 +00:00
stan
2c43bde47c
Corrected some format specifiers to account for different size of size_t types on 64 bit systems
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2942 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-07-01 12:28:40 +00:00
stan
092f8cdbff
Made backtracing more helpful.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2769 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-02-17 12:27:03 +00:00
stan
435c469d4b
Added DUMP_CORES option.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2639 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-09-29 11:43:43 +00:00
stan
d15e05e016
Cosmetic cr/lfs on debug,
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2634 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-09-29 08:15:50 +00:00
stan
e6041e24a7
Uppdated copyright headers
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2611 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-25 09:33:23 +00:00
stan
fc8886b305
Changed method of detecting strsignal
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2592 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-22 19:54:01 +00:00
stan
ee44d4b274
Updated debug format
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2513 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-14 14:43:47 +00:00
stan
799ee78675
Bug 471 - Compiler warnings, sorted out types and general format tidying
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2357 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-03-13 13:36:12 +00:00
stan
24528cedaf
Fixed incorrect indication on HUP signal.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1991 e3e1d417-86f3-4887-817a-d78f3d33393f
2006-05-24 13:51:23 +00:00
stan
fbc4c6e088
Bug 315 - Handle sigcontext structures without eip.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1959 e3e1d417-86f3-4887-817a-d78f3d33393f
2006-05-05 11:23:26 +00:00
stan
e22e410320
Bug 308 - Added handlers for fatal signals, with backtracing facility.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1914 e3e1d417-86f3-4887-817a-d78f3d33393f
2006-04-05 12:20:46 +00:00