Re: [squid-users] Squid 3.x and wccp2_router crash

From: Don Brearley <donbrearley_at_hibbing.edu>
Date: Wed, 18 Dec 2013 21:18:56 -0600

>> Can I provide any more information to help address this?
>>
>
>Can you please start Squid under a debugger and get a full stack trace
>with symbol names?
>
>We need to know where the address converion is being attempted from in
>order to make any progress on a fix.
>
>Amos

Hi Amos,

I hope you find the following to be useful....

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...

(gdb) run -NYCd3
Starting program: /usr/sbin/squid -NYCd3
[New LWP 100109]
[New Thread 803407400 (LWP 100109/squid)]
2013/12/18 21:14:57| Starting Squid Cache version 3.2.13 for amd64-unknown-freebsd9.2...
2013/12/18 21:14:57| Process ID 132
2013/12/18 21:14:57| Process Roles: master worker
2013/12/18 21:14:57| With 11095 file descriptors available
2013/12/18 21:14:57| Initializing IP Cache...
2013/12/18 21:14:57| DNS Socket created at [::], FD 4
2013/12/18 21:14:57| DNS Socket created at 0.0.0.0, FD 5
2013/12/18 21:14:57| Adding domain XXXX from /etc/resolv.conf
2013/12/18 21:14:57| Adding nameserver XXXX from /etc/resolv.conf
2013/12/18 21:14:57| Adding nameserver XXXX from /etc/resolv.conf
2013/12/18 21:14:57| Logfile: opening log /var/log/squid/access_log
2013/12/18 21:14:57| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access_log'
2013/12/18 21:14:57| WARNING: no_suid: setuid(0): (1) Operation not permitted
2013/12/18 21:14:58| Unlinkd pipe opened on FD 10
2013/12/18 21:14:58| Store logging disabled
2013/12/18 21:14:58| Swap maxSize 1048576 + 262144 KB, estimated 100824 objects
2013/12/18 21:14:58| Target number of buckets: 5041
2013/12/18 21:14:58| Using 8192 Store buckets
2013/12/18 21:14:58| Max Mem size: 262144 KB
2013/12/18 21:14:58| Max Swap size: 1048576 KB
2013/12/18 21:14:58| Rebuilding storage in /cache (dirty log)
2013/12/18 21:14:58| Using Least Load store dir selection
2013/12/18 21:14:58| Set Current Directory to /usr/var/cache/squid
2013/12/18 21:14:58| Loaded Icons.
2013/12/18 21:14:58| Accepting WCCPv2 messages on port 2048, FD 13.
2013/12/18 21:14:58| Initialising all WCCPv2 lists
2013/12/18 21:14:58| HTCP Disabled.
2013/12/18 21:14:58| Squid plugin modules loaded: 0
2013/12/18 21:14:58| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 14 flags=9
2013/12/18 21:14:58| Done reading /cache swaplog (0 entries)
2013/12/18 21:14:58| Store rebuilding is 0.00% complete
2013/12/18 21:14:58| Finished rebuilding storage from disk.
2013/12/18 21:14:58| 0 Entries scanned
2013/12/18 21:14:58| 0 Invalid entries.
2013/12/18 21:14:58| 0 With invalid flags.
2013/12/18 21:14:58| 0 Objects loaded.
2013/12/18 21:14:58| 0 Objects expired.
2013/12/18 21:14:58| 0 Objects cancelled.
2013/12/18 21:14:58| 0 Duplicate URLs purged.
2013/12/18 21:14:58| 0 Swapfile clashes avoided.
2013/12/18 21:14:58| Took 0.02 seconds ( 0.00 objects/sec).
2013/12/18 21:14:58| Beginning Validation Procedure
2013/12/18 21:14:58| Completed Validation Procedure
2013/12/18 21:14:58| Validated 0 Entries
2013/12/18 21:14:58| store_swap_size = 0.00 KB
2013/12/18 21:14:59| storeLateRelease: released 0 objects
2013/12/18 21:14:59| Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from [::]
Assertion failed: (false), function GetSockAddr, file Address.cc, line 966.

Program received signal SIGABRT, Aborted.
[Switching to Thread 803407400 (LWP 100109/squid)]
0x0000000802cb923c in thr_kill () from /lib/libc.so.7

(gdb) backtrace
#0 0x0000000802cb923c in thr_kill () from /lib/libc.so.7
#1 0x0000000802d5d63b in abort () from /lib/libc.so.7
#2 0x0000000802d40d35 in __assert () from /lib/libc.so.7
#3 0x0000000000679bc7 in Ip::Address::GetSockAddr (this=0x7ffffffe7e80,
    buf=@0x7ffffffe7eb0) at Address.cc:966
#4 0x00000000005ff0c7 in wccp2HandleUdp (sock=13,
    not_used=) at wccp2.cc:1191
#5 0x00000000006d93c8 in Comm::DoSelect (msec=1000) at ModPoll.cc:504
#6 0x0000000000673c7d in CommSelectEngine::checkEvents (
    this=, timeout=1000) at comm.cc:2068
#7 0x000000000051f50c in EventLoop::checkEngine (this=0x7fffffffda70,
    engine=0x7fffffffdaf0, primary=) at EventLoop.cc:51
#8 0x000000000051f725 in EventLoop::runOnce (this=0x7fffffffda70)
    at EventLoop.cc:125
#9 0x000000000051f8e8 in EventLoop::run (this=0x7fffffffda70)
    at EventLoop.cc:95
#10 0x0000000000594273 in SquidMain (argc=2, argv=)
    at main.cc:1501
#11 0x00000000005945d8 in SquidMainSafe (argc=,
    argv=) at main.cc:1216
#12 0x00000000004b4601 in _start ()
#13 0x00000008009ca000 in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb)

I hope this helps! Let me know if there's anything else I can provide...

- Don
Received on Thu Dec 19 2013 - 03:20:55 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 19 2013 - 12:00:05 MST