Re: [squid-users] Squid crashes, but generates no core file

From: Henrik Nordstrom <[email protected]>
Date: Mon, 18 Apr 2005 21:45:39 +0200 (CEST)

On Mon, 18 Apr 2005, Ralf Hildebrandt wrote:

> Ran squid in gdb again:
>
> (gdb) set args -NsYC
> (gdb) handle SIGPIPE pass nostop noprint
> Signal Stop Print Pass to program Description
> SIGPIPE No No Yes Broken pipe

Ah, you read the FAQ again?

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1209899488 (LWP 3808)]
> storeOffset (sio=0x0) at store_io.c:102
> 102 return sio->offset;
> (gdb) bt
> #0 storeOffset (sio=0x0) at store_io.c:102
> #1 0x080b3398 in storeClientCopy2 (e=0xee60610, sc=0xee60610) at store_client.c:255
> #2 0x08065530 in clientWriteComplete (fd=67, bufnotused=0x0, size=4096, errflag=0, data=0xf7838b0) at client_side.c:2258
> #3 0x08068a8a in CommWriteStateCallbackAndFree (fd=67, code=0) at comm.c:99
> #4 0x0806b887 in comm_poll (msec=10) at comm_select.c:459
> #5 0x0809497a in main (argc=0, argv=0x1) at main.c:760

This looks familiar.. fixed another similar problem not long ago.

Please file a bug report on this issue. Have a patch ready for you.

Regards
Henrik
Received on Mon Apr 18 2005 - 13:45:42 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT