wow, this is a nasty bug...
authorBrian Demsky <bdemsky@uci.edu>
Thu, 24 May 2012 20:32:55 +0000 (13:32 -0700)
committerBrian Demsky <bdemsky@uci.edu>
Thu, 24 May 2012 20:32:55 +0000 (13:32 -0700)
commit5dccc85bdc3836239c2a8124541074366defb573
treef98b9c82956eedca8cfcae8821d903673fa82c21
parent977bc05c795281f164c11861de48b0b0e2111cae
wow, this is a nasty bug...

the last part of the snapshot bug is the following:
we snapshot the user threads stack...  when we get a seg fault,
the signal handler is using the same write protected stack...
obviously this is going to cause problems.  luckily there is support
for a special stack for the signal handler.  this checkin switches
the signal handler to run on a different stack than the program stack.
snapshot.cc
snapshot.h