annotate modules/nonblocking-tests @ 37246:5cfb3a67238d

regex: avoid glibc deadlock during configure glibc has a known bug where certain corruptions of the heap can cause malloc to default to printing a debug message that includes a backtrace, but the act of getting the backtrace uses dlopen which in turn calls into malloc, causing a recursive lock ending in deadlock. Thus, when configure is probing for a known glibc heap corruption bug, the overall configure would hang. The solution suggested by glibc developers is to force malloc to quit printing debug messages, which avoids recursive malloc. * m4/regex.m4 (gl_REGEX): Avoid recursive malloc deadlock when glibc bug 15078 in turn triggers bug 16159. Reported by Michal Privoznik. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Tue, 03 Dec 2013 10:34:13 -0700
parents 2c92a419ee26
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34204
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
1 Files:
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
2 tests/test-nonblocking.c
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
3 tests/macros.h
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
4
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
5 Depends-on:
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
6 close
37064
2c92a419ee26 tests: don't assume getdtablesize () <= 10000000
Paul Eggert <eggert@cs.ucla.edu>
parents: 34281
diff changeset
7 getdtablesize
34204
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
8 pipe-posix
34280
b739f449fb23 nonblocking: Add tests for pipes.
Bruno Haible <bruno@clisp.org>
parents: 34227
diff changeset
9 nonblocking-pipe-tests
34281
4e3b32f3a632 nonblocking: Add tests for sockets.
Bruno Haible <bruno@clisp.org>
parents: 34280
diff changeset
10 nonblocking-socket-tests
34204
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
11
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
12 configure.ac:
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
13
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
14 Makefile.am:
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
15 TESTS += test-nonblocking
cbec08f776e9 nonblocking: new module
Eric Blake <eblake@redhat.com>
parents:
diff changeset
16 check_PROGRAMS += test-nonblocking
34227
85c6344a4f0e nonblocking: reduce dependency
Eric Blake <eblake@redhat.com>
parents: 34207
diff changeset
17 test_nonblocking_LDADD = $(LDADD) $(LIBSOCKET)