Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
Ok.  I will just use the build you sent me.  Its kind of a pet-peeve of mine
to not use the most up-to-date version of a piece of software, and I am not
so advanced in my IT skills (yet) to be able to compile my own Windows
binary of wget, and I certainly don't want to compromise my system, so I
will just make do.  Thank you gentlemen for you assistance in this matter.

-Original Message-
From: Eli Zaretskii [mailto:e...@gnu.org] 
Sent: Sunday, May 14, 2017 11:02 PM
To: William Higgs 
Cc: tim.rueh...@gmx.de; bug-wget@gnu.org; dar...@gmail.com
Subject: Re: [Bug-wget] Wget keeps crashing on me

> From: William Higgs 
> Cc: ,
>   'Jernej Simončič' 
> Date: Sun, 14 May 2017 21:17:02 -0400
> 
> Hey guys.  So while I was doing some research, I found the following 
> post located at
> https://stackoverflow.com/questions/35004832/wget-exe-for-windows-10/3
> 796296
> 5#37962965
> :
> "eternallybored build will crash when you are downloading a large file.
> This can be avoided by disabling LFH (Low Fragmentation Heap) by 
> GlobalFlag registry."

Makes absolutely no sense to me.  LFH is the default heap allocation
strategy on MS-Windows since Vista; disabling it is only justified when
running a program under a debugger.  Disabling LFH globally for your entire
system means you risk running out of heap memory in some memory-intensive
applications, utterly unrelated to wget.

If that particular build of wget crashes when LFH is in use, it most
probably means a subtle memory-allocation bug, which is simply swept under
the carpet by changing the algorithm for heap allocation.  So I would
suggest to simply switch to a different build of wget, instead of
compromising your entire system.

> However, after looking into how to do this, I cannot find an 
> explanation as to how to do this.  Can someone please provide some
assistance?

 
https://support.microsoft.com/en-us/help/929136/why-the-low-fragmentation-he
ap-lfh-mechanism-may-be-disabled-on-some-computers-that-are-running-windows-
server-2003,-windows-xp,-or-windows-2000

But I'm not sure this will work on Windows 10, and I urge you not to do this
in the first place.




Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
Hey guys.  So while I was doing some research, I found the following post
located at
https://stackoverflow.com/questions/35004832/wget-exe-for-windows-10/3796296
5#37962965
:
"eternallybored build will crash when you are downloading a large file.
This can be avoided by disabling LFH (Low Fragmentation Heap) by GlobalFlag
registry."

However, after looking into how to do this, I cannot find an explanation as
to how to do this.  Can someone please provide some assistance?

-Original Message-
From: Tim Rühsen [mailto:tim.rueh...@gmx.de] 
Sent: Sunday, May 14, 2017 3:38 PM
To: bug-wget@gnu.org; Eli Zaretskii 
Cc: whiggs.it...@gmail.com; dar...@gmail.com; Jernej Simončič

Subject: Re: [Bug-wget] Wget keeps crashing on me

On Sonntag, 14. Mai 2017 21:34:22 CEST Eli Zaretskii wrote:
> > From: Tim Rühsen 
> > Cc: William Higgs , 'Darshit Shah'
> > , Eli Zaretskii  Date: Sun, 14 May 2017
> > 20:17:29 +0200
> > 
> > @Eli Mybe you could test latest master without a debugger as well !?
> 
> You mean Jernej, not Eli, right?

Oh, sorry. Yeah, I meant Jernej.

Regards, Tim




Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
But looking at Wget's FAQ page, the source that the binary was obtained from is 
listed in the FAQ as a place to obtain a Windows binary of the wget.  So is 
that no longer applicable?  Do I need to use the 32 bit version instead?

-Original Message-
From: Tim Rühsen [mailto:tim.rueh...@gmx.de] 
Sent: Sunday, May 14, 2017 2:17 PM
To: bug-wget@gnu.org
Cc: William Higgs ; 'Darshit Shah' ; 
Eli Zaretskii 
Subject: Re: [Bug-wget] Wget keeps crashing on me

On Sonntag, 14. Mai 2017 13:21:44 CEST William Higgs wrote:
> Attached is the output from “—version” argument.  Running debug on the 
> commands to see what the issue is now.  Will email results.

Hi William,

just an idea... recently we fixed two issues with idn_free2() that could cause 
crashes. Could you either build without IRI support and test again (does the 
issue still occur ?) or build using the latest git master branch ?

@Eli Mybe you could test latest master without a debugger as well !?

With Best Regards, tim




Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
Also found this when I scrolled down the page a bit:



 

-Original Message-
From: Tim Rühsen [mailto:tim.rueh...@gmx.de] 
Sent: Sunday, May 14, 2017 2:17 PM
To: bug-wget@gnu.org
Cc: William Higgs ; 'Darshit Shah' ; 
Eli Zaretskii 
Subject: Re: [Bug-wget] Wget keeps crashing on me

 

On Sonntag, 14. Mai 2017 13:21:44 CEST William Higgs wrote:

> Attached is the output from “—version” argument.  Running debug on the 

> commands to see what the issue is now.  Will email results.

 

Hi William,

 

just an idea... recently we fixed two issues with idn_free2() that could cause 
crashes. Could you either build without IRI support and test again (does the 
issue still occur ?) or build using the latest git master branch ?

 

@Eli Mybe you could test latest master without a debugger as well !?

 

With Best Regards, tim



Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
Sorry for the delayed reply.  Guardians of the Galaxy 2 with family.  Anyway, I 
will attempt to perform the suggestions mentioned below.  For those who do not 
know, the binary that I am using I obtained using the windows equivalent of the 
linux "apt-get" command, a package manager called chocolatey 
(http://chocolatey.org).  Did this for simplicity.  I don't know if this helps 
get to the bottom of the issue, but this is url for the page containing the 
wget package information (https://chocolatey.org/packages/Wget).  

-Original Message-
From: Tim Rühsen [mailto:tim.rueh...@gmx.de] 
Sent: Sunday, May 14, 2017 2:17 PM
To: bug-wget@gnu.org
Cc: William Higgs ; 'Darshit Shah' ; 
Eli Zaretskii 
Subject: Re: [Bug-wget] Wget keeps crashing on me

On Sonntag, 14. Mai 2017 13:21:44 CEST William Higgs wrote:
> Attached is the output from “—version” argument.  Running debug on the 
> commands to see what the issue is now.  Will email results.

Hi William,

just an idea... recently we fixed two issues with idn_free2() that could cause 
crashes. Could you either build without IRI support and test again (does the 
issue still occur ?) or build using the latest git master branch ?

@Eli Mybe you could test latest master without a debugger as well !?

With Best Regards, tim




[Bug-wget] FW: Wget keeps crashing on me

2017-05-14 Thread William Higgs
In case you missed it the first time

 

From: William Higgs [mailto:whiggs.it...@gmail.com] 
Sent: Sunday, May 14, 2017 1:22 PM
To: 'Darshit Shah' 
Cc: 'Bug-Wget' 
Subject: RE: [Bug-wget] Wget keeps crashing on me

 

Attached is the output from “—version” argument.  Running debug on the commands 
to see what the issue is now.  Will email results.

 

From: Darshit Shah [mailto:dar...@gmail.com] 
Sent: Sunday, May 14, 2017 1:18 PM
To: William Higgs mailto:whiggs.it...@gmail.com> >
Cc: Bug-Wget mailto:bug-wget@gnu.org> >
Subject: Re: [Bug-wget] Wget keeps crashing on me

 

CC'ing the list the response I was sent.

 

On 14 May 2017 at 19:15, William Higgs mailto:whiggs.it...@gmail.com> > wrote:

Well I was able to run the binary that Eli sent me 
(https://sourceforge.net/projects/ezwinports/files/wget-1.16.1-w32-bin.zip/download)
 which ran to completion no issue…

 

From: Darshit Shah [mailto:dar...@gmail.com <mailto:dar...@gmail.com> ] 
Sent: Sunday, May 14, 2017 1:08 PM
To: Eli Zaretskii mailto:e...@gnu.org> >
Cc: William Higgs mailto:whiggs.it...@gmail.com> >; 
Bug-Wget mailto:bug-wget@gnu.org> >
Subject: Re: [Bug-wget] Wget keeps crashing on me

 

Hi William,

I'm not sure what the exact issue here is. But it indeed seems like the issue 
lies somewhere in how your particular binary of Wget was built. I can't 
reproduce the issue on my Linux system, and as Eli says he can't reproduce it 
with his binaries either. Of course, he has linked to a much older version of 
Wget, but if I understand right, he even has newer builds available. 

Anyways, could you please do the following for us:

1. Provide us with the output of `wget -V` so we know what the build was like.

2. Provide us with a debug log (add --debug to your command line) of when Wget 
crashes. This is essential for us to understand what is happening

3. Please ensure that all communication happens publicly on this mailing list. 
Kindly do add (bug-wget@gnu.org <mailto:bug-wget@gnu.org> ) to all your replies.

 

On 14 May 2017 at 18:33, Eli Zaretskii mailto:e...@gnu.org> > 
wrote:

> From: William Higgs mailto:whiggs.it...@gmail.com> >
> Date: Sun, 14 May 2017 12:13:58 -0400
>
> So just to be clear, you want me to use an older release of wget?

No, I'm just saying that the version I built worked without crashing.
You may wish to try it; if it works on your system, it might mean the
problem is not with the OS, but with the wget build you have.




-- 

Thanking You,
Darshit Shah




-- 

Thanking You,
Darshit Shah

GNU Wget 1.19.1 built on mingw32.

-cares +digest -gpgme +https +ipv6 +iri +large-file +metalink -nls 
+ntlm +opie -psl +ssl/openssl 

Wgetrc: 
/win32dev/misc/wget/out64/etc/wgetrc (system)
Compile: 
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC="/win32dev/misc/wget/out64/etc/wgetrc" 
-DLOCALEDIR="/win32dev/misc/wget/out64/share/locale" -I. -I../lib 
-I../lib -I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL 
-I/win32dev/misc/wget/out2/include -DNDEBUG 
Link: 
x86_64-w64-mingw32-gcc -I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL 
-I/win32dev/misc/wget/out2/include -DNDEBUG 
-L/win32dev/misc/wget/out64/lib -lidn2 
-L/win32dev/misc/wget/out64/lib -lmetalink -lunistring -liconv 
-L/win32dev/misc/wget/out64/lib -lssl -lcrypto 
-L/win32dev/misc/wget/out2/lib -lz -lws2_32 ftp-opie.o mswindows.o 
openssl.o http-ntlm.o ../lib/libgnu.a -lws2_32 -lws2_32 -lws2_32 
-lws2_32 /win32dev/misc/wget/out64/lib/libiconv.a 
/win32dev/misc/wget/out64/lib/libunistring.a 
/win32dev/misc/wget/out64/lib/libiconv.a -lws2_32 

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic .
Please send bug reports and questions to .


Re: [Bug-wget] Wget keeps crashing on me

2017-05-14 Thread William Higgs
Attached is the output from “—version” argument.  Running debug on the commands 
to see what the issue is now.  Will email results.

 

From: Darshit Shah [mailto:dar...@gmail.com] 
Sent: Sunday, May 14, 2017 1:18 PM
To: William Higgs 
Cc: Bug-Wget 
Subject: Re: [Bug-wget] Wget keeps crashing on me

 

CC'ing the list the response I was sent.

 

On 14 May 2017 at 19:15, William Higgs mailto:whiggs.it...@gmail.com> > wrote:

Well I was able to run the binary that Eli sent me 
(https://sourceforge.net/projects/ezwinports/files/wget-1.16.1-w32-bin.zip/download)
 which ran to completion no issue…

 

From: Darshit Shah [mailto:dar...@gmail.com <mailto:dar...@gmail.com> ] 
Sent: Sunday, May 14, 2017 1:08 PM
To: Eli Zaretskii mailto:e...@gnu.org> >
Cc: William Higgs mailto:whiggs.it...@gmail.com> >; 
Bug-Wget mailto:bug-wget@gnu.org> >
Subject: Re: [Bug-wget] Wget keeps crashing on me

 

Hi William,

I'm not sure what the exact issue here is. But it indeed seems like the issue 
lies somewhere in how your particular binary of Wget was built. I can't 
reproduce the issue on my Linux system, and as Eli says he can't reproduce it 
with his binaries either. Of course, he has linked to a much older version of 
Wget, but if I understand right, he even has newer builds available. 

Anyways, could you please do the following for us:

1. Provide us with the output of `wget -V` so we know what the build was like.

2. Provide us with a debug log (add --debug to your command line) of when Wget 
crashes. This is essential for us to understand what is happening

3. Please ensure that all communication happens publicly on this mailing list. 
Kindly do add (bug-wget@gnu.org <mailto:bug-wget@gnu.org> ) to all your replies.

 

On 14 May 2017 at 18:33, Eli Zaretskii mailto:e...@gnu.org> > 
wrote:

> From: William Higgs mailto:whiggs.it...@gmail.com> >
> Date: Sun, 14 May 2017 12:13:58 -0400
>
> So just to be clear, you want me to use an older release of wget?

No, I'm just saying that the version I built worked without crashing.
You may wish to try it; if it works on your system, it might mean the
problem is not with the OS, but with the wget build you have.




-- 

Thanking You,
Darshit Shah




-- 

Thanking You,
Darshit Shah

GNU Wget 1.19.1 built on mingw32.

-cares +digest -gpgme +https +ipv6 +iri +large-file +metalink -nls 
+ntlm +opie -psl +ssl/openssl 

Wgetrc: 
/win32dev/misc/wget/out64/etc/wgetrc (system)
Compile: 
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC="/win32dev/misc/wget/out64/etc/wgetrc" 
-DLOCALEDIR="/win32dev/misc/wget/out64/share/locale" -I. -I../lib 
-I../lib -I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL 
-I/win32dev/misc/wget/out2/include -DNDEBUG 
Link: 
x86_64-w64-mingw32-gcc -I/win32dev/misc/wget/out64/include 
-I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL 
-I/win32dev/misc/wget/out2/include -DNDEBUG 
-L/win32dev/misc/wget/out64/lib -lidn2 
-L/win32dev/misc/wget/out64/lib -lmetalink -lunistring -liconv 
-L/win32dev/misc/wget/out64/lib -lssl -lcrypto 
-L/win32dev/misc/wget/out2/lib -lz -lws2_32 ftp-opie.o mswindows.o 
openssl.o http-ntlm.o ../lib/libgnu.a -lws2_32 -lws2_32 -lws2_32 
-lws2_32 /win32dev/misc/wget/out64/lib/libiconv.a 
/win32dev/misc/wget/out64/lib/libunistring.a 
/win32dev/misc/wget/out64/lib/libiconv.a -lws2_32 

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic .
Please send bug reports and questions to .


[Bug-wget] Wget keeps crashing on me

2017-05-13 Thread William Higgs
Hello Wget developers,

So this may have nothing to do with wget (probably very likely, as Windows
10 creators update continues to be a very large thorn in my side), but wget
keeps crashing when I run the attached bat file (converted to txt).  I saved
the event logs associated with the crash, but again, it looks more like an
os issue than wget.  Still, wanted to get your opinion on the matter.  Also,
thanks for the awesome, quality, free software.

 

 

 

ÿþ==================================================

Event Time        : 5/13/2017 9:40:11 
AM.447

Record ID         : 4294

Event ID          : 1000

Level             : Error

Channel           : Application

Provider          : Application Error

Description       : Faulting 
application name: wget.exe, version: 
0.0.0.0, time stamp: 0x003cc610

Faulting module name: ntdll.dll, 
version: 10.0.15063.0, time stamp: 
0xb79b6ddb

Exception code: 0xc0000374

Fault offset: 0x00000000000f775f

Faulting process id: 0x3aa0

Faulting application start time: 
0x01d2cbec2ba6c73d

Faulting application path: 
C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe

Faulting module path: 
C:\Windows\SYSTEM32\ntdll.dll

Report Id: 
a0b6008a-375a-4b5b-86f3-d9e48a9b0ce0

Faulting package full name: 

Faulting package-relative application 
ID: 

Opcode            : 

Task              : Application 
Crashing Events (100)

Keywords          : Classic

Process ID        : 

Thread ID         : 

Computer          : laptop.higgsw.local

User              : 

==================================================



ÿþ==================================================

Event Time        : 5/13/2017 1:01:14 
PM.137

Record ID         : 4334

Event ID          : 1000

Level             : Error

Channel           : Application

Provider          : Application Error

Description       : Faulting 
application name: wget.exe, version: 
0.0.0.0, time stamp: 0x003cc610

Faulting module name: ntdll.dll, 
version: 10.0.15063.0, time stamp: 
0xb79b6ddb

Exception code: 0xc0000374

Fault offset: 0x00000000000f775f

Faulting process id: 0x3a2c

Faulting application start time: 
0x01d2cc098c9cc47a

Faulting application path: 
C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe

Faulting module path: 
C:\Windows\SYSTEM32\ntdll.dll

Report Id: 
9f9b9729-78e8-45e1-bb72-43d744afc1f5

Faulting package full name: 

Faulting package-relative application 
ID: 

Opcode            : 

Task              : Application 
Crashing Events (100)

Keywords          : Classic

Process ID        : 

Thread ID         : 

Computer          : laptop.higgsw.local

User              : 

==================================================



wget http://www.pazera-software.com/ -m -P C:\temp -A zip,exe -X files/old/
wget http://www.donationcoder.com/ -m -P C:\temp -A zip,exe