cpdup core dumps if -pX is specified
dillon at apollo.backplane.com
Tue Apr 28 16:56:18 PDT 2009
:I use following script to dup world building around my boxes:
:cpdup reproducibly core dumps in the above script. But if '-p10' is
:omitted, cpdup will not core dump.
:Live Free or Die
Holy cow it took me a while to track this one down.
libc is not allocating a large enough TCB and the allocation is
getting overflowed. It only applies to static-compiled threaded
cpdup creates and destroys lots of threads, and cpdup is statically
compiled, so it is pretty much the only program that could possibly
ever actually tickle this bug.
<dillon at backplane.com>
More information about the Bugs