public inbox for ccan@ozlabs.org
 help / color / mirror / Atom feed
* [PATCH 0/4] altstack: Small bugfixes
@ 2016-02-16  6:09 David Gibson
  2016-02-16  6:09 ` [PATCH 1/4] altstack: Increase signal stack size David Gibson
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: David Gibson @ 2016-02-16  6:09 UTC (permalink / raw)
  To: dan; +Cc: ccan

So, by building myself a docker container with Ubuntu 12.04 (the
default distro used by Travis builds), I thought I'd figured out why
altstack has been breaking Travis builds for ages.

Unfortunately, I was wrong - 1/4 certainly fixes *a* bug on Ubuntu
12.04, but there's at least one more - I'm getting a SIGBUS in dn()
for reasons I haven't figured out.  I think it must be a different
behaviour in whatever kernel the Travis builders are using (so it
doesn't affect my local container build), but I don't know for sure.

Still might as well fix the bug I did track down.  While I was at it I
found a couple more bugs which I haven't seen bite in practice, but
I'm pretty sure could cause problems at least theoretically, hence
patches 2..3/4.

Finally 4/4 isn't a bugfix, but reworks some of the test code to make
failures a bit easier to diagnose.

David Gibson (4):
  altstack: Increase signal stack size
  altstack: Include config.h in run.c
  altstack: Declare memory clobbers
  altstack: Clarify checking macros

 ccan/altstack/altstack.c |  7 ++++---
 ccan/altstack/test/run.c | 30 +++++++++++++++++++++++++-----
 2 files changed, 29 insertions(+), 8 deletions(-)

-- 
2.5.0

_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-18  5:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16  6:09 [PATCH 0/4] altstack: Small bugfixes David Gibson
2016-02-16  6:09 ` [PATCH 1/4] altstack: Increase signal stack size David Gibson
2016-02-16  6:09 ` [PATCH 2/4] altstack: Include config.h in run.c David Gibson
2016-02-16  6:09 ` [PATCH 3/4] altstack: Declare memory clobbers David Gibson
2016-02-16 17:29   ` Dan Good
2016-02-17  0:09     ` David Gibson
     [not found]       ` <CACNkOJPwRNWyUw+mv=RR+9hShPfUaCu3EGbNTeOhGRmmc6zA-w@mail.gmail.com>
2016-02-18  3:09         ` David Gibson
     [not found]           ` <CACNkOJMsLzcKVuhWwNYKw-LQJhjJT4kYCFLfbYUsYW911WVu1w@mail.gmail.com>
2016-02-18  5:49             ` David Gibson
2016-02-16  6:09 ` [PATCH 4/4] altstack: Clarify checking macros David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox