[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#8230: touch dumps core on solaris 10

From: Eric Blake
Subject: Re: bug#8230: touch dumps core on solaris 10
Date: Fri, 11 Mar 2011 06:44:42 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

[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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]