[Bug 1975399] Re: FATAL FwdState::noteDestinationsEnd exception: opening()

2022-06-01 Thread Paride Legovini
If I understand the squid upstream release process [1] correctly, squid
5.5 could be considered a new upstream microrelease [2], and we could
tackle this *and other* issues by releasing it as an SRU. The upstream
changelog for the v5 branch [3] only points to bug fixes, as expected.

I'm marking this bug report for team discussion.

[1] https://wiki.squid-cache.org/ReleaseProcess
[2] https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[3] https://github.com/squid-cache/squid/blob/v5/ChangeLog

** Tags added: server-triage-discuss

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975399

Title:
  FATAL FwdState::noteDestinationsEnd exception: opening()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1975399/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975399] Re: FATAL FwdState::noteDestinationsEnd exception: opening()

2022-05-25 Thread laszloj
Hi Bryce,

Thank you for the prompt response.
I wasn't able to reproduce the crashes with a script yet, however, I have been 
able to isolate the issue a bit more.
It seems like it only happens when ssl-bump is used - I'm using the newly 
introduced squid-openssl package.
I've attached a config file which is based on the following entry in Squid's 
FAQ and didn't cause the same crashes in squid 4.x (compiled with openssl): 
https://wiki.squid-cache.org/SquidFaq/WindowsUpdate

Using this config requires the squid-openssl package and the below commands 
must be executed before starting the service, otherwise squid gets stuck in a 
crash loop:
---
/usr/lib/squid/security_file_certgen -c -s /var/spool/squid/ssl_db -M 4MB && 
chown -R proxy:proxy /var/spool/squid/ssl_db
---

If I set the proxy config on my Windows laptop to point at the squid proxy 
running with the attached config on Ubuntu 22.04, squid crashes and restarts as 
soon as I try to open Outlook or Word. I cannot reproduce this issue with a 
config where ssl-bump is not used, even when using the squid-openssl package.
I tried using a Python script to simultaneously call some of the https URLs 
that I found in the logs, but squid didn't crash that way.
I'll try reproducing it using an app on an Ubuntu desktop VM and keep trying 
with the script as well.

** Attachment added: "sample squid config"
   
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1975399/+attachment/5592813/+files/squid.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975399

Title:
  FATAL FwdState::noteDestinationsEnd exception: opening()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1975399/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975399] Re: FATAL FwdState::noteDestinationsEnd exception: opening()

2022-05-23 Thread Bryce Harrington
Hi laszloj,

The upstream bug #5055 mentions "This change has several overlapping
parts. Unfortunately, merging individual parts is both difficult and
likely to cause crashes."  Indeed, it looks like several upstream
commits would need backported, involving a non-trivial amount of code
changes.  Due to that, it is especially important to define a
reproduction case; otherwise it's hard to know for certain that the
patches are actually fixing the problem, and it will then be challenging
to get this approved for SRU to jammy.

However, we may be able to proceed if you can define the bounds on the
random crashes.  How often do the crashes happen?  E.g. daily?  Every
1000 connection requests?  Would you be able to script a workload that
attempts a bunch of connections that triggers the crash on your
hardware?


** Changed in: squid (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975399

Title:
  FATAL FwdState::noteDestinationsEnd exception: opening()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1975399/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs