RE: [squid-users] squid 2.5.STABLE4 + FreeBSD 5.x = crash after a while...

From: Evren Yurtesen <eyurtese@dont-contact.us>
Date: Tue, 10 Feb 2004 13:53:38 +0200 (EET)

On Tue, 10 Feb 2004, Henrik Nordstrom wrote:

> On Tue, 10 Feb 2004, Evren Yurtesen wrote:
>
> > Yes, my squid has debug symbols. I checked that from the FAQ already.
>
> Can GDB understand the debug information?
>
> gdb squid
>
> list main
>
> Regards
> Henrik
>

From the freebsd 5.2 machine

proxy:/usr/local/squid/sbin#gdb squid
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-undermydesk-freebsd"...
(gdb) list
588 int errcount = 0;
589 int n; /* # of GC'd objects */
590 int loop_delay;
591 mode_t oldmask;
592 #if defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_)
593 int WIN32_init_err;
594 #endif
595
596 #if HAVE_SBRK
597 sbrk_start = sbrk(0);
(gdb)

from he freebsd 4.9 machine

adsl:/usr/local/squid/sbin#gdb squid
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 933 in fill_symbuf

(gdb) list
578 eventAdd("start_announce", start_announce, NULL,
3600.0, 1);
579 eventAdd("ipcache_purgelru", ipcache_purgelru, NULL, 10.0,
1);
580 eventAdd("fqdncache_purgelru", fqdncache_purgelru, NULL,
15.0, 1);
581 }
582 configured_once = 1;
583 }
584
585 int
586 main(int argc, char **argv)
587 {
(gdb)
Received on Tue Feb 10 2004 - 04:53:43 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST