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 the tail: root@sid-squid:~# tail -f /var/log/squid/cache.log |grep -1 assert 2018/10/04 20:34:14 kid1| logfileRotate: daemon:/var/log/squid/access.log 2018/10/04 20:34:14 kid1| assertion failed: comm.cc:428: "!isOpen(conn->fd)" 2018/10/04 20:34:15 kid1| Set Current Directory to /var/spool/squid ** Changed in: squid (Ubuntu) Importance: Medium => High -- 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://bugs.launchpad.net/ubuntu/+source/squid/+bug/1794553/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs