cURL / Mailing Lists / curl-library / Single Mail


An issue about tclcurl curl::transfer -infile

From: Lisa Xu <>
Date: Wed, 29 Jul 2009 07:47:47 +0800

I met a system error "Unhandled exception at 0x7c91b21a in tcl.exe:
0xC0000005: Access violation writing location 0x00000010." when I use
tclcurl to upload a file to ftp server on windows XP.

My tclcurl version is 7.16.2, my libcurl version is 7.19.3.

The tcl script I used is:
curl::transfer -url -userpwd
"user:password" -upload 1 -infile test.dat -errorbuffer buffer -verbose 1

I think the error is due to the option "-infile test.dat". When I use this
option, the program will break at C:\Program Files\Microsoft Visual Studio
9.0\VC\crt\src\_file.c\_lock_file()-->EnterCriticalSection( &(((_FILEX
*)pf)->lock) )

Does someone has any idea about this issue?


Lisa Xu
Received on 2009-07-29