[squid 0005270]: squid 3.5.15 crash on start
Mantis Bug Tracker via bug-notifications
bug-notifications at lists.opencsw.org
Fri Mar 4 14:29:25 CET 2016
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5270
======================================================================
Reported By: cgrzemba
Assigned To:
======================================================================
Project: squid
Issue ID: 5270
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-03-04 14:16 CET
Last Modified: 2016-03-04 14:29 CET
======================================================================
Summary: squid 3.5.15 crash on start
Description:
dumps core on startup
root at intra:/var/log/squid# pstack core
core 'core' of 5278: /opt/csw/sbin/squid -v
fe436597 t_splay (8851580) + 30
fe436464 t_delete (8851580) + 2a
fe43619e realfree (884d578) + 58
fe43673b _free_unlocked (8807620, 87c2bec, 85d1678, feffe9ac, 855254d,
8807620) + 69
fe4366c1 free (8807620, 0, 40d00100, 87c2bd8, 87c2bec) + 28
0855254d free_const (8807620, 8807620, 0, 85d1678, 8729220, 87b3bf0) + 1d
082ad87f _ZN7MemBlobD1Ev (87c2bd8, 0, 0, 843eab1, 0, 87c2bd8) + 2f
082adb32 _ZN7MemBlobD0Ev (87c2bd8, 866cad4, fe510680, 85d1678, 87aec80,
87aec64) + 12
082af5e7 _ZN4SBufD1Ev (87b3bf0, 1c0, feffea9c, 8568e90, 87b3acc, 0) + 67
08568edb ???????? (feffeac0, fe48816b, 813939b, 85d1678, fe514f18,
fe580200)
081393dc ???????? (fe50f000, feffeae0, fe4230bd, 0, 857ff16, fe50f000)
08552965 _fini (0, 857ff16, fe50f000, fe514f00, feffeba8, fe415662) +
15
fe4230bd _exithandle (2, 826abc4, 0, 85ac010, 8845558, 1c) + 4e
fe415662 exit (2, feffec14, 866ffa8, 866e120, 859334f, 1) + 12
0855e27e main (2, feffec14, feffec20) + 1e
08139260 _start (2, feffed14, feffed28, 0, feffed2b, feffed5f) + 80
======================================================================
----------------------------------------------------------------------
(0011099) cgrzemba (developer) - 2016-03-04 14:29
https://www.opencsw.org/mantis/view.php?id=5270#c11099
----------------------------------------------------------------------
other SMF problems because PID file path is wrong:
--- /tmp/svc-cswsquid Fr Mrz 4 14:24:27 2016
+++ /var/opt/csw/svc/method/svc-cswsquid Fr Mrz 4 14:26:18 2016
@@ -7,7 +7,7 @@
CSWSBIN=${CSWPREFIX}/sbin
SQUID_DAEMON=${CSWSBIN}/squid
SQUID_CONF=${CSWETC}/squid/squid.conf
-SQUID_PIDFILE=/var${CSWPREFIX}/squid/logs/squid.pid
+SQUID_PIDFILE=/var${CSWPREFIX}/squid/run/squid.pid
if [ -f /lib/svc/share/smf_include.sh ]; then
. /lib/svc/share/smf_include.sh
@@ -38,12 +38,12 @@
## stop gracefully
echo 'stopping squid server... please wait for
cleanup...'
${SQUID_DAEMON} -k shutdown
- rm -f /var/opt/csw/squid/logs/squid.pid
+ rm -f ${SQUID_PIDFILE}
exit 0
else
## Not running
echo 'squid server is already down'
- rm -f /var/opt/csw/squid/logs/squid.pid
+ rm -f ${SQUID_PIDFILE}
exit 0
fi
else
@@ -51,7 +51,7 @@
echo 'Squid server not properly installed'
echo 'Forcing Down!'
pkill -9 squid
- rm -f /var/opt/csw/squid/logs/squid.pid
+ rm -f ${SQUID_PIDFILE}
exit 1
fi
;;
More information about the bug-notifications
mailing list