The most common problem is that the signal handler is declared with the wrong argument list. It is called as:
handler(signum, frame)
so it should be declared with two arguments: def handler(signum, frame).
Interview Questions and Answers pdf free download for freshers beginners experienced, Multiple Choice Questions with Answers Practice, Placement Papers