curl-users
RE: Access Violation with curl 7.4.2 under windows nt4 with confi g file and -v
Date: Wed, 15 Nov 2000 21:03:29 +0100
Hi,
I can confirm this behaviour except curl-7.4.2 crashes for me on Win2k no
matter what I put in config.txt (-v by itself crashes, as does -s by
itself).
Maybe the entire -K handling has been corrupted?
Could someone please check if similar errors occur on non-Win systems, too?
Cheers,
Jörn
> -----Original Message-----
> From: Kevin P Roth [mailto:KPRoth_at_MarathonOil.com]
> Sent: Wednesday, November 15, 2000 7:49 PM
> To: curl-bug_at_haxx.se
> Subject: Access Violation with curl 7.4.2 under windows nt4
> with config
> file and -v
>
>
> When attempting to use curl 7.4.2 with a config file
> containing a -v on the last line, I get an Unhandled
> Exception runtime error that contains this error:
> 0xC0000005:Access Violation.
>
> I'm running curl like this:
> > curl.exe -K config.txt http://testweb/
>
> Here's my curl version string: curl 7.4.2 (win32) libcurl
> 7.4.2 (SSL 0.9.6)
>
> config.txt contains:
> ------- file begins here ------
> -s
> -S
> -B
> -v
> ------- file ends here ------
>
> When I allowed my C++ debugger to trap the access violation,
> I got a bunch of machine code; here's a small section
> surrounding the line that caused the error, which was 0040366B (mov):
>
> 0040365F add esp,20h
> 00403662 cmp byte ptr [ebp-1101h],0
> 00403669 jne 00403694
> 0040366B mov al,byte ptr [ebx]
> 0040366D cmp al,2Dh
> 0040366F je 00403690
> 00403671 mov edx,dword ptr [ebp+0Ch]
> 00403674 mov eax,dword ptr [edx+60h]
> 00403677 test eax,eax
> 00403679 je 00403687
> 0040367B add esp,0FFFFFFF4h
> 0040367E push eax
> 0040367F call 004236F8
>
> And here's the call stack:
> CURL! 0040366b()
> CURL! 0040313d()
> CURL! 00403bf3()
> CURL! 004011c1()
> CURL! 004011eb()
> KERNEL32! BaseProcessStart_at_4 + 64 bytes
>
>
> Moving -v to the beginning of the file fixes the problem, so
> it's not fatal - but curl 7.4.1 didn't exhibit this behavior.
>
> --Kevin
>
Received on 2000-11-15