X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-9.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4BAB75CD.3010404@redhat.com> Date: Thu, 25 Mar 2010 08:40:13 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, N DOT Zacharias AT dewi DOT de Subject: Re: Core dump after reading from /proc/registry References: <288482661 DOT 5731269425114860 DOT JavaMail DOT root AT fqdn> <4BA9EFF9 DOT 70403 AT sbcglobal DOT net> <8CCC8F85C5F2784387A32FAD835FB4E602DBF1393D AT server03> <8CCC8F85C5F2784387A32FAD835FB4E602DBF13942 AT server03> In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E602DBF13942@server03> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5E2A901CB6C63A247C7F3C3B" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig5E2A901CB6C63A247C7F3C3B Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/25/2010 03:07 AM, DEWI - N. Zacharias wrote: > To read the content of a registry key I use : >=20 > my $ww =3D IO::File->new(" my $Reg_FreePdf_Path =3D <$ww>; > $ww->close(); >=20 > 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? --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig5E2A901CB6C63A247C7F3C3B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkurdc0ACgkQ84KuGfSFAYCvNACfeu1cW1x0CUbjKuZwPXeJe27v D5EAn1UEN0kqyws+ef5Wl3zjzU0uUYlZ =ZAYo -----END PGP SIGNATURE----- --------------enig5E2A901CB6C63A247C7F3C3B--