• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

0x7f454c46 / criu / 424
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: wip/vdso-kdat
DEFAULT BRANCH: master
Ran 16 Aug 2016 06:48PM UTC
Jobs 6
Files 120
Run time 13min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
424

push

travis-ci

0x7f454c46
parasite: align parasite args with 4 bytes

From the commit 64e74fab05f1 ("parasite: handle errors while a transport
socket is being created"), we have futex in parasite init args to
synchronize parasite and criu during initialization.
And man futex(2): "On all platforms, futexes are four-byte integers that
must be aligned on a four-byte boundary."
This is checked by kernel in get_futex_key():
	if (unlikely((address % sizeof(u32)) != 0))
		return -EINVAL;

So, we need to align parasite arguments on four bytes, while mapping
of parasite blob on page-aligned address will guarantee that it'll
be aligned on four bytes in memory.

Fixes:
(00.013468) -----------------------
(00.013470) Putting tsock into pid 22043
(00.014024) Error (criu/parasite-syscall.c:541): futex() returned an unexpected error: -22
(00.014026) Error (criu/parasite-syscall.c:541): BUG at criu/parasite-syscall.c:541

Cc: Andrew Vagin <avagin@virtuozzo.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>

16792 of 26083 relevant lines covered (64.38%)

73182.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 424.1 (TR_ARCH=local) 16 Aug 2016 06:57PM UTC 0
64.38
Travis Job 424.1
2 424.2 (TR_ARCH=x86_64) 16 Aug 2016 06:48PM UTC 0
Travis Job 424.2
3 424.3 (TR_ARCH=armv7hf) 16 Aug 2016 07:02PM UTC 0
Travis Job 424.3
4 424.4 (TR_ARCH=aarch64) 16 Aug 2016 06:57PM UTC 0
Travis Job 424.4
5 424.5 (TR_ARCH=ppc64le) 16 Aug 2016 06:59PM UTC 0
Travis Job 424.5
6 424.6 (TR_ARCH=alpine) 16 Aug 2016 06:52PM UTC 0
Travis Job 424.6
Source Files on build 424
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #424
  • c5790322 on github
  • Next Build on parasite-args-fix (#425)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc