- From: Jesse Rendleman <jesse@cybersource.com>
- Date: Tue, 04 Feb 1997 14:00:15 -0800
- To: www-lib-bugs@w3.org
This simple modification of libwww_4.c core dumps when trying to do the second HTLoadToFile. #include "WWWLib.h" #include "WWWInit.h" int main (int argc, char ** argv) { HTRequest * request; HTProfile_newPreemptiveClient("TestApp", "1.0"); request = HTRequest_new(); HTLoadToFile("http://melchior.software.net", request, "f1"); HTRequest_delete(request); /* Delete the request object */ HTProfile_delete(); HTProfile_newPreemptiveClient("TestApp", "1.0"); request = HTRequest_new(); HTLoadToFile("http://melchior.software.net", request, "f2"); HTRequest_delete(request); /* Delete the request object */ HTProfile_delete(); return 0; } (gdb) bt #0 HTStreamStack (rep_in=0x75340, rep_out=0x753c0, output_stream=0x79c98, request=0x77e60, guess=1) at HTFormat.c:476 #1 0x3e914 in HTLoadHTTP (soc=504736, request=0x77e60, ops=0) at HTTP.c:809 #2 0x2932c in HTNet_newClient (request=0x77e60) at HTNet.c:686 #3 0x1fbb8 in HTLoad (me=0x77e60, recursive=0 '\000') at HTReqMan.c:1513 #4 0x1bca8 in launch_request (request=0x77e60, recursive=0 '\000') at HTAccess.c:75 #5 0x1bcf0 in HTLoadAbsolute (url=0x77e60 "", request=0x77e60) at HTAccess.c:88 #6 0x1bef8 in HTLoadToFile (url=0x53c38 "http://melchior.software.net", request=0x77e60, filename=0x53c58 "-") at HTAccess.c:170 #7 0x1bc3c in main (argc=491104, argv=0xeffffce4) at libapp_4.c:19 Before I dive into it, has anyone seen and fixed this already? thanks,
Received on Tuesday, 4 February 1997 17:08:06 UTC