Crash in HTHost.c

Hi:

I was having the following crash in HTHost.c while doing a HEAD on a file. The logs are attached. 

Does anybody know what could be the reason for this. If I look at HTHost.c, line 1125 (as seen in the log), it seems to be next to the HTChannel_delete call.

Thanks,

- Himanshu


==============================================================================================

Request..... Created 0x11edb810

Net After... Add 0x100057ac with order 65535 tmplate `<null>' code 1 context 0x7e1fcf64

Find Parent. 0x11edb930 with hash 245 and address `http://192.168.184.51/ToDelEnt07YouMay.wav' created

HTAccess.... Accessing document http://192.168.184.51/ToDelEnt07YouMay.wav

Net Before.. calling 0x10036780 (request 0x11edb810, context (nil))

Cachefilter. Checking persistent cache

Cachefilter. We only check GET methods

Net Before.. calling 0x1000ccac (request 0x11edb810, context (nil))

Net Before.. calling 0x100231d8 (request 0x11edb810, context (nil))

URL Tree.... did NOT find `w3c-pep'

Net Before.. calling 0x1000d48c (request 0x11edb810, context (nil))

URL Tree.... did NOT find `w3c-AA'

Credentials. verified

Net Before.. calling 0x1000cdc0 (request 0x11edb810, context (nil))

Net Object.. 0x11edbbc8 created with hash 1

Net Object.. starting request 0x11edb810 (retry=1) with net object 0x11edbbc8

HTTP........ Looking for `http://192.168.184.51/ToDelEnt07YouMay.wav'

HTHost parse Looking up `192.168.184.51' on port 80

Event....... Created event 0x11edbd20 with context 0x11edbc58, priority 20, and timeout -1

Event....... Created event 0x11edbd38 with context 0x11edbc58, priority 20, and timeout -1

Event....... Created event 0x11edbd50 with context 0x11edbc58, priority 20, and timeout -1

Host info... added `192.168.184.51' with host 0x11edbc58 to list 0x11edbc48

Host connect Grabbing lock on Host 0x11edbc58 with 0x11edbbc8

Host info... Added Net 0x11edbbc8 (request 0x11edb810) to pipe on Host 0x11edbc58, 1 requests made, 1 requests in pipe, 0 pending

HTHost...... No ActivateRequest callback handler registered

HTHost 0x11edbc58 going to state TCP_CHANNEL.

HTHost 0x11edbc58 going to state TCP_DNS.

ParseInet... as port 80 on 192.168.184.51 with 1 homes

HTHost 0x11edbc58 going to state TCP_NEED_SOCKET.

Socket...... Created 9

Net Manager. Increasing active sockets to 1, 0 persistent sockets

Socket...... Turned off Nagle's algorithm

Socket...... Non-blocking socket

Channel..... Hash value is 9

Channel..... Added 0x11edbe98 to list 0x11edbe88

Reader...... Created reader stream 0x11edbed8

Socket...... TCP send buffer size is 16384 for socket 9

Contacting 192.168.184.51

HTHost 0x11edbc58 going to state TCP_NEED_CONNECT.

HTDoConnect. WOULD BLOCK `192.168.184.51'

Host Event.. WRITE passed to `http://192.168.184.51/ToDelEnt07YouMay.wav'

HTHost 0x11edbc58 going to state TCP_CONNECTED.

HTHost 0x11edbc58 connected.

Host connect Unlocking Host 0x11edbc58

StreamStack. Constructing stream stack for text/x-http to www/present

Tee......... Created stream 0x11ee8170 with resolver 0x1003b1dc

HTTP........ Dumping response to `w3chttp.out'

Tee......... Created stream 0x11ee8198 with resolver 0x1003b1dc

HTTP........ Dumping request to `w3chttp.out'

HTTP........ Generating HTTP/1.x Request Headers

HTTP........ Generating General Headers

Buffer...... Flushing 0x11ee3ef8

Write Socket 159 bytes written to 9

Read Socket. WOULD BLOCK fd 9

Host Event.. READ passed to `http://192.168.184.51/ToDelEnt07YouMay.wav'

Read Socket. 402 bytes read from socket 9

Reading...

Response.... Created 0x11ee8288

Host info... New mode is 1 for host 0x11edbc58

Net Manager. 1 active sockets, increasing persistent sockets to 1

Host info... added host 0x11edbc58 as persistent

Net Object.. Persistent connection set ON succeeded

HTAnchor.... Clear all header information

StreamStack. Constructing stream stack for message/rfc822 to www/present

Error....... Add 2 Severity: 8 Parameter: `OK' Where: `HTTPNextState'

Host........ passing 17 bytes as consumed to 0x11edbed8

Host........ 385 bytes remaining 

MIME header. Date: Tue, 24 Jun 2003 18:38:26 GMT

MIME header. Date: Tue, 24 Jun 2003 18:38:26 GMT

MIME header. Server: Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01

MIME header. Server: Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01

MIME header. Cache-Control: max-age=600

MIME header. Cache-Control: max-age=600

MIME header. Last-Modified: Tue, 27 Aug 2002 20:20:44 GMT

MIME header. Last-Modified: Tue, 27 Aug 2002 20:20:44 GMT

MIME header. ETag: "13002c-f4b2-3d6bdf1c"

MIME header. ETag: "13002c-f4b2-3d6bdf1c"

MIME header. Accept-Ranges: bytes

MIME header. Accept-Ranges: bytes

MIME header. Content-Length: 62642

MIME header. Content-Length: 62642

MIME header. Keep-Alive: timeout=15, max=100

MIME header. Keep-Alive: timeout=15, max=100

MIMEParser.. Timeout after 15 secs

MIMEParser.. Max 100 requests pr connection

MIME header. Connection: Keep-Alive

MIME header. Connection: Keep-Alive

MIMEParser.. HTTP/1.0 Keep Alive ignored

MIME header. Content-Type: audio/x-wav

MIME header. Content-Type: audio/x-wav

HTAnchor.... Updating metainformation for 0x11edb930

Done!

Host........ passing 385 bytes as consumed to 0x11edbed8

Host........ 0 bytes remaining 

Done!

Read Socket. Target returns 200

HTTP Clean.. Called with status 200, net 0x11edbbc8

Net Object.. Delete 0x11edbbc8 and call AFTER filters

Host info... Remove 0x11edbbc8 from pipe

Host Object. keeping persistent socket 9

Channel..... Delete 0x11edbe98 with semaphore 1, status 200

Channel..... Delete input stream 0x11edbed8 from channel 0x11edbe98

MIME........ FREEING....

Channel..... Delete input stream 0x11edbed8 from channel 0x11edbe98

Channel..... Semaphore decreased to 0 for channel 0x11edbe98

Host Event.. READ passed to `http://192.168.184.51/ToDelEnt07YouMay.wav'

Error....... Add 59 Severity: 1 Parameter: `Unspecified' Where: `HTLoadHTTP'

HTTP Clean.. Called with status -902, net 0x11edbbc8

Interrupted!

Net Object.. Delete 0x11edbbc8 and call AFTER filters

Host info... Remove 0x11edbbc8 from pipe

Host Object. keeping persistent socket 9

Channel..... Delete 0x11edbe98 with semaphore 0, status -902

Channel..... Delete input stream 0x11edbed8 from channel 0x11edbe98

Channel..... Delete input stream 0x11edbed8 from channel 0x11edbe98

Buffer...... ABORTING...

Socket read. FREEING....

Socket write FREEING....

Net Manager. Decreasing active sockets to 0, 1 persistent sockets

Channel..... Deleted 0x11edbe98, socket 9

HTHost.c:1125 Segmentation fault

Received on Tuesday, 24 June 2003 21:18:26 UTC