* cygwin download incomplete - try again - loop? @ 2002-06-07 1:31 Ralf Hauser 2002-06-07 2:07 ` Pavel Tsekov 0 siblings, 1 reply; 22+ messages in thread From: Ralf Hauser @ 2002-06-07 1:31 UTC (permalink / raw) To: cygwin Hi, when I use cygwin's setup.exe. to try to "install from Internet" - System - setup 2.218.2.9-1, I get a "download incomplete - try again?" error loop with serveral download sites. Does it intentionally choke on itself? Rgds r. (hauser@acm.org) -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: cygwin download incomplete - try again - loop? 2002-06-07 1:31 cygwin download incomplete - try again - loop? Ralf Hauser @ 2002-06-07 2:07 ` Pavel Tsekov 2002-06-07 2:09 ` Roberto Morello 2002-06-07 2:09 ` Ralf Hauser 0 siblings, 2 replies; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 2:07 UTC (permalink / raw) To: Ralf Hauser; +Cc: cygwin Hello Ralf, Try a snapshot version of the installer. You can get one from http://www.cygwin.com/setup-snapshots. The latest binary there is setup-2.249.2.1.exe RH> Hi, when I use cygwin's setup.exe. to try to "install from Internet" - RH> System - setup 2.218.2.9-1, I get a "download incomplete - try again?" error RH> loop with serveral download sites. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: cygwin download incomplete - try again - loop? 2002-06-07 2:07 ` Pavel Tsekov @ 2002-06-07 2:09 ` Roberto Morello 2002-06-07 6:35 ` Nicholas Wourms 2002-06-07 2:09 ` Ralf Hauser 1 sibling, 1 reply; 22+ messages in thread From: Roberto Morello @ 2002-06-07 2:09 UTC (permalink / raw) To: Pavel Tsekov Hello, I have had similar issues with ALL versions within the snapshot directory. In all cases I was trying to download everything, ie selecting INSTALL at the root of the tree. roberto Pavel Tsekov wrote: >Hello Ralf, > >Try a snapshot version of the installer. You can get one from >http://www.cygwin.com/setup-snapshots. The latest binary >there is setup-2.249.2.1.exe > >RH> Hi, when I use cygwin's setup.exe. to try to "install from Internet" - >RH> System - setup 2.218.2.9-1, I get a "download incomplete - try again?" error >RH> loop with serveral download sites. > > -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: cygwin download incomplete - try again - loop? 2002-06-07 2:09 ` Roberto Morello @ 2002-06-07 6:35 ` Nicholas Wourms 2002-06-07 6:50 ` robertc 0 siblings, 1 reply; 22+ messages in thread From: Nicholas Wourms @ 2002-06-07 6:35 UTC (permalink / raw) To: Roberto Morello, Pavel Tsekov Simple, When you install everthing, make sure to scroll down to the setup entry and change it to "Skip"... That should fix the problem... Cheers, Nicholas --- Roberto Morello <rmo@adelaide.on.net> wrote: > Hello, > > I have had similar issues with ALL versions within the snapshot > directory. > In all cases I was trying to download everything, ie selecting INSTALL > at the root of the tree. > > roberto > > > Pavel Tsekov wrote: > > >Hello Ralf, > > > >Try a snapshot version of the installer. You can get one from > >http://www.cygwin.com/setup-snapshots. The latest binary > >there is setup-2.249.2.1.exe > > > >RH> Hi, when I use cygwin's setup.exe. to try to "install from > Internet" - > >RH> System - setup 2.218.2.9-1, I get a "download incomplete - try > again?" error > >RH> loop with serveral download sites. > > > > > > > > -- > 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/ > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: cygwin download incomplete - try again - loop? 2002-06-07 6:35 ` Nicholas Wourms @ 2002-06-07 6:50 ` robertc 0 siblings, 0 replies; 22+ messages in thread From: robertc @ 2002-06-07 6:50 UTC (permalink / raw) To: 'Nicholas Wourms', 'Roberto Morello', 'Pavel Tsekov' The setup.exe source should work fine. I fixed that bug on the 20th may. I just tried, and it works fone for me. Rob > -----Original Message----- > From: cygwin-owner@cygwin.com > [mailto:cygwin-owner@cygwin.com] On Behalf Of Nicholas Wourms > Sent: Friday, 7 June 2002 11:16 PM > To: Roberto Morello; Pavel Tsekov > Subject: Re: cygwin download incomplete - try again - loop? > > > Simple, > > When you install everthing, make sure to scroll down to the > setup entry > and change it to "Skip"... That should fix the problem... > > Cheers, > Nicholas > --- Roberto Morello <rmo@adelaide.on.net> wrote: > > Hello, > > > > I have had similar issues with ALL versions within the snapshot > > directory. > > In all cases I was trying to download everything, ie > selecting INSTALL > > at the root of the tree. > > > > roberto > > > > > > Pavel Tsekov wrote: > > > > >Hello Ralf, > > > > > >Try a snapshot version of the installer. You can get one from > > >http://www.cygwin.com/setup-snapshots. The latest binary > > >there is setup-2.249.2.1.exe > > > > > >RH> Hi, when I use cygwin's setup.exe. to try to "install from > > Internet" - > > >RH> System - setup 2.218.2.9-1, I get a "download incomplete - try > > again?" error > > >RH> loop with serveral download sites. > > > > > > > > > > > > > > -- > > 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/ > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > 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/ > > -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: cygwin download incomplete - try again - loop? 2002-06-07 2:07 ` Pavel Tsekov 2002-06-07 2:09 ` Roberto Morello @ 2002-06-07 2:09 ` Ralf Hauser 2002-06-07 3:05 ` Re[2]: " Pavel Tsekov 2002-06-07 5:08 ` Max Bowsher 1 sibling, 2 replies; 22+ messages in thread From: Ralf Hauser @ 2002-06-07 2:09 UTC (permalink / raw) To: Pavel Tsekov Thanks, 2.249.2.1 seems to work fine for downloading what I said, but when I use it to install from my local directory, it crashes "Instruction at "0x00434679" referenced memory at "0x000000000". The memory could not be "read". ... -----Original Message----- From: Pavel Tsekov [mailto:ptsekov@syntrex.com] Sent: Freitag, 7. Juni 2002 10:32 To: Ralf Hauser Cc: cygwin@cygwin.com Subject: Re: cygwin download incomplete - try again - loop? Hello Ralf, Try a snapshot version of the installer. You can get one from http://www.cygwin.com/setup-snapshots. The latest binary there is setup-2.249.2.1.exe RH> Hi, when I use cygwin's setup.exe. to try to "install from Internet" - RH> System - setup 2.218.2.9-1, I get a "download incomplete - try again?" error RH> loop with serveral download sites. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[2]: cygwin download incomplete - try again - loop? 2002-06-07 2:09 ` Ralf Hauser @ 2002-06-07 3:05 ` Pavel Tsekov 2002-06-07 4:31 ` Ralf Hauser 2002-06-07 5:08 ` Max Bowsher 1 sibling, 1 reply; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 3:05 UTC (permalink / raw) To: Ralf Hauser; +Cc: Pavel Tsekov, hauser Hello Ralf, Friday, June 07, 2002, 10:47:49 AM, you wrote: RH> Thanks, 2.249.2.1 seems to work fine for downloading what I said, but when I RH> use it to install from my local directory, it crashes "Instruction at RH> "0x00434679" referenced memory at "0x000000000". The memory could not be RH> "read". On which page of the installer does it crash ? Which is your OS version ? -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Re[2]: cygwin download incomplete - try again - loop? 2002-06-07 3:05 ` Re[2]: " Pavel Tsekov @ 2002-06-07 4:31 ` Ralf Hauser 0 siblings, 0 replies; 22+ messages in thread From: Ralf Hauser @ 2002-06-07 4:31 UTC (permalink / raw) To: Pavel Tsekov Pavel, OS-Version: <<rhauser@6657:~/MyDocRalf> cygcheck -s Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jun 07 10:17:05 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 ....>> Page: After "Select Local Package Directory" in "Progress - This page displays the progress in downloading or installing ..." Rgds r. -----Original Message----- From: Pavel Tsekov [mailto:ptsekov@syntrex.com] Sent: Freitag, 7. Juni 2002 11:10 To: Ralf Hauser Cc: Pavel Tsekov; hauser@acm.org Subject: Re[2]: cygwin download incomplete - try again - loop? Hello Ralf, Friday, June 07, 2002, 10:47:49 AM, you wrote: RH> Thanks, 2.249.2.1 seems to work fine for downloading what I said, but when I RH> use it to install from my local directory, it crashes "Instruction at RH> "0x00434679" referenced memory at "0x000000000". The memory could not be RH> "read". On which page of the installer does it crash ? Which is your OS version ? -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: cygwin download incomplete - try again - loop? 2002-06-07 2:09 ` Ralf Hauser 2002-06-07 3:05 ` Re[2]: " Pavel Tsekov @ 2002-06-07 5:08 ` Max Bowsher 2002-06-07 5:09 ` Re[2]: " Pavel Tsekov 1 sibling, 1 reply; 22+ messages in thread From: Max Bowsher @ 2002-06-07 5:08 UTC (permalink / raw) To: hauser, cygwin Ralf Hauser <ralfhauser@gmx.ch> wrote: > Thanks, 2.249.2.1 seems to work fine for downloading what I said, but when I > use it to install from my local directory, it crashes "Instruction at > "0x00434679" referenced memory at "0x000000000". The memory could not be > "read". This is caused to the presence of a setup.ini in the root of the local package directory and a string-handling bug in the rfc1738 code. Max. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[2]: cygwin download incomplete - try again - loop? 2002-06-07 5:08 ` Max Bowsher @ 2002-06-07 5:09 ` Pavel Tsekov 2002-06-07 5:20 ` Re[3]: " Pavel Tsekov 0 siblings, 1 reply; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 5:09 UTC (permalink / raw) To: Max Bowsher; +Cc: hauser, cygwin Hello Max, Friday, June 07, 2002, 11:46:54 AM, you wrote: MB> Ralf Hauser <ralfhauser@gmx.ch> wrote: >> Thanks, 2.249.2.1 seems to work fine for downloading what I said, but when I >> use it to install from my local directory, it crashes "Instruction at >> "0x00434679" referenced memory at "0x000000000". The memory could not be >> "read". 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. Hmm... Maybe not. The latest setup source I have here (fetched from HEAD, not a branch)is 2.249 and the fix for that problem is there. And this was fetched some time ago - so I suppose all the latest and greatest setup.exe should have this fix also. I can't check right now though because I'm behind a firewall. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[3]: cygwin download incomplete - try again - loop? 2002-06-07 5:09 ` Re[2]: " Pavel Tsekov @ 2002-06-07 5:20 ` Pavel Tsekov 2002-06-07 6:04 ` Max Bowsher 0 siblings, 1 reply; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 5:20 UTC (permalink / raw) To: cygwin; +Cc: Max Bowsher, hauser 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. PT> Hmm... Maybe not. The latest setup source I have here (fetched from PT> HEAD, not a branch)is 2.249 and the fix for that problem is there. And PT> this was fetched some time ago - so I suppose all the latest and PT> greatest setup.exe should have this fix also. PT> I can't check right now though because I'm behind a firewall. It appears that Max is right - without setup.ini in the local package directory everything is fine, if you put one, setup.exe crashes :( So, Ralf, if you remove the setup.ini from the local package directory, setup.exe won't crash. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[3]: cygwin download incomplete - try again - loop? 2002-06-07 5:20 ` Re[3]: " Pavel Tsekov @ 2002-06-07 6:04 ` Max Bowsher 2002-06-07 6:40 ` Re[5]: " Pavel Tsekov 2002-06-07 9:13 ` Re[3]: " Robert Collins 0 siblings, 2 replies; 22+ messages in thread From: Max Bowsher @ 2002-06-07 6:04 UTC (permalink / raw) To: cygwin Pavel Tsekov <ptsekov@syntrex.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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[5]: cygwin download incomplete - try again - loop? 2002-06-07 6:04 ` Max Bowsher @ 2002-06-07 6:40 ` Pavel Tsekov 2002-06-07 6:48 ` Max Bowsher 2002-06-07 9:13 ` Re[3]: " Robert Collins 1 sibling, 1 reply; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 6:40 UTC (permalink / raw) To: Max Bowsher; +Cc: cygwin Hello Max, Friday, June 07, 2002, 2:31:56 PM, you wrote: MB> Backtrace from the crash below. MB> strlen(url) is called with url = NULL on line 92. MB> Its easy to kludge round this, but it strikes me that the problem would be MB> better solved by finding out why a null pointer is being passed in the first MB> place. Maybe this weekend :-). MB> (gdb) bt MB> #0 0x004346d3 in rfc1738_do_escape (url=0x0, encode_reserved=1) MB> at ../setup/rfc1738.cc:92 MB> #1 0x0043484c in rfc1738_escape_part (url=@0x13785c8) MB> at ../setup/rfc1738.cc:187 MB> #2 0x0040c5ef in check_for_cached (pkgsource=@0x12f48e0) MB> at ../setup/download.cc:91 MB> #3 0x004043e6 in scan_downloaded_files () at ../setup/choose.cc:471 MB> #4 0x004045f1 in ChooserPage::OnInit (this=0x23fb60) at ../setup/choose.cc:517 MB> #5 0x00434112 in PropertyPage::DialogProc (this=0x23fb60, message=272, MB> wParam=0, lParam=2461248) at ../setup/proppage.cc:114 MB> #6 0x0043404d in PropertyPage::FirstDialogProcReflector (hwnd=0x30556, MB> message=272, wParam=0, lParam=2461248) at ../setup/proppage.cc:86 Ah, this is another one! :) Btw I recall you reported something like this some weeks ago. I'll take a look at it too. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[5]: cygwin download incomplete - try again - loop? 2002-06-07 6:40 ` Re[5]: " Pavel Tsekov @ 2002-06-07 6:48 ` Max Bowsher 2002-06-07 6:58 ` Max Bowsher 0 siblings, 1 reply; 22+ messages in thread From: Max Bowsher @ 2002-06-07 6:48 UTC (permalink / raw) To: Pavel Tsekov; +Cc: cygwin Pavel Tsekov <ptsekov@syntrex.com> wrote: > Hello Max, > > Friday, June 07, 2002, 2:31:56 PM, you wrote: > > MB> strlen(url) is called with url = NULL on line 92. > > MB> Its easy to kludge round this, but it strikes me that the problem would be > MB> better solved by finding out why a null pointer is being passed in the first > MB> place. Maybe this weekend :-). > > Ah, this is another one! :) Btw I recall you reported something like > this some weeks ago. I'm pretty sure it is the same one. I kludged around it in my local copy, by returning a null string, without calling strlen(), but I didn't submit a patch, because the very fact that a NULL pointer is being passed in is a bug elsewhere in the code, which I have not been able to find and squish, because I have not yet invested the time to fully understnd the control flow of this part of setup. Max. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[5]: cygwin download incomplete - try again - loop? 2002-06-07 6:48 ` Max Bowsher @ 2002-06-07 6:58 ` Max Bowsher 0 siblings, 0 replies; 22+ messages in thread From: Max Bowsher @ 2002-06-07 6:58 UTC (permalink / raw) To: Pavel Tsekov; +Cc: cygwin Pavel Tsekov <ptsekov@syntrex.com> wrote: > Hello Max, > > Friday, June 07, 2002, 2:31:56 PM, you wrote: > > MB> strlen(url) is called with url = NULL on line 92. > > MB> Its easy to kludge round this, but it strikes me that the problem would be > MB> better solved by finding out why a null pointer is being passed in the first > MB> place. Maybe this weekend :-). > > Ah, this is another one! :) Btw I recall you reported something like > this some weeks ago. I'm pretty sure it is the same one. I kludged around it in my local copy, by returning a null string, without calling strlen(), but I didn't submit a patch, because the very fact that a NULL pointer is being passed in is a bug elsewhere in the code, which I have not been able to find and squish, because I have not yet invested the time to fully understnd the control flow of this part of setup. Max. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Re[3]: cygwin download incomplete - try again - loop? 2002-06-07 6:04 ` Max Bowsher 2002-06-07 6:40 ` Re[5]: " Pavel Tsekov @ 2002-06-07 9:13 ` Robert Collins 2002-06-07 9:17 ` Re[5]: " Pavel Tsekov 2002-06-07 10:37 ` Re[3]: " Max Bowsher 1 sibling, 2 replies; 22+ messages in thread From: Robert Collins @ 2002-06-07 9:13 UTC (permalink / raw) To: 'Max Bowsher', cygwin I can't duplicate this. Is this from HEAD or setup-200206? Also, can you use 'bt full' not 'bt' when getting a back trace? Thanks, Rob > -----Original Message----- > From: cygwin-owner@cygwin.com > [mailto:cygwin-owner@cygwin.com] On Behalf Of Max Bowsher > Sent: Friday, 7 June 2002 10:32 PM > To: cygwin@cygwin.com > Subject: Re: Re[3]: cygwin download incomplete - try again - loop? > > > Pavel Tsekov <ptsekov@syntrex.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/ > > -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[5]: cygwin download incomplete - try again - loop? 2002-06-07 9:13 ` Re[3]: " Robert Collins @ 2002-06-07 9:17 ` Pavel Tsekov 2002-06-07 10:37 ` Re[3]: " Max Bowsher 1 sibling, 0 replies; 22+ messages in thread From: Pavel Tsekov @ 2002-06-07 9:17 UTC (permalink / raw) To: Robert Collins; +Cc: 'Max Bowsher', cygwin Hello Robert, Friday, June 07, 2002, 5:33:57 PM, you wrote: RC> I can't duplicate this. Is this from HEAD or setup-200206? RC> Also, can you use 'bt full' not 'bt' when getting a back trace? 2.249.2.1 blows here but I dont have a debuggable exe right now. When Max reported this crash for the first time I wasn't able to reproduce it. I'm running the XP Home with all critical updates, etc. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[3]: cygwin download incomplete - try again - loop? 2002-06-07 9:13 ` Re[3]: " Robert Collins 2002-06-07 9:17 ` Re[5]: " Pavel Tsekov @ 2002-06-07 10:37 ` Max Bowsher 2002-06-08 8:27 ` Robert Collins 1 sibling, 1 reply; 22+ messages in thread From: Max Bowsher @ 2002-06-07 10:37 UTC (permalink / raw) To: Robert Collins, cygwin Robert Collins <robert.collins@syncretize.net> wrote: > I can't duplicate this. Is this from HEAD or setup-200206? HEAD, checked out from an rsync local replica of the cvs tree. Updated within 15 mins of this mail. Placing a setup.ini file in the root of the local package directory duplicates the crash reliably for me. > Also, can you use 'bt full' not 'bt' when getting a back trace? (gdb) bt full #0 0x004346d3 in rfc1738_do_escape (url=0x0, encode_reserved=1) at ../setup/rfc1738.cc:92 url = 0x0 buf = 0x0 bufsize = 0 p = 0x12f4790 "hJ/\001" q = 0x0 i = 0 do_escape = 0 #1 0x0043484c in rfc1738_escape_part (url=@0x13784d0) at ../setup/rfc1738.cc:187 url = (String &) @0x0: Cannot access memory at address 0x0 (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=@0x13784d0) at ../setup/rfc1738.cc:187 #2 0x0040c5ef in check_for_cached (pkgsource=@0x12f47a0) 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=0xf064a, message=272, wParam=0, lParam=2461248) at ../setup/proppage.cc:86 > Thanks, > Rob -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Re[3]: cygwin download incomplete - try again - loop? 2002-06-07 10:37 ` Re[3]: " Max Bowsher @ 2002-06-08 8:27 ` Robert Collins 2002-06-10 3:31 ` Max Bowsher 0 siblings, 1 reply; 22+ messages in thread From: Robert Collins @ 2002-06-08 8:27 UTC (permalink / raw) To: 'Max Bowsher', cygwin > -----Original Message----- > From: Max Bowsher [mailto:maxb@ukf.net] > Sent: Saturday, 8 June 2002 2:13 AM > To: Robert Collins; cygwin@cygwin.com > Subject: Re: Re[3]: cygwin download incomplete - try again - loop? > > > Robert Collins <robert.collins@syncretize.net> wrote: > > I can't duplicate this. Is this from HEAD or setup-200206? > > HEAD, checked out from an rsync local replica of the cvs > tree. Updated within 15 > mins of this mail. > > Placing a setup.ini file in the root of the local package > directory duplicates > the crash reliably for me. > > > Also, can you use 'bt full' not 'bt' when getting a back trace? > > (gdb) bt full > #0 0x004346d3 in rfc1738_do_escape (url=0x0, encode_reserved=1) > at ../setup/rfc1738.cc:92 > url = 0x0 > buf = 0x0 > bufsize = 0 > p = 0x12f4790 "hJ/\001" > q = 0x0 > i = 0 > do_escape = 0 > #1 0x0043484c in rfc1738_escape_part (url=@0x13784d0) > at ../setup/rfc1738.cc:187 > url = (String &) @0x0: Cannot access memory at address 0x0 > (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=@0x13784d0) > at ../setup/rfc1738.cc:187 > #2 0x0040c5ef in check_for_cached (pkgsource=@0x12f47a0) > at ../setup/download.cc:91 In here, (pkgsource.sites[n]->key ) is apparently evaluating as a zero length string. This should never happen (key must have a value). However, I'm pretty sure the sites class allows key to have no value, so what you need to do is to go to frame 2 or 3 and identify the package and site count that it's got. And then work backwards to find out when the invalid site is created. Can you do that? I'll offer what email assistance I can, but until we have enough detail to reproduce here, that's all I can offer. I'm obviously keen to get this bug fixed... Rob -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[3]: cygwin download incomplete - try again - loop? 2002-06-08 8:27 ` Robert Collins @ 2002-06-10 3:31 ` Max Bowsher 2002-06-10 3:49 ` Robert Collins 0 siblings, 1 reply; 22+ messages in thread From: Max Bowsher @ 2002-06-10 3:31 UTC (permalink / raw) To: Robert Collins, cygwin Robert Collins <robert.collins@syncretize.net> wrote: >> (gdb) bt full >> #0 0x004346d3 in rfc1738_do_escape (url=0x0, encode_reserved=1) >> at ../setup/rfc1738.cc:92 >> url = 0x0 >> buf = 0x0 >> bufsize = 0 >> p = 0x12f4790 "hJ/\001" >> q = 0x0 >> i = 0 >> do_escape = 0 >> #1 0x0043484c in rfc1738_escape_part (url=@0x13784d0) >> at ../setup/rfc1738.cc:187 >> url = (String &) @0x0: Cannot access memory at address 0x0 >> (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=@0x13784d0) >> at ../setup/rfc1738.cc:187 >> #2 0x0040c5ef in check_for_cached (pkgsource=@0x12f47a0) >> at ../setup/download.cc:91 > > In here, (pkgsource.sites[n]->key ) is apparently evaluating as a zero > length string. This should never happen (key must have a value). > > However, I'm pretty sure the sites class allows key to have no value, so > what you need to do is to go to frame 2 or 3 and identify the package > and site count that it's got. And then work backwards to find out when > the invalid site is created. Your email and my 'Diagnosis of setup crash' one crossed. In that, I came to the same conclusion of zero-length pkgsource.sites[n]->key values being the problem. Here is a section from that email of mine: | The site objects with a key of "" are created somewhere | in the yacc/lex stuff (of which I know nothing) based upon the mirror value | produced in IniParseFindVisitor::visitFile(). Changing < mirror = String (); > | to < mirror = String ("."); > on line 69 of IniParseFindVisitor.cc eliminates | the crash. I'd also like to add - the empty keys are directly related to having a setup.ini in the root dir of the package directory - just as having <pkgdir>/misc/setup.ini causes sites with key 'misc' to be created. Hopefully, that will mean something to you. If not, I guess its time for me to learn about yyparse() and friends :-). > Can you do that? I'll offer what email assistance I can, but until we > have enough detail to reproduce here, that's all I can offer. Sure, I understand that you cannot debug a bug that you can't reproduce. But, if you copy the setup.ini from any mirror-site-named directory up 1 directory to the root of the local package dir, does that not reproduce the bug? > I'm obviously keen to get this bug fixed... Me too, but the key of "." as suggested in my other mail seems to work. Max. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Re[3]: cygwin download incomplete - try again - loop? 2002-06-10 3:31 ` Max Bowsher @ 2002-06-10 3:49 ` Robert Collins 2002-06-10 5:37 ` Max Bowsher 0 siblings, 1 reply; 22+ messages in thread From: Robert Collins @ 2002-06-10 3:49 UTC (permalink / raw) To: 'Max Bowsher', cygwin > -----Original Message----- > From: Max Bowsher [mailto:maxb@ukf.net] > Sent: Monday, 10 June 2002 8:00 PM > Your email and my 'Diagnosis of setup crash' one crossed. In > that, I came to the > same conclusion of zero-length pkgsource.sites[n]->key values > being the problem. Yes :}. I didn't correctly fix in back in may, String() == String (0); :[. > I'd also like to add - the empty keys are directly related to > having a setup.ini > in the root dir of the package directory - just as having > <pkgdir>/misc/setup.ini causes sites with key 'misc' to be created. Hm. I thought they might be related to the 'download incomplete' message for some reason. Ah well. Anyway, I've corrected my incorrect fix. Rob -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re[3]: cygwin download incomplete - try again - loop? 2002-06-10 3:49 ` Robert Collins @ 2002-06-10 5:37 ` Max Bowsher 0 siblings, 0 replies; 22+ messages in thread From: Max Bowsher @ 2002-06-10 5:37 UTC (permalink / raw) To: Robert Collins, cygwin Robert Collins <robert.collins@syncretize.net> wrote: >> -----Original Message----- >> From: Max Bowsher [mailto:maxb@ukf.net] >> Sent: Monday, 10 June 2002 8:00 PM > >> Your email and my 'Diagnosis of setup crash' one crossed. In >> that, I came to the >> same conclusion of zero-length pkgsource.sites[n]->key values >> being the problem. > > Yes :}. I didn't correctly fix in back in may, String() == String (0); > :[. > >> I'd also like to add - the empty keys are directly related to >> having a setup.ini >> in the root dir of the package directory - just as having >> <pkgdir>/misc/setup.ini causes sites with key 'misc' to be created. > > Hm. I thought they might be related to the 'download incomplete' message > for some reason. Ah well. > > Anyway, I've corrected my incorrect fix. > > Rob I confirm this bug is squished in cvs. Max. -- 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/ ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2002-06-10 10:48 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-06-07 1:31 cygwin download incomplete - try again - loop? Ralf Hauser 2002-06-07 2:07 ` Pavel Tsekov 2002-06-07 2:09 ` Roberto Morello 2002-06-07 6:35 ` Nicholas Wourms 2002-06-07 6:50 ` robertc 2002-06-07 2:09 ` Ralf Hauser 2002-06-07 3:05 ` Re[2]: " Pavel Tsekov 2002-06-07 4:31 ` Ralf Hauser 2002-06-07 5:08 ` Max Bowsher 2002-06-07 5:09 ` Re[2]: " Pavel Tsekov 2002-06-07 5:20 ` Re[3]: " Pavel Tsekov 2002-06-07 6:04 ` Max Bowsher 2002-06-07 6:40 ` Re[5]: " Pavel Tsekov 2002-06-07 6:48 ` Max Bowsher 2002-06-07 6:58 ` Max Bowsher 2002-06-07 9:13 ` Re[3]: " Robert Collins 2002-06-07 9:17 ` Re[5]: " Pavel Tsekov 2002-06-07 10:37 ` Re[3]: " Max Bowsher 2002-06-08 8:27 ` Robert Collins 2002-06-10 3:31 ` Max Bowsher 2002-06-10 3:49 ` Robert Collins 2002-06-10 5:37 ` Max Bowsher
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).