PDA

View Full Version : [ViX_Misc] Suggestion to get *which* fatal Signal was signalled shown in debug logs



birdman
14-12-15, 04:16
Several crash logs reported here ended up with a line such as:


< 2381.568692> /usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x45BC38]
.....
< 2381.571325> -------FATAL SIGNAL

Unfortunately this doesn't indicate which signal it was (it could be one of four).

Could main/bsod.cpp (line 330) be changed to print the numeric value of the signal it is handling?


eDebug("-------FATAL SIGNAL");
to

eDebug("-------FATAL SIGNAL (%d)", signum);

abu baniaz
14-12-15, 14:34
@Birdman, you have a Private Message.

abu baniaz
15-12-15, 02:39
Added. Thanks

https://github.com/OpenViX/enigma2/commit/659dcf5d77e44cc49eef6444c0cdf73f912afe81