delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/10/18:35:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <spam_bucket AT bopp DOT net>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019