Bug#494031: Signal handlers not working?

2008-08-28 Thread Jurij Smakov
It appears that my initial analysis was not completely correct. The signal handlers are working, sort of. The first SIGBUS which the program gets is handled correctly, and then control is returned back to the program, however second one is not trapped and delivered to the program, which kills i

Bug#494031: Signal handlers not working?

2008-08-26 Thread Ondrej Certik
Hi Jurij! On Tue, Aug 26, 2008 at 10:50 PM, Jurij Smakov <[EMAIL PROTECTED]> wrote: > Hi, > > I dug a little bit into the code and it seems that the problem is > caused by this macro defined in Utilities/hdf5/H5detect.c: > > #if defined(H5_HAVE_LONGJMP) && defined(H5_HAVE_SIGNAL) > #define ALIGNME

Bug#494031: Signal handlers not working?

2008-08-26 Thread Jurij Smakov
Hi, I dug a little bit into the code and it seems that the problem is caused by this macro defined in Utilities/hdf5/H5detect.c: #if defined(H5_HAVE_LONGJMP) && defined(H5_HAVE_SIGNAL) #define ALIGNMENT(TYPE,INFO) { \ char*volatile _buf=NULL; \ volatile