Dr. Werner Fink
2014-07-09 10:36:07 UTC
Hi,
even with _AST_std_malloc==0 and _map_malloc==1 I see sometimes that
the test suite hangs for ever in signal.sh. After attaching the gdb
to such a hanging ksh process I can identify that this happens in
the signal handler sh_fault() if the Siginfo structure is allocated.
The back trace shows that the ksh hanging at last in a nanosleep()
call within tvsleep() called below src/lib/libast/vmalloc/
In other words even the libast variant of memory allocation is not
reentrant.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20140709/993ee3bd/attachment.sig>
even with _AST_std_malloc==0 and _map_malloc==1 I see sometimes that
the test suite hangs for ever in signal.sh. After attaching the gdb
to such a hanging ksh process I can identify that this happens in
the signal handler sh_fault() if the Siginfo structure is allocated.
The back trace shows that the ksh hanging at last in a nanosleep()
call within tvsleep() called below src/lib/libast/vmalloc/
In other words even the libast variant of memory allocation is not
reentrant.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20140709/993ee3bd/attachment.sig>