Search squid archive

Re: COSS causing squid Segment Violation on FreeBSD 6.2S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 26, 2007, Mark Powell wrote:
> On Thu, 26 Apr 2007, Mark Powell wrote:
> >Will try again in base gdb as that seemed to give more info? Or at least 
> >the 'bt' was completely different.
> 
> Back on base gdb:
> 
> (gdb) run -YND
> Starting program: /usr/local/sbin/squid -YND
> warning: Unable to get location for thread creation breakpoint: generic 
> error
> [New LWP 100150]
> [New Thread 0x829d000 (LWP 100151)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x829d000 (LWP 100199)]
> 0x88278c07 in memcpy () from /lib/libc.so.6
> (gdb) bt
> #0  0x88278c07 in memcpy () from /lib/libc.so.6
> #1  0x080ed46d in storeCossCompletePendingReloc (fd=21, my_data=0x8d39290, 
> buf=0x11546038 "", aio_return=290742328, aio_errno=290742328) at 
> coss/store_io_coss.c:1160
> #2  0x080e729f in aioCheckCallbacks (SD=0x82bb000) at aufs/async_io.c:319
> #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 -

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux