Re: [squid-users] COSS causing squid Segment Violation on FreeBSD 6.2S

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 26 Apr 2007 21:12:39 +0800

On Thu, Apr 26, 2007, Adrian Chadd wrote:

> > #1 0x080ed46d in storeCossCompletePendingReloc (fd=21, my_data=0x8d39290,
> > buf=0x11546038 "", aio_return=290742328, aio_errno=290742328) at
> > coss/store_io_coss.c:1160

should've looked at that. aio_return and aio_errno are strangely weird values.
r_len is assigned the value of aio_return and p is a non-NULL pointer (from your
next reply.)

> > #2 0x080e729f in aioCheckCallbacks (SD=0x82bb000) at aufs/async_io.c:319

can you please do:

frame 2
print *ctrlp ?

Adrian

> > #3 0x080c97b2 in storeDirCallback () at store_dir.c:508
> > #4 0x0807b710 in comm_select (msec=10) at comm_generic.c:377
> > #5 0x080a568a in main (argc=2, argv=0xbfbfeb88) at main.c:837
> > (gdb) frame 1
> > #1 0x080ed46d in storeCossCompletePendingReloc (fd=21, my_data=0x8d39290,
> > buf=0x11546038 "", aio_return=290742328, aio_errno=290742328) at
> > coss/store_io_coss.c:1160
> > 1160 xmemcpy(p, buf, len);
> > (gdb) print *op
> > $1 = {type = COSS_OP_NONE, node = {data = 0x0, prev = 0x0, next = 0x0},
> > pending_op_node = {data = 0x0, prev = 0x0, next = 0x0}, sio = 0x0,
> > requestlen = 0, requestoffset = 0, reqdiskoffset = 0, requestbuf = 0x0,
> > completed = 0 '\0', pr = 0x0}
>
> > (gdb) print * ((CossPendingReloc *) pr)
>
> oops, try changing pr for my_data; and print p, print len.
>
>
>
> adrian
>
>
> > No symbol "pr" in current context.
> > (gdb)
> >
> > Still can't look at pr :(
> > Cheers.
> >
> > > Cheers.
> > >
> > >>
> > >>
> > >>
> > >>
> > >>Adrian
> > >>
> > >>
> > >
> > >
> >
> > --
> > Mark Powell - UNIX System Administrator - The University of Salford
> > Information Services Division, Clifford Whitworth Building,
> > Salford University, Manchester, M5 4WT, UK.
> > Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key
>
> --
> - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
> - $25/pm entry-level bandwidth-capped VPSes available in WA -

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level bandwidth-capped VPSes available in WA -
Received on Thu Apr 26 2007 - 06:59:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT