- From: Will Sargent <wsargent@best.com>
- Date: Sat, 03 Jul 1999 10:07:46 -0700
- To: www-lib@w3.org
- Message-Id: <3.0.5.32.19990703100746.008443e0@shell3.ba.best.com>
Hi,
I've been fiddling with the HTMLParser, and I came across an access violation
when accessing slashdot.org. I've included as much information as I can,
including stacktrace and logs, but I'm really not sure what is happening here.
The program broke here, and me->orig_output_stream was 0xdddddddd.
if (me) {
HTTRACE(CORE_TRACE, "Request..... Delete %p\n" _ me);
if (me->net) HTNet_setRequest(me->net, NULL);
/* Should we delete the output stream? */
if (me->orig_output_stream) {
HTTRACE(CORE_TRACE, "Request..... Deleting dangling output stream\n");
-> (*me->orig_output_stream->isa->_free)(me->orig_output_stream);
me->orig_output_stream = NULL;
HTNoFreeStream_delete(me->output_stream);
me->output_stream = NULL;
}
I might have done something wrong in terminating the request -- here's the
callback terminator...
int CHTMLParser::terminate_handler (HTRequest * request, HTResponse * response,
void * param, int status)
{
/* We are done with this request */
HTRequest_delete(request);
return 0;
}
Will.
Attachments
- text/plain attachment: stack.txt
- text/plain attachment: log.txt
- text/plain attachment: locals.txt
Received on Saturday, 3 July 1999 13:09:46 UTC