Disabling the pinger also works around the problem:
In /etc/squid/squid.conf:
pinger_enable off
** Summary changed:
- squid crashed with SIGABRT in xassert()
+ assertion error when rotating logs
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscrib
** Bug watch added: Debian Bug tracker #910337
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910337
** Also affects: squid (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910337
Importance: Unknown
Status: Unknown
** Also affects: squid via
http://bugs.squid-
** Merge proposal unlinked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/squid/+git/squid/+merge/356100
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1794553
Title:
squid crash
If squid.conf has a cache_dir setting, then the crash doesn't happen. For
example:
cache_dir aufs /var/cache/squid-deb-proxy 4 16 256
Or, as I had in my home proxy, which wasn't crashing:
cache_dir ufs /var/spool/squid 1 16 256
** Changed in: squid (Ubuntu)
Status: In Progress =
Turns out it's easier than I thought, both in debian and ubuntu:
lxc launch images:debian/sid sid-squid
lxc exec sid-squid bash
apt update && apt install squid -y
tail -f /var/log/squid/cache.log | grep -1 assert
In another terminal:
lxc exec sid-squid bash
squid -k rotate
Watch the crash in
I also just managed to get this in debian's 4.2-2:
Oct 4 20:17:00 sid-squid4 squid[582]: assertion failed: comm.cc:428:
"!isOpen(conn->fd)"
Still working on a solid reproducer, but getting there.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscri
This looks very much like https://bugs.squid-
cache.org/show_bug.cgi?id=4796
** Bug watch added: Squid Bugzilla #4796
http://bugs.squid-cache.org/show_bug.cgi?id=4796
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https
/usr/sbin/squid -k rotate is enough to crash it on adconrad's machine,
even with the apparmor profile disabled.
We also tried with the new 4.2 packages, but -k rotate also crashes it
the same way.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribe
Ok, this seems to be pointing at a problem with the apparmor profile.
I'll prepare an update for that.
This is the patch I will be using:
--- etc/apparmor.d/usr.sbin.squid
+++ etc/apparmor.d/usr.sbin.squid
@@ -3,7 +3,7 @@
# vim:syntax=apparmor
#include
-/usr/sbin/squid {
+/usr/sbin/squid flag
@jibel and @adconrad, are you guys running squid with its apparmor
profile enabled? Can you check with ps faxwZ or aa-status?
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/1794553
Title:
Thanks!
This is interesting. At 10:33:57, looks like this machine came back from
sleep/suspend. Is this a laptop?
Then 2s later we have these:
sept. 23 10:33:59 sark audit[12944]: AVC apparmor="DENIED" operation="capable"
profile="/usr/sbin/squid" pid=12944 comm="squid" capability=12
capname="
Do you still have /var/log/syslog (maybe rotated) from the time of the
crash, september 23rd? If yes, please attach it. Maybe I can correlate
it with something else going on in the system.
Is the crash still happening?
--
You received this bug notification because you are a member of Ubuntu
Serv
@jibel, are you running squid-deb-proxy too by any chance?
Could you also attach /var/log/squid/cache.log, and perhaps a sanitized
/var/log/squid/access.log if you see something interesting in there
around the time of the crash?
--
You received this bug notification because you are a member of U
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/squid/+git/squid/+merge/356100
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/1794553
Title:
squid crashe
Here are squid 4.2 packages for cosmic, merged from debian:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3450/
If the crash happens frequently, would you mind giving these packages a
try to see if it improves the situation?
They also passed dep8 tests:
https://bileto.ubuntu.com/ex
** Changed in: squid (Ubuntu)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: squid (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https://bugs.la
I'll work on an ubuntu update
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/1794553
Title:
squid crashed with SIGABRT in xassert()
To manage notifications about this bug go to:
https://b
17 matches
Mail list logo