[vdr] vdr-1.5.1: Interface race

Udo Richter udo_richter at gmx.de
Sun Mar 18 13:29:56 CET 2007

Stefan Huelswitt wrote:
> there is a race condition while terminating vdr.
> Early in the shutdown process the Interface class is deleted. If
> a signal is raised after that point, the signal handler will call
> Interface->Interrupt() which is allready deleted.

The best fix is probably to disable all signal handlers at the beginning 
of the shutdown part, right after 'Exit:'. signal(SIGxxx, SIG_DFL) for 
all the signals should do.



More information about the vdr mailing list