Pass the trap number causing the call to die() to the die notification handler chain. From: Jan Beulich (actual patch attached)