Hi, 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.
Regards.
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.
Cheers,
Udo