W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Possible bug in HTRequest_delete?

From: Will Sargent <wsargent@best.com>
Date: Sat, 03 Jul 1999 10:07:46 -0700
Message-Id: <>
To: www-lib@w3.org

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;
	    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 */
	return 0;


Received on Saturday, 3 July 1999 13:09:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:51 UTC