Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <4373D925.3040405@bopp.net> Date: Thu, 10 Nov 2005 17:35:01 -0600 From: Jeremy Bopp User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Setup.exe 2.510.2.2 segfaults when reinstalling a package with a changed md5sum Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Summary: Version 2.510.2.2 of setup.exe segfaults when attempting to reinstall the same version of a package that has a modified yet valid checksum. This happens on Windows 2000 SP4, Windows 98 SE, and Windows XP SP2. To reproduce the problem: 1) Generate and install a package as usual. 2) Keep the cached copy of the package around after you finish. 3) Regenerate the package such that its md5sum is different but its version number is not. Adding a zero byte file to the package will work nicely. Everything about the regenerated package should be valid in the mirror. 4) Ensure that the regenerated package installs successfully on a second machine just to avoid any questions about the repackaging. 5) Attempt to reinstall the same version of the package on the first machine using the same package cache area and the same mirror. Setup.exe will segfault upon clicking the Next button on the package selection page. Deleting the cached copy prior to running setup avoids the problem. The correct behavior is obvously to avoid the segfault at all costs. What to do with a package discovered in this state should be left up to the user: Download a new copy and reinstall or just reinstall from the cached copy. I'll test out an updated version of setup.exe to verify any potential fix if a download location is provided. -Jeremy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/