Core dump after reading from /proc/registry

Eric Blake eblake@redhat.com
Thu Mar 25 15:22:00 GMT 2010


On 03/25/2010 03:07 AM, DEWI - N. Zacharias wrote:
> To read the content of a registry key  I use :
> 
> my $ww = IO::File->new("</proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbox/freepdfxp/fpDir");
> my $Reg_FreePdf_Path = <$ww>;
> $ww->close();
> 
> It works but a subsequent call  system("cd /cydrive/c/whatever")  crashes with
> a core dump.

Which version of cygwin?  cygwin 1.7.2-2 was released to fix a memory
corruption bug in managing the registry in cygwin 1.7.2-1; perhaps you
just need to upgrade?

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100325/8e3b1d0e/attachment.sig>


More information about the Cygwin mailing list