Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | do not strictly require mq non-NULL, as peerinfo service might have died already | Christian Grothoff | 2019-02-19 |
| | |||
* | fix possibility of NULL result for empty database | Christian Grothoff | 2019-02-19 |
| | |||
* | do not use rps in consensus test | Christian Grothoff | 2019-02-19 |
| | |||
* | unset XDG vars in test explicitly in case test is run by hand | Christian Grothoff | 2019-02-19 |
| | |||
* | extra sanity check for #5582 | Christian Grothoff | 2019-02-19 |
| | |||
* | clean up python logic a bit, remove duplicate print() calls when we have log ↵ | Christian Grothoff | 2019-02-19 |
| | | | | calls | ||
* | cleaner py code, fix test_integration_disconnect.py.in by fixing erroneous patch | Christian Grothoff | 2019-02-19 |
| | |||
* | rexxnor fix for string to digit | Christian Grothoff | 2019-02-18 |
| | |||
* | add openssl.cnf | Schanzenbach, Martin | 2019-02-17 |
| | |||
* | fix indentation | Christian Grothoff | 2019-02-17 |
| | |||
* | attempt fix #5578 | Schanzenbach, Martin | 2019-02-17 |
| | |||
* | Merge branch 'master' of git+ssh://gnunet.org/gnunet | Schanzenbach, Martin | 2019-02-17 |
|\ | |||
| * | filenames can exceed 128 bytes, even in testcases | Christian Grothoff | 2019-02-17 |
| | | |||
* | | fix path length | Schanzenbach, Martin | 2019-02-17 |
|/ | |||
* | fix 128 | Christian Grothoff | 2019-02-17 |
| | |||
* | skip if timeout not installed | Schanzenbach, Martin | 2019-02-16 |
| | |||
* | Florian Weimer writes: | Christian Grothoff | 2019-02-16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Christian Grothoff: > I'm seeing some _very_ odd behavior with processes hanging on exit (?) > with GNU libc 2.28-6 on Debian (amd64 threadripper). This seems to > happen at random (for random tests, with very low frequency!) in the > GNUnet (Git master) testsuite when a child process is about to exit. It looks like you call exit from a signal handler, see src/util/scheduler.c: /** * Signal handler called for signals that should cause us to shutdown. */ static void sighandler_shutdown () { static char c; int old_errno = errno; /* backup errno */ if (getpid () != my_pid) exit (1); /* we have fork'ed since the signal handler was created, * ignore the signal, see https://gnunet.org/vfork discussion */ GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), &c, sizeof (c)); errno = old_errno; } In general, this results in undefined behavior because exit (unlike _exit) is not an async-signal-safe function. I suspect you either call the exit function while a fork is in progress, or since you register this signal handler multiple times for different signals: sh->shc_int = GNUNET_SIGNAL_handler_install (SIGINT, &sighandler_shutdown); sh->shc_term = GNUNET_SIGNAL_handler_install (SIGTERM, &sighandler_shutdown); one call to exit might interrupt another call to exit if both signals are delivered to the process. The deadlock you see was introduced in commit 27761a1042daf01987e7d79636d0c41511c6df3c ("Refactor atfork handlers"), first released in glibc 2.28. The fork deadlock will be gone (in the single-threaded case) if Debian updates to the current release/2.28/master branch because we backported commit 60f80624257ef84eacfd9b400bda1b5a5e8e7816 ("nptl: Avoid fork handler lock for async-signal-safe fork [BZ #24161]") there. But this will not help you. Even without the deadlock, I expect you still experience some random corruption during exit, but it's going to be difficult to spot. Thanks, Florian | ||
* | fix another linker error | Schanzenbach, Martin | 2019-02-16 |
| | |||
* | Merge branch 'master' of git+ssh://gnunet.org/gnunet | Christian Grothoff | 2019-02-16 |
|\ | |||
| * | more logger | ng0 | 2019-02-16 |
| | | |||
| * | more logging | ng0 | 2019-02-16 |
| | | |||
| * | gnunet_testing.py.in: first set of logging | ng0 | 2019-02-16 |
| | | |||
* | | fix assertion failure reported in #5578 | Christian Grothoff | 2019-02-16 |
|/ | |||
* | add debug output to py.in | Christian Grothoff | 2019-02-16 |
| | |||
* | add logging | Christian Grothoff | 2019-02-16 |
| | |||
* | cast no longer required for modern curl | Christian Grothoff | 2019-02-16 |
| | |||
* | make clang shut up about #5573 | Christian Grothoff | 2019-02-16 |
| | |||
* | fix some compiler warnings | Schanzenbach, Martin | 2019-02-15 |
| | |||
* | fix dist build | Schanzenbach, Martin | 2019-02-15 |
| | |||
* | Fix bug reported by schanzen@ where bootstrap is not enough for our ↵ | ng0 | 2019-02-15 |
| | | | | python2.7 script. | ||
* | fix #5571 | Christian Grothoff | 2019-02-15 |
| | |||
* | fix nat-auto port conflict | Christian Grothoff | 2019-02-15 |
| | |||
* | skip instead of fail hard on testbed link failures in cadet tests | Christian Grothoff | 2019-02-14 |
| | |||
* | fix build ats | Schanzenbach, Martin | 2019-02-14 |
| | |||
* | Merge branch 'master' of gnunet.org:gnunet | ng0 | 2019-02-14 |
|\ | |||
| * | DCE | Christian Grothoff | 2019-02-14 |
| | | |||
* | | Switch to python3.7 (integration-tests incomplete), continue using python2.7 ↵ | ng0 | 2019-02-14 |
|/ | | | | | | for gnunet-qr with an incredible annoying workaround for autotools inability to deal with 2 major python versions at the same time Signed-off-by: ng0 <ng0@n0.is> | ||
* | fix #3329 | Christian Grothoff | 2019-02-14 |
| | |||
* | mystery solved? | Christian Grothoff | 2019-02-14 |
| | |||
* | fix uninit e_hash issue | Christian Grothoff | 2019-02-14 |
| | |||
* | add missing ignores | Christian Grothoff | 2019-02-14 |
| | |||
* | use disjoint UNIXPATHs and PORT for NAT | Christian Grothoff | 2019-02-13 |
| | |||
* | trying to improve things for #5560 | Christian Grothoff | 2019-02-13 |
| | |||
* | ignore generated files, one mroe | Christian Grothoff | 2019-02-13 |
| | |||
* | clarifying namestore api (#5458), fixing code duplication and a memory leak ↵ | Christian Grothoff | 2019-02-13 |
| | | | | while at it | ||
* | Merge branch 'master' of gnunet.org:gnunet | ng0 | 2019-02-13 |
|\ | |||
| * | add handle_address_consider_verify skeleton | Christian Grothoff | 2019-02-13 |
| | | |||
| * | implementing libgnunettransportaddress | Christian Grothoff | 2019-02-13 |
| | | |||
| * | undo accidental commit | Christian Grothoff | 2019-02-13 |
| | | |||
| * | trying to fix #5532 | Christian Grothoff | 2019-02-13 |
| | |