curl-users
[ curl-Bugs-459903 ] -c causes a development version to crash
Date: Sat, 08 Sep 2001 20:28:08 -0700
Bugs item #459903, was opened at 2001-09-08 20:28
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=459903&group_id=976
Category: http
Group: crash
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: -c causes a development version to crash
Initial Comment:
A development version crashed. Below I show the
command line I used,
and a call stack. Notice that from the call stack it
appears that it is
dereferencing NULL. I'm using:
Linux localhost.localdomain 2.2.16-22 #1 Tue Aug 22
16:49:06 EDT 2000 i686 unknown
~ > 168 localhost% ~/curl_install/bin/curl -c cookies
http://curl.haxx.se/ > out
% Total % Received % Xferd Average Speed
Time Curr.
Dload Upload Total
Current Left Speed
100 8424 0 8424 0 0 3343 0 --:--:--
0:00:02 --:--:-- 3577
Segmentation fault (core dumped)
~ > 169 localhost% ~/curl_install/bin/curl --version
curl 7.9-pre3 (i686-pc-linux-gnu) libcurl 7.9-pre3 (SSL
0.9.5)
#0 Curl_cookie_output (c=0x0, dumphere=0x80680f8
"cookies") at cookie.c:603
603 if(0 == c->numcookies)
(gdb) where
#0 Curl_cookie_output (c=0x0, dumphere=0x80680f8
"cookies") at cookie.c:603
#1 0x4002346a in Curl_close (data=0x8068140) at
url.c:169
#2 0x4002ec88 in curl_easy_cleanup (curl=0x8068140) at
easy.c:239
#3 0x804bd5d in operate (config=0xbffff6d0, argc=4,
argv=0xbffff824)
at main.c:2101
#4 0x804bdc4 in main (argc=4, argv=0xbffff824) at
main.c:2120
#5 0x40141b65 in __libc_start_main (main=0x804bd94
<main>, argc=4,
ubp_av=0xbffff824, init=0x8048db8 <_init>,
fini=0x804d29c <_fini>,
rtld_fini=0x4000df24 <_dl_fini>,
stack_end=0xbffff81c)
at ../sysdeps/generic/libc-start.c:111
(gdb)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=459903&group_id=976
Received on 2001-09-09