Mercurial > gnulib
annotate modules/largefile @ 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 | a04e3dcc9531 |
children | 475cb7b1878d |
rev | line source |
---|---|
35134
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
1 Description: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
2 Use large files. |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
3 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
4 Files: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
5 m4/largefile.m4 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
6 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
7 Depends-on: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
8 |
35192
8a9b941804b6
largefile: fix typo that regressed large file support
Eric Blake <eblake@redhat.com>
parents:
35134
diff
changeset
|
9 configure.ac-early: |
35134
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
10 AC_REQUIRE([AC_SYS_LARGEFILE]) |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
11 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
12 configure.ac: |
36486
a04e3dcc9531
Large File Support for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents:
35192
diff
changeset
|
13 AC_REQUIRE([gl_LARGEFILE]) |
35134
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
14 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
15 Makefile.am: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
16 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
17 Include: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
18 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
19 License: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
20 LGPLv2+ |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
21 |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
22 Maintainer: |
860174bb998d
largefile: new module, replacing large-inode
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
23 all |