This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Core dump after reading from /proc/registry


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]