Hello,

this bug is still occurring:

[EMAIL PROTECTED]:~$ dpkg -l *curl* | grep curl | grep ii
ii  curl                                 7.18.2-6                    Get a file 
from an HTTP, HTTPS or FTP server
ii  libcurl3                             7.18.2-6                    
Multi-protocol file transfer library (OpenSS
ii  libcurl3-gnutls                      7.18.2-6                    
Multi-protocol file transfer library (GnuTLS
ii  libcurl4-openssl                     7.16.2-4                    
Multi-protocol file transfer library (SSL/Op
ii  libcurl4-openssl-dev                 7.18.2-6                    
Development files and documentation for libc

[EMAIL PROTECTED]:/tmp$ curl www.php.net
curl: (6) Could not resolve host: www.php.net (DNS server returned answer with 
no data)

[EMAIL PROTECTED]:/tmp$ wget www.php.net
--2008-07-12 23:03:30--  http://www.php.net/
Resolving www.php.net... 69.147.83.197
Connecting to www.php.net|69.147.83.197|:80... connected.
...

[EMAIL PROTECTED]:/tmp$ strace curl www.php.net
execve("/usr/bin/curl", ["curl", "www.php.net"], [/* 36 vars */]) = 0
brk(0)                                  = 0x1f20000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f26f340e000
...
...
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("217.13.7.140")}, 16) = 0
sendto(3, "\30\336\1\0\0\1\0\0\0\0\0\0\3www\3php\3net\0\0\34\0\1", 29, 
MSG_NOSIGNAL, NULL, 0) = 29
poll([{fd=3, events=POLLIN}], 1, 0)     = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(3, "\30\336\201\200\0\1\0\1\0\1\0\0\3www\3php\3net\0\0\34\0"..., 513, 
0, NULL, NULL) = 103
close(3)                                = 0
recvfrom(-1, 0x7ffffb40ec30, 513, 0, 0, 0) = -1 EBADF (Bad file descriptor)
write(2, "c", 1c)                        = 1

strace with wget:

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("217.13.7.140")}, 28) = 0
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(3, "\24_\1\0\0\1\0\0\0\0\0\0\3www\3php\3net\0\0\34\0\1", 29, 
MSG_NOSIGNAL, NULL, 0) = 29
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [103])               = 0
recvfrom(3, "\24_\201\200\0\1\0\1\0\1\0\0\3www\3php\3net\0\0\34\0\1"..., 1024, 
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("217.13.7.140")}, 
[16]) = 103
close(3)                                = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=94, ...}) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("217.13.7.140")}, 28) = 0
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(3, "\t\272\1\0\0\1\0\0\0\0\0\0\3www\3php\3net\0\0\1\0\1", 29, 
MSG_NOSIGNAL, NULL, 0) = 29
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [217])               = 0
recvfrom(3, "\t\272\201\200\0\1\0\2\0\4\0\4\3www\3php\3net\0\0\1\0\1"..., 1024, 
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("217.13.7.140")}, 
[16]) = 217
close(3)                                = 0


-- 
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to