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:

> 1   breakpoint     keep y   0x080ed3e1 in storeCossCompletePendingReloc at 
> coss/store_io_coss.c:1149
> (gdb) run

Cool.

> Starting program: /usr/local/sbin/squid -YND
> warning: Unable to get location for thread creation breakpoint: generic 
> error
> [New LWP 100198]
> [New Thread 0x829d000 (LWP 100151)]
> 
> Program received signal SIGSEGV, Segmentation fault.

Hm, it didn't set the breakpoint right. Try running gdb from ports (version 5.xx)
rather than the base one.

> [Switching to Thread 0x829d000 (LWP 100167)]
> 0x88278c07 in memcpy () from /lib/libc.so.6
> (gdb) print *op
> No symbol "op" in current context.
> (gdb) print *pr
> No symbol "pr" in current context.
> (gdb) bt
> #0  0x88278c07 in memcpy () from /lib/libc.so.6
> #1  0x080ed46d in storeCossCompletePendingReloc (fd=21, my_data=0x8d73150, 

You're in the wrong frame here, but at least the BT looks right.
Try "frame 1", then print *op and print *pr.



adrian


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

  Powered by Linux