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

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

Build:
Build:
LAST BUILD BRANCH: wip/vdso-kdat
DEFAULT BRANCH: master
Ran 16 Aug 2016 06:57PM UTC
Files 120
Run time 8s
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

16 Aug 2016 06:43PM UTC coverage: 64.379%. First build
TR_ARCH=local

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

Source Files on job 424.1 (TR_ARCH=local)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 424
  • Travis Job 424.1
  • c5790322 on github
  • Next Job for TR_ARCH=local on parasite-args-fix (#425.1)
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

© 2026 Coveralls, Inc