vdr-1.5.1: Interface race

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux