[PATCH] Reference event sources signalled by epoll before timeout, handling.

James Hunt james.hunt at ubuntu.com
Fri Apr 20 02:07:43 PDT 2012


The attached fixes a SIGSEGV crash if 'plymouth show-splash' is followed immediately by 'plymouth quit'.

To recreate the crash:

# in one terminal
while :
do
  plymouthd --no-daemon --tty=`tty` --ignore-implicit-consoles
done

# in another terminal
while :
do
  plymouth --ping || continue
  plymouth show-splash
  plymouth quit
done

Within a few seconds on a reasonably fast machine, plymouthd will SIGSEGV due to invalidly
referenced event sources.

Patch fixes plymouth bug 28548 (and the 271 related bugs reported by Ubuntu users ;)

Kind regards,

James
--
James Hunt
____________________________________
http://upstart.ubuntu.com/cookbook
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf


More information about the plymouth mailing list