[squid-users] Squid crashes with 3.5.1

Prashanth Prabhu prashanth.prabhu at gmail.com
Fri May 8 07:29:34 UTC 2015


Hi Amos,

> <http://bugs.squid-cache.org/show_bug.cgi?id=3775> IIRC.

I patched in the bug fix -- I assume the patch file listed in the bug
report is the most current? -- but it didn't help. I saw the same
crash in a couple of patched systems. The stack trace is pasted below.

As I pointed out in my earlier email, the crash occurs with c-icap
connections, whereas the fix appears to have been targeted at SSL
connections. Sounds to me like this must be a different issue
altogether. Are there any other fixes that may resolve this issue?

Thanks.
Prashanth

Stack trace.
----
pprabhu:~$ gdb /usr/local/sbin/squid core-squid-30399-1431062067
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/sbin/squid...done.
[New LWP 30399]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/sbin/squid -N -f /etc/squid/squid.conf -D'.
Program terminated with signal 6, Aborted.
#0  0x00007f0f381e50d5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f0f381e50d5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f0f381e883b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000058174f in xassert (
    msg=0x899548 "fd_table[conn->fd].halfClosedReader != NULL",
    file=0x8993bf "Read.cc", line=69) at debug.cc:544
#3  0x0000000000797410 in comm_read_base (conn=..., buf=0x1578380 "",
    size=65535, callback=...) at Read.cc:69
#4  0x000000000080f1b9 in comm_read (callback=..., len=65535,
    buf=0x1578380 "", conn=...) at ../../../src/comm/Read.h:58
#5  Adaptation::Icap::Xaction::scheduleRead (this=0x14c81a8)
    at Xaction.cc:397
#6  0x000000000081ba78 in Adaptation::Icap::ModXact::readMore (
    this=0x14c81a8) at ModXact.cc:561
#7  0x0000000000823742 in Adaptation::Icap::ModXact::handleCommConnected (
    this=0x14c81a8) at ModXact.cc:191
#8  0x000000000080ff2b in Adaptation::Icap::Xaction::noteCommConnected (
    this=0x14c81a8, io=...) at Xaction.cc:266
#9  0x0000000000813a4b in JobDialer<Adaptation::Icap::Xaction>::dial (
    this=0x128f8e0, call=...) at ../../../src/base/AsyncJobCalls.h:174
#10 0x00000000006f2309 in AsyncCall::make (this=0x128f8b0) at AsyncCall.cc:40
#11 0x00000000006f61ec in AsyncCallQueue::fireNext (this=<optimized out>)
    at AsyncCallQueue.cc:56
#12 0x00000000006f6540 in AsyncCallQueue::fire (this=0xdd9bf0)
    at AsyncCallQueue.cc:42
#13 0x0000000000593bbc in EventLoop::runOnce (this=0x7fffe6f214d0)
    at EventLoop.cc:120
#14 0x0000000000593d70 in EventLoop::run (this=0x7fffe6f214d0)
    at EventLoop.cc:82
#15 0x00000000005f7d83 in SquidMain (argc=<optimized out>,
    argv=<optimized out>) at main.cc:1508
#16 0x000000000050a0db in SquidMainSafe (argv=<optimized out>,
    argc=<optimized out>) at main.cc:1240
#17 main (argc=<optimized out>, argv=<optimized out>) at main.cc:1233
----


On 5 May 2015 at 02:07, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 5/05/2015 7:32 p.m., Prashanth Prabhu wrote:
>> Hi Nathan,
>>
>>> These are fixed in 3.5.4.
>>
>>
>> Thanks. Do you have the bug ID's that fixed them?
>>
>
> <http://bugs.squid-cache.org/show_bug.cgi?id=3775> IIRC.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list