delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/07/08:42:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <017201c20e1f$4fe1ac40$42a18c09@wdg.uk.ibm.com>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
References: <NEBBLGAIGOHCGFPEEBIMMEKEMNAA DOT ralfhauser AT gmx DOT ch> <003601c20e08$41e0bd50$42a18c09 AT wdg DOT uk DOT ibm DOT com> <1577430955 DOT 20020607120539 AT syntrex DOT com> <6911522488 DOT 20020607131350 AT syntrex DOT com>
Subject: Re: Re[3]: cygwin download incomplete - try again - loop?
Date: Fri, 7 Jun 2002 13:31:56 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Pavel Tsekov <ptsekov AT syntrex DOT com> wrote:
> MB>> This is caused to the presence of a setup.ini in the root of the local
package
> MB>> directory and a string-handling bug in the rfc1738 code.
>
> It appears that Max is right - without setup.ini in the local package
> directory everything is fine, if you put one, setup.exe crashes :(

Backtrace from the crash below.

strlen(url) is called with url = NULL on line 92.

Its easy to kludge round this, but it strikes me that the problem would be
better solved by finding out why a null pointer is being passed in the first
place. Maybe this weekend :-).

(gdb) bt
#0  0x004346d3 in rfc1738_do_escape (url=0x0, encode_reserved=1)
    at ../setup/rfc1738.cc:92
#1  0x0043484c in rfc1738_escape_part (url=@0x13785c8)
    at ../setup/rfc1738.cc:187
#2  0x0040c5ef in check_for_cached (pkgsource=@0x12f48e0)
    at ../setup/download.cc:91
#3  0x004043e6 in scan_downloaded_files () at ../setup/choose.cc:471
#4  0x004045f1 in ChooserPage::OnInit (this=0x23fb60) at ../setup/choose.cc:517
#5  0x00434112 in PropertyPage::DialogProc (this=0x23fb60, message=272,
    wParam=0, lParam=2461248) at ../setup/proppage.cc:114
#6  0x0043404d in PropertyPage::FirstDialogProcReflector (hwnd=0x30556,
    message=272, wParam=0, lParam=2461248) at ../setup/proppage.cc:86



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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