From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 13 11:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EFA1106564A for ; Tue, 13 Mar 2012 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A5E88FC19 for ; Tue, 13 Mar 2012 11:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2DBe13h095225 for ; Tue, 13 Mar 2012 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2DBe13B095224; Tue, 13 Mar 2012 11:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 13 Mar 2012 11:40:01 GMT Resent-Message-Id: <201203131140.q2DBe13B095224@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Zheganin" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 697161065672 for ; Tue, 13 Mar 2012 11:39:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 575458FC0A for ; Tue, 13 Mar 2012 11:39:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2DBdKEI036966 for ; Tue, 13 Mar 2012 11:39:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2DBdKmW036965; Tue, 13 Mar 2012 11:39:20 GMT (envelope-from nobody) Message-Id: <201203131139.q2DBdKmW036965@red.freebsd.org> Date: Tue, 13 Mar 2012 11:39:20 GMT From: "Eugene M. Zheganin" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166004: www/squid31 3.1.19 crashes on first request X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 11:40:01 -0000 >Number: 166004 >Category: ports >Synopsis: www/squid31 3.1.19 crashes on first request >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 11:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Eugene M. Zheganin >Release: 9.0-RELEASE >Organization: RealService LLC >Environment: FreeBSD taiga 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Mon Jan 23 13:36:16 YEKT 2012 emz@taiga:/usr/obj/usr/src/sys/TAIGA amd64 >Description: 3.1.19 crashes, installed from ports. crashes on first request. repeatable, reproduceable. Logs (only one string): FATAL: Received Segment Violation...dying. Stack traces (got about 7 cores, same place, 5 identical traces from one server, 2 different traces from another server): ===Cut(got 5 cores like this, i386/FreeBSD 8.2-STABLE)=== # cat core.0.txt # gdb /usr/local/sbin/squid squid.core.0 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 "i386-marcel-freebsd"... Core was generated by `squid'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/nss_winbind.so.1...done. Loaded symbols for /usr/local/lib/nss_winbind.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x284c9147 in kill () from /lib/libc.so.7 [New Thread 28501140 (LWP 100198/initial thread)] (gdb) where #0 0x284c9147 in kill () from /lib/libc.so.7 #1 0x282a0377 in raise () from /lib/libthr.so.3 #2 0x284c7c7a in abort () from /lib/libc.so.7 #3 0x081514c7 in death (sig=Could not find the frame base for "death". ) at tools.cc:398 #4 #5 0x0818c732 in authenticateValidateUser (auth_user_request=0x2955c8e0) at UserRequest.cc:104 #6 0x0818c931 in authenticateUserAuthenticated (auth_user_request=0x2955c8e0) at UserRequest.cc:246 #7 0x0818d41b in AuthUserRequest::authenticates>::doDial (this=0x28f947fc) at CommCalls.h:169 #24 0x0807da71 in JobDialer::dial (this=0x28f947fc, call=@0x28f947e0) at AsyncJobCalls.h:175 #25 0x0807dc6b in AsyncCallT >How-To-Repeat: Install www/squid31, get a bunch of auth helpers, try to make it work. >Fix: Downgrade the www/squid31 port to lower version. >Release-Note: >Audit-Trail: >Unformatted: >::fire (this=0x28f947e0) at AsyncCall.h:132 #26 0x0816074a in AsyncCall::make (this=0x28f947e0) at AsyncCall.cc:34 #27 0x08163cb4 in AsyncCallQueue::fireNext (this=0x285557e0) at AsyncCallQueue.cc:53 #28 0x08163da7 in AsyncCallQueue::fire (this=0x285557e0) at AsyncCallQueue.cc:39 #29 0x080b2453 in EventLoop::dispatchCalls (this=0xbfbfe618) at EventLoop.cc:153 #30 0x080b26f7 in EventLoop::runOnce (this=0xbfbfe618) at EventLoop.cc:130 #31 0x080b27cc in EventLoop::run (this=0xbfbfe618) at EventLoop.cc:94 #32 0x0810ad68 in SquidMain (argc=3, argv=0xbfbfe710) at main.cc:1418 #33 0x0810ae59 in SquidMainSafe (argc=3, argv=0xbfbfe710) at main.cc:1176 #34 0x0810aff2 in main (argc=Cannot access memory at address 0x0 ) at main.cc:1168 ===Cut=== More traces, another server (amd64/FreeBSD 9.0-RELEASE): ===Cut=== # gdb /usr/local/sbin/squid squid.core 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"... Core was generated by `squid'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/nss_winbind.so.1...done. Loaded symbols for /usr/local/lib/nss_winbind.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000080189ba7c in thr_kill () from /lib/libc.so.7 [New Thread 801c07400 (LWP 136366/squid)] (gdb) where #0 0x000000080189ba7c in thr_kill () from /lib/libc.so.7 #1 0x0000000801938d3b in abort () from /lib/libc.so.7 #2 0x000000000050ed59 in death (sig=Could not find the frame base for "death". ) at tools.cc:398 #3 0x0000000800ccf626 in pthread_sigmask () from /lib/libthr.so.3 #4 0x0000000800ccf70c in pthread_sigmask () from /lib/libthr.so.3 #5 0x00007ffffffff043 in ?? () #6 0x0000000800ccf630 in pthread_sigmask () from /lib/libthr.so.3 #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000000 in ?? () #10 0x0000000000000000 in ?? () #11 0x00007fffffffd5a0 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0101010101010101 in ?? () #16 0x8080808080808080 in ?? () #17 0x0000000000000028 in ?? () #18 0x000000000051f190 in AsyncJob::callEnd (this=0x801d433d0) at AsyncJob.cc:134 #19 0x0000000000437881 in JobDialer::dial (this=0x802bc37b0, call=@0x802bc3780) at AsyncJobCalls.h:182 #20 0x00000000004378ad in AsyncCallT >::fire (this=0x802bc3780) at AsyncCall.h:132 #21 0x000000000051e0c0 in AsyncCall::make (this=0x802bc3780) at AsyncCall.cc:34 #22 0x0000000000521769 in AsyncCallQueue::fireNext (this=0x801d6db60) at AsyncCallQueue.cc:53 #23 0x000000000052183f in AsyncCallQueue::fire (this=0x801d6db60) at AsyncCallQueue.cc:39 #24 0x000000000046e0c9 in EventLoop::dispatchCalls (this=0x7fffffffd8e0) at EventLoop.cc:153 #25 0x000000000046e3a2 in EventLoop::runOnce (this=0x7fffffffd8e0) at EventLoop.cc:130 #26 0x000000000046e48e in EventLoop::run (this=0x7fffffffd8e0) at EventLoop.cc:94 #27 0x00000000004c70e7 in SquidMain (argc=3, argv=0x7fffffffda58) at main.cc:1418 #28 0x00000000004c721c in SquidMainSafe (argc=3, argv=0x7fffffffda58) at main.cc:1176 #29 0x00000000004c739b in main (argc=3, argv=0x7fffffffda58) at main.cc:1168 ===Cut=== ===Cut=== # gdb /usr/local/sbin/squid squid.core.0 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"... Core was generated by `squid'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/nss_winbind.so.1...done. Loaded symbols for /usr/local/lib/nss_winbind.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000000054c840 in authenticateValidateUser (auth_user_request=0x802bc5700) at UserRequest.cc:104 104 UserRequest.cc: Нет такого файла или каталога. in UserRequest.cc [New Thread 801c07400 (LWP 100533/squid)] (gdb) bt #0 0x000000000054c840 in authenticateValidateUser (auth_user_request=0x802bc5700) at UserRequest.cc:104 #1 0x000000000054ca35 in authenticateUserAuthenticated (auth_user_request=0x802bc5700) at UserRequest.cc:246 #2 0x000000000054dc42 in AuthUserRequest::authenticate (auth_user_request=0x802bbb9c0, headertype=HDR_PROXY_AUTHORIZATION, request=0x801daf200, conn=0x801d43218, src_addr=@0x802bbb90c) at UserRequest.cc:450 #3 0x000000000054de77 in AuthUserRequest::tryToAuthenticateAndSetAuthUser (auth_user_request=0x802bbb9c0, headertype=HDR_PROXY_AUTHORIZATION, request=0x801daf200, conn=0x801d43218, src_addr=@0x802bbb90c) at UserRequest.cc:524 #4 0x000000000052ffc0 in AuthenticateAcl (ch=0x802bbb8d8) at Acl.cc:50 #5 0x0000000000470376 in ACLExternal::ExternalAclLookup (checklist=0x802bbb8d8, me=0x801c189c0, callback=0x46ef60 , callback_data=0x802bbb8d8) at external_acl.cc:1256 #6 0x0000000000470da7 in ExternalACLLookup::checkForAsync (this=0x8894a0, checklist=0x802bbb8d8) at external_acl.cc:1454 #7 0x000000000055ef44 in ACLChecklist::checkForAsync (this=0x802bbb8d8) at Checklist.cc:178 #8 0x000000000055f772 in ACLChecklist::matchAclList (this=0x802bbb8d8, head=0x801da3600, fast=false) at Checklist.cc:229 #9 0x000000000055fb82 in ACLChecklist::matchAclListSlow (this=0x802bbb8d8, list=0x801da3600) at Checklist.cc:202 #10 0x000000000055fbba in ACLChecklist::checkAccessList (this=0x802bbb8d8) at Checklist.cc:172 #11 0x000000000055fd5a in ACLChecklist::check (this=0x802bbb8d8) at Checklist.cc:92 #12 0x000000000046efbd in ExternalACLLookup::LookupDone (data=0x802bbb8d8, result=0x802bcd318) at external_acl.cc:1464 #13 0x0000000000471cc8 in externalAclHandleReply (data=0x8037fd478, reply=0x802905000 "ERR") at external_acl.cc:1230 #14 0x00000000004935f1 in helperReturnBuffer (request_number=0, srv=0x8027fbd18, hlp=0x801d5be98, msg=0x802905000 "ERR", msg_end=0x802905004 "") at helper.cc:856 #15 0x0000000000493bd5 in helperHandleRead (fd=156, buf=0x802905000 "ERR", len=4, flag=COMM_OK, xerrno=0, data=0x8027fbd18) at helper.cc:948 #16 0x000000000052d532 in CommIoCbPtrFun::dial (this=0x802bc45b0) at CommCalls.cc:183 #17 0x0000000000438079 in CommCbFunPtrCallT::fire (this=0x802bc4580) at CommCalls.h:324 #18 0x000000000051e0c0 in AsyncCall::make (this=0x802bc4580) at AsyncCall.cc:34 #19 0x0000000000521769 in AsyncCallQueue::fireNext (this=0x801d6db60) at AsyncCallQueue.cc:53 #20 0x000000000052183f in AsyncCallQueue::fire (this=0x801d6db60) at AsyncCallQueue.cc:39 #21 0x000000000046e0c9 in EventLoop::dispatchCalls (this=0x7fffffffd8d0) at EventLoop.cc:153 #22 0x000000000046e3a2 in EventLoop::runOnce (this=0x7fffffffd8d0) at EventLoop.cc:130 #23 0x000000000046e48e in EventLoop::run (this=0x7fffffffd8d0) at EventLoop.cc:94 #24 0x00000000004c70e7 in SquidMain (argc=4, argv=0x7fffffffda40) at main.cc:1418 #25 0x00000000004c721c in SquidMainSafe (argc=4, argv=0x7fffffffda40) at main.cc:1176 #26 0x00000000004c739b in main (argc=4, argv=0x7fffffffda40) at main.cc:1168 ===Cut=== I've also submitted the bug to the squid team, http://bugs.squid-cache.org/show_bug.cgi?id=3511