ccan.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ian Zimmerman <itz@very.loosely.org>
To: Ccan Mailinglist <ccan@lists.ozlabs.org>
Subject: make check fails in coroutine module
Date: Sun, 17 Mar 2019 15:39:44 -0700	[thread overview]
Message-ID: <20190317223944.rebtzvfszp63qrze@matica.foolinux.mooo.com> (raw)

cc -g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wundef -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1 -I.  -MMD -MP -MFccan/coroutine/coroutine.o.d -MTccan/coroutine/coroutine.o -c ccan/coroutine/coroutine.c -o ccan/coroutine/coroutine.o
tools/ccanlint/ccanlint -s --deps-fail-ignore   ccan/coroutine/ && touch ccan/coroutine/.ok
coroutine: Module's run and api tests pass (tests_pass): FAIL (+0/3)
/home/itz/git/ccan/ccan/coroutine/test/api-2.c:1..10
ok 1 - coroutine_stack_check(stack1, NULL) == stack1
ok 2 - coroutine_stack_size(stack1) == bufsz - COROUTINE_STK_OVERHEAD
ok 3 - coroutine_stack_check(stack2, NULL) == stack2
ok 4 - coroutine_stack_size(stack2) == bufsz - COROUTINE_STK_OVERHEAD
sh: line 1: 24908 Segmentation fault      (core dumped) valgrind -q --leak-check=full --log-fd=3 /tmp/ccanlint-24709.1804289383/api-2 3> /tmp/ccanlint-24709.1804289383/api-2.valgrind-log

... more (use -vv to see them all)
coroutine: Total score: 35/43 FAIL!
make: *** [Makefile:78: ccan/coroutine/.ok] Error 1

Perhaps it is relevant that the configurator check causing the segfault
- as discussed in the other thread - is HAVE_POINTER_SAFE_MAKECONTEXT
which, I believe, is only used by coroutine module.

Platform: x86_64, Fedora 28, gcc 8.3.1, glibc 2.27.  I didn't set any
special build flags or anything.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

             reply	other threads:[~2019-03-17 22:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17 22:39 Ian Zimmerman [this message]
2019-03-26  4:31 ` make check fails in coroutine module David Gibson
2019-03-26 19:58   ` Ian Zimmerman
2019-03-27 12:08     ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190317223944.rebtzvfszp63qrze@matica.foolinux.mooo.com \
    --to=itz@very.loosely.org \
    --cc=ccan@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).