[adding bug-gnulib] On 03/10/2011 06:53 PM, Ben Walton wrote: > > Hi All, > > Since 8.8, touch has dumped core on solaris 10 (built on solaris 9). > The command that triggers the core dump is a simple: touch somefile > > This is seemingly related to the recommend patch cluster of Jan 10, > 2011 as it runs just fine on older releases of solaris 10. > > On affected boxes, the file is touched but in the subsequent dup2, it > goes into a loop until it dies. I tried to attach truss output, but > the MTA at gnu.org rejected it twice.
Can you show the config.log, especially the portion where it is checking for dup2 and fcntl POSIX compliance? This smells like a bug in gnulib's fcntl() implementation. > > Please let me know if other inputs would be of use in debugging this. If you compiled with debugging, then it might help to show a gdb session of rpl_fcntl in lib/fcntl.c while stepping enough to prove the loop, as well as a backtrace that leads to that loop, might be worthwhile. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature