Package: squid
Version: 4.6-1+deb10u1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
     Listen to an audio stream over the Squid proxy
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     Listening to audio streams using Parole on the same host as the Squid
proxy
   * What was the outcome of this action?
     After ten or fifteen minutes of listening to an audio stream the Squid
proxy crashes and restarts itself
   * What outcome did you expect instead?
     Working Squid proxy while listening to audio streams

in current Debian/testing I discovered that listening to audio streams over the
Squid network proxy using Parole on the same host let's Squid crash after ten
or fifteen minutes of having the audio stream connection alive.

Due to Squid crashes and restarts itself as seen in the Syslog all active
network connections are dropped. That's how it came to my attention.

I found the corresponding error message in /var/log/syslog and is as follows:

Nov 10 05:01:14 g6 squid[27759]: assertion failed: stmem.cc:98: "lowestOffset
() <= target_offset"
Nov 10 05:01:14 g6 squid[2309]: Squid Parent: squid-1 process 27759 exited due
to signal 6 with status 0

After this message Squid exists and starts up again.

This bug is affecting the Debian version 4.6-1+deb10u1 of Squid.

Here the Syslog entries:

Nov 10 04:41:32 g6 squid[27759]: NETDB state saved; 120 entries, 12 msec
Nov 10 04:59:12 g6 systemd[1]: /lib/systemd/system/squid.service:7: PIDFile=
references a path below legacy directory /var/run/, updating /var/run/squid.pid
→ /run/squid.pid; please update the unit file accordingly.
Nov 10 04:59:22 g6 systemd[1]: /lib/systemd/system/squid.service:7: PIDFile=
references a path below legacy directory /var/run/, updating /var/run/squid.pid
→ /run/squid.pid; please update the unit file accordingly.
Nov 10 04:59:33 g6 systemd[1]: /lib/systemd/system/squid.service:7: PIDFile=
references a path below legacy directory /var/run/, updating /var/run/squid.pid
→ /run/squid.pid; please update the unit file accordingly.
Nov 10 04:59:33 g6 systemd[1]: /lib/systemd/system/squid.service:7: PIDFile=
references a path below legacy directory /var/run/, updating /var/run/squid.pid
→ /run/squid.pid; please update the unit file accordingly.
Nov 10 05:01:14 g6 squid[27759]: assertion failed: stmem.cc:98: "lowestOffset
() <= target_offset"
Nov 10 05:01:14 g6 squid[2309]: Squid Parent: squid-1 process 27759 exited due
to signal 6 with status 0
Nov 10 05:01:14 g6 squid[2309]: Squid Parent: (squid-1) process 18931 started
Nov 10 05:01:14 g6 squid[18931]: Set Current Directory to /var/spool/squid
Nov 10 05:01:14 g6 squid[18931]: Starting Squid Cache version 4.6 for
x86_64-pc-linux-gnu...

In all other use cases besides audio streams I could not find any error or
bugs.
It just happens by listening to an audio stream with Parole over the Squid
network proxy.

Thank you for your kind attention and reading this.

Yours sincerely,

Adrian Immanuel Kiess




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages squid depends on:
ii  adduser                  3.118
ii  libc6                    2.29-2
ii  libcap2                  1:2.27-1
ii  libcom-err2              1.45.4-1
ii  libdb5.3                 5.3.28+dfsg1-0.6
ii  libdbi-perl              1.642-1+b2
ii  libecap3                 1.0.1-3.2+b1
ii  libexpat1                2.2.9-1
ii  libgcc1                  1:9.2.1-17
ii  libgnutls30              3.6.10-4
ii  libgssapi-krb5-2         1.17-6
ii  libkrb5-3                1.17-6
ii  libldap-2.4-2            2.4.48+dfsg-1+b2
ii  libltdl7                 2.4.6-11
ii  libnetfilter-conntrack3  1.0.7-2
ii  libnettle6               3.4.1-1+b1
ii  libpam0g                 1.3.1-5
ii  libsasl2-2               2.1.27+dfsg-1
ii  libstdc++6               9.2.1-17
ii  libxml2                  2.9.4+dfsg1-7+b3
ii  logrotate                3.15.1-1
ii  lsb-base                 11.1.0
ii  netbase                  5.6
ii  squid-common             4.6-1+deb10u1

Versions of packages squid recommends:
ii  ca-certificates  20190110
ii  libcap2-bin      1:2.27-1

Versions of packages squid suggests:
ii  resolvconf   1.79
pn  smbclient    <none>
pn  squid-cgi    <none>
pn  squid-purge  <none>
ii  squidclient  4.6-1+deb10u1
pn  ufw          <none>
pn  winbind      <none>

-- Configuration Files:
/etc/squid/squid.conf changed:
acl ads dstdom_regex "/etc/squid/ad_block.txt"
http_access deny all ads
acl localnet src 0.0.0.1-0.255.255.255  # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8             # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10          # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16         # RFC 3927 link-local (directly 
plugged) machines
acl localnet src 172.16.0.0/12          # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16         # RFC 1918 local private network (LAN)
acl localnet src fc00::/7               # RFC 4193 local private network range
acl localnet src fe80::/10              # RFC 4291 link-local (directly 
plugged) machines
acl SSL_ports port 443
acl SSL_ports port 6667 
acl SSL_ports port 6697 
acl SSL_ports port 7000
acl SSL_ports port 7000
acl SSL_ports port 7070
acl SSL_ports port 1024-65535
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
include /etc/squid/conf.d/*
http_access allow localnet
http_access allow localhost
http_access deny all
http_port localhost:3128 intercept
http_port g6.lan.dac:3128
cache_dir ufs /var/spool/squid 1024 16 256
coredump_dir /var/spool/squid
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320
cache_mgr adr...@kiess.onl


-- debconf information:
  squid/fix_cachedir_perms: false
  squid/fix_lines: true

Reply via email to