integration tests detect segmentation fault
Implement detection of segmentation fault in integration tests.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Owner
Nechytas tam nekde segfault a nevracis 1? Kazdy segfault mi skonci s retcode 1
- Owner
Hm,
SigHandler::handler
máexit(1)
a chytásigsegv
:-)Mrkni sem - https://www.tldp.org/LDP/abs/html/exitcodes.htmlV unixu jsou specialni retcodes. Pokud zabijes program signalem X, pak se vraci128+x
. V nasem pripade, SIGSEGV=11, tedy 139.Nejak to poupravim.(blbost, to je pro bash, nas se asi bude tykat sysexits.h)https://stackoverflow.com/questions/1101957/are-there-any-standard-exit-status-codes-in-linux
Edited by Tomáš Pecka - Owner
Jeste pozorovani:
- kdyz zakazu signal(sigsegv), waitpid to pak odchyti jako nespravne ukonceny - signalem 11. Timeout je signal 15.
- kdyz ho necham povoleny, vrati se ta exit(1) z handler().
- V release mode se signal nechyta.
Jinak je to na to pripravene, je tedy jen potreba dovymyslet co s tim sighandlerem.
- Tomáš Pecka mentioned in commit 1875a641
mentioned in commit 1875a641
- Tomáš Pecka mentioned in commit 9f64af2d
mentioned in commit 9f64af2d
- Tomáš Pecka mentioned in commit 3e69a27a
mentioned in commit 3e69a27a
- Tomáš Pecka mentioned in commit 607d3b98
mentioned in commit 607d3b98
- Tomáš Pecka mentioned in commit 262bd6e8
mentioned in commit 262bd6e8
- Jan Trávníček mentioned in commit 5bdc053b
mentioned in commit 5bdc053b
- Jan Trávníček mentioned in commit 9741f5a5
mentioned in commit 9741f5a5
- Jan Trávníček mentioned in commit 046fb528
mentioned in commit 046fb528
- Jan Trávníček mentioned in commit 378bd476
mentioned in commit 378bd476
- Jan Trávníček mentioned in commit fccf1d93
mentioned in commit fccf1d93
- Jan Trávníček mentioned in commit eea85068
mentioned in commit eea85068
- Jan Trávníček mentioned in merge request !73 (merged)
mentioned in merge request !73 (merged)
- Jan Trávníček closed via merge request !73 (merged)
closed via merge request !73 (merged)