Activity log for bug #1864995

Date Who What changed Old value New value Message
2020-02-27 12:07:10 Esokrates bug added bug
2020-02-27 16:20:58 Esokrates tags focal
2020-02-28 09:30:23 Esokrates bug added subscriber Brian Murray
2020-03-04 09:23:52 Brian Murray apport: status New Incomplete
2020-03-04 10:57:28 Esokrates attachment added sources.list https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333426/+files/sources.list
2020-03-04 10:57:44 Esokrates apport: status Incomplete New
2020-03-04 15:01:13 Esokrates attachment added _usr_bin_gnome-shell.1000.crash https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333541/+files/_usr_bin_gnome-shell.1000.crash
2020-03-04 15:02:15 Esokrates attachment added error.log https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333542/+files/error.log
2020-03-04 21:18:16 Esokrates attachment added _usr_bin_gnome-shell-modified.1000.crash https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333620/+files/_usr_bin_gnome-shell-modified.1000.crash
2020-03-04 22:05:21 Esokrates attachment added output.log https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333629/+files/output.log
2020-03-05 17:40:22 Esokrates attachment added fix-https.patch https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333893/+files/fix-https.patch
2020-03-05 20:30:27 Esokrates attachment added fix+workaround.patch https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333983/+files/fix+workaround.patch
2020-03-11 12:57:59 Esokrates apport: status New Incomplete
2020-03-13 20:32:25 Esokrates summary apport-retrace fails to build sandbox apport-retrace sandbox: Fails if mirror does not provide Contents-amd64.gz
2020-03-13 20:32:29 Esokrates apport: status Incomplete New
2020-03-13 20:40:18 Esokrates description I tried to debug a gnome-shell crash in Ubuntu 20.04, but unfortunately apport-retrace is unable to build a sandbox, it fails with urllib.error.HTTPError: HTTP Error 404: Not Found, here is the whole cmd: user@ubuntu:~$ apport-retrace -R --sandbox system --cache /var/crash/sandbox/ --stdout /var/crash/_usr_bin_gnome-shell.1000.crash Traceback (most recent call last): File "/usr/bin/apport-retrace", line 322, in <module> sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox( File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in make_sandbox pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose) File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 92, in needed_runtime_packages pkg = apport.packaging.get_file_package(l, True, pkgmap_cache_dir, File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 490, in get_file_package return self._search_contents(file, map_cachedir, release, arch) File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1324, in _search_contents src = urlopen(url) File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found If sources.list does contain a line such as deb http://ddebs.ubuntu.com focal main restricted universe multiverse then apport-retrace -v -s -R -S system _usr_bin_gnome-shell.1000.crash fails because it tries to access the following url: http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Full output of above command: Ign http://ddebs.ubuntu.com focal InRelease Get:1 http://ddebs.ubuntu.com focal Release [34.7 kB] Get:2 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal InRelease [20.8 kB] Get:3 https://mirror.init7.net/ubuntu focal InRelease [255 kB] Get:4 http://ddebs.ubuntu.com focal Release.gpg [819 B] Get:5 http://ddebs.ubuntu.com focal/main amd64 Packages [526 kB] Get:6 https://mirror.init7.net/ubuntu focal-updates InRelease [79.7 kB] Get:7 https://mirror.init7.net/ubuntu focal-backports InRelease [79.7 kB] Get:8 https://mirror.init7.net/ubuntu focal-security InRelease [79.7 kB] Get:9 https://mirror.init7.net/ubuntu focal/restricted Sources [7032 B] Get:10 https://mirror.init7.net/ubuntu focal/universe Sources [9784 kB] Get:11 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main amd64 Packages [1604 B] Get:12 http://ddebs.ubuntu.com focal/universe amd64 Packages [4435 kB] Get:13 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main Translation-en [1084 B] Get:14 https://mirror.init7.net/ubuntu focal/multiverse Sources [175 kB] Get:15 https://mirror.init7.net/ubuntu focal/main Sources [839 kB] Get:16 https://mirror.init7.net/ubuntu focal/main amd64 Packages [977 kB] Get:17 https://mirror.init7.net/ubuntu focal/main Translation-en [503 kB] Get:18 https://mirror.init7.net/ubuntu focal/main amd64 DEP-11 Metadata [517 kB] Get:19 https://mirror.init7.net/ubuntu focal/main DEP-11 48x48 Icons [93.6 kB] Get:20 https://mirror.init7.net/ubuntu focal/main DEP-11 64x64 Icons [164 kB] Get:21 https://mirror.init7.net/ubuntu focal amd64 Contents (deb) [41.2 MB] Get:22 http://ddebs.ubuntu.com focal/multiverse amd64 Packages [67.0 kB] Get:23 https://mirror.init7.net/ubuntu focal/restricted amd64 Packages [21.5 kB] Get:24 https://mirror.init7.net/ubuntu focal/restricted Translation-en [6136 B] Get:25 https://mirror.init7.net/ubuntu focal/universe amd64 Packages [8623 kB] Get:26 https://mirror.init7.net/ubuntu focal/universe Translation-en [5154 kB] Get:27 https://mirror.init7.net/ubuntu focal/universe amd64 DEP-11 Metadata [3618 kB] Get:28 https://mirror.init7.net/ubuntu focal/universe DEP-11 48x48 Icons [3000 kB] Get:29 https://mirror.init7.net/ubuntu focal/universe DEP-11 64x64 Icons [7968 kB] Get:30 https://mirror.init7.net/ubuntu focal/multiverse amd64 Packages [145 kB] Get:31 https://mirror.init7.net/ubuntu focal/multiverse Translation-en [105 kB] Get:32 https://mirror.init7.net/ubuntu focal/multiverse amd64 DEP-11 Metadata [45.0 kB] Get:33 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 48x48 Icons [17.6 kB] Get:34 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 64x64 Icons [198 kB] Fetched 88.8 MB in 6s (7466 kB/s) Fetched 0 B in 0s (0 B/s) Extracting downloaded debs... Debug:http://ddebs.ubuntu.com/dists/focal-proposed/Contents-amd64.gz Debug:http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Traceback (most recent call last): File "/usr/bin/apport-retrace", line 322, in <module> sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox( File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in make_sandbox pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose) File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 92, in needed_runtime_packages pkg = apport.packaging.get_file_package(l, True, pkgmap_cache_dir, File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 490, in get_file_package return self._search_contents(file, map_cachedir, release, arch) File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1325, in _search_contents src = urlopen(url) File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found Fully reproducible in Ubuntu 20.04 fully upgraded as of March 13 2020. All info files attached in the tarball in comment #18.
2020-03-13 20:42:44 Esokrates attachment added Contains sources.list the .crash file and a list of all installed packages including version https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5336626/+files/debuginfo-1864995.tar.gz
2020-03-13 23:46:57 Esokrates description If sources.list does contain a line such as deb http://ddebs.ubuntu.com focal main restricted universe multiverse then apport-retrace -v -s -R -S system _usr_bin_gnome-shell.1000.crash fails because it tries to access the following url: http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Full output of above command: Ign http://ddebs.ubuntu.com focal InRelease Get:1 http://ddebs.ubuntu.com focal Release [34.7 kB] Get:2 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal InRelease [20.8 kB] Get:3 https://mirror.init7.net/ubuntu focal InRelease [255 kB] Get:4 http://ddebs.ubuntu.com focal Release.gpg [819 B] Get:5 http://ddebs.ubuntu.com focal/main amd64 Packages [526 kB] Get:6 https://mirror.init7.net/ubuntu focal-updates InRelease [79.7 kB] Get:7 https://mirror.init7.net/ubuntu focal-backports InRelease [79.7 kB] Get:8 https://mirror.init7.net/ubuntu focal-security InRelease [79.7 kB] Get:9 https://mirror.init7.net/ubuntu focal/restricted Sources [7032 B] Get:10 https://mirror.init7.net/ubuntu focal/universe Sources [9784 kB] Get:11 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main amd64 Packages [1604 B] Get:12 http://ddebs.ubuntu.com focal/universe amd64 Packages [4435 kB] Get:13 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main Translation-en [1084 B] Get:14 https://mirror.init7.net/ubuntu focal/multiverse Sources [175 kB] Get:15 https://mirror.init7.net/ubuntu focal/main Sources [839 kB] Get:16 https://mirror.init7.net/ubuntu focal/main amd64 Packages [977 kB] Get:17 https://mirror.init7.net/ubuntu focal/main Translation-en [503 kB] Get:18 https://mirror.init7.net/ubuntu focal/main amd64 DEP-11 Metadata [517 kB] Get:19 https://mirror.init7.net/ubuntu focal/main DEP-11 48x48 Icons [93.6 kB] Get:20 https://mirror.init7.net/ubuntu focal/main DEP-11 64x64 Icons [164 kB] Get:21 https://mirror.init7.net/ubuntu focal amd64 Contents (deb) [41.2 MB] Get:22 http://ddebs.ubuntu.com focal/multiverse amd64 Packages [67.0 kB] Get:23 https://mirror.init7.net/ubuntu focal/restricted amd64 Packages [21.5 kB] Get:24 https://mirror.init7.net/ubuntu focal/restricted Translation-en [6136 B] Get:25 https://mirror.init7.net/ubuntu focal/universe amd64 Packages [8623 kB] Get:26 https://mirror.init7.net/ubuntu focal/universe Translation-en [5154 kB] Get:27 https://mirror.init7.net/ubuntu focal/universe amd64 DEP-11 Metadata [3618 kB] Get:28 https://mirror.init7.net/ubuntu focal/universe DEP-11 48x48 Icons [3000 kB] Get:29 https://mirror.init7.net/ubuntu focal/universe DEP-11 64x64 Icons [7968 kB] Get:30 https://mirror.init7.net/ubuntu focal/multiverse amd64 Packages [145 kB] Get:31 https://mirror.init7.net/ubuntu focal/multiverse Translation-en [105 kB] Get:32 https://mirror.init7.net/ubuntu focal/multiverse amd64 DEP-11 Metadata [45.0 kB] Get:33 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 48x48 Icons [17.6 kB] Get:34 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 64x64 Icons [198 kB] Fetched 88.8 MB in 6s (7466 kB/s) Fetched 0 B in 0s (0 B/s) Extracting downloaded debs... Debug:http://ddebs.ubuntu.com/dists/focal-proposed/Contents-amd64.gz Debug:http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Traceback (most recent call last): File "/usr/bin/apport-retrace", line 322, in <module> sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox( File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in make_sandbox pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose) File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 92, in needed_runtime_packages pkg = apport.packaging.get_file_package(l, True, pkgmap_cache_dir, File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 490, in get_file_package return self._search_contents(file, map_cachedir, release, arch) File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1325, in _search_contents src = urlopen(url) File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found Fully reproducible in Ubuntu 20.04 fully upgraded as of March 13 2020. All info files attached in the tarball in comment #18. If sources.list does contain a line such as deb http://ddebs.ubuntu.com focal main restricted universe multiverse then apport-retrace -v -s -R -S system _usr_bin_gnome-shell.1000.crash fails because it tries to access the following url: http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Full output of above command: Ign http://ddebs.ubuntu.com focal InRelease Get:1 http://ddebs.ubuntu.com focal Release [34.7 kB] Get:2 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal InRelease [20.8 kB] Get:3 https://mirror.init7.net/ubuntu focal InRelease [255 kB] Get:4 http://ddebs.ubuntu.com focal Release.gpg [819 B] Get:5 http://ddebs.ubuntu.com focal/main amd64 Packages [526 kB] Get:6 https://mirror.init7.net/ubuntu focal-updates InRelease [79.7 kB] Get:7 https://mirror.init7.net/ubuntu focal-backports InRelease [79.7 kB] Get:8 https://mirror.init7.net/ubuntu focal-security InRelease [79.7 kB] Get:9 https://mirror.init7.net/ubuntu focal/restricted Sources [7032 B] Get:10 https://mirror.init7.net/ubuntu focal/universe Sources [9784 kB] Get:11 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main amd64 Packages [1604 B] Get:12 http://ddebs.ubuntu.com focal/universe amd64 Packages [4435 kB] Get:13 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal/main Translation-en [1084 B] Get:14 https://mirror.init7.net/ubuntu focal/multiverse Sources [175 kB] Get:15 https://mirror.init7.net/ubuntu focal/main Sources [839 kB] Get:16 https://mirror.init7.net/ubuntu focal/main amd64 Packages [977 kB] Get:17 https://mirror.init7.net/ubuntu focal/main Translation-en [503 kB] Get:18 https://mirror.init7.net/ubuntu focal/main amd64 DEP-11 Metadata [517 kB] Get:19 https://mirror.init7.net/ubuntu focal/main DEP-11 48x48 Icons [93.6 kB] Get:20 https://mirror.init7.net/ubuntu focal/main DEP-11 64x64 Icons [164 kB] Get:21 https://mirror.init7.net/ubuntu focal amd64 Contents (deb) [41.2 MB] Get:22 http://ddebs.ubuntu.com focal/multiverse amd64 Packages [67.0 kB] Get:23 https://mirror.init7.net/ubuntu focal/restricted amd64 Packages [21.5 kB] Get:24 https://mirror.init7.net/ubuntu focal/restricted Translation-en [6136 B] Get:25 https://mirror.init7.net/ubuntu focal/universe amd64 Packages [8623 kB] Get:26 https://mirror.init7.net/ubuntu focal/universe Translation-en [5154 kB] Get:27 https://mirror.init7.net/ubuntu focal/universe amd64 DEP-11 Metadata [3618 kB] Get:28 https://mirror.init7.net/ubuntu focal/universe DEP-11 48x48 Icons [3000 kB] Get:29 https://mirror.init7.net/ubuntu focal/universe DEP-11 64x64 Icons [7968 kB] Get:30 https://mirror.init7.net/ubuntu focal/multiverse amd64 Packages [145 kB] Get:31 https://mirror.init7.net/ubuntu focal/multiverse Translation-en [105 kB] Get:32 https://mirror.init7.net/ubuntu focal/multiverse amd64 DEP-11 Metadata [45.0 kB] Get:33 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 48x48 Icons [17.6 kB] Get:34 https://mirror.init7.net/ubuntu focal/multiverse DEP-11 64x64 Icons [198 kB] Fetched 88.8 MB in 6s (7466 kB/s) Fetched 0 B in 0s (0 B/s) Extracting downloaded debs... Debug:http://ddebs.ubuntu.com/dists/focal-proposed/Contents-amd64.gz Debug:http://ddebs.ubuntu.com/dists/focal/Contents-amd64.gz Traceback (most recent call last):   File "/usr/bin/apport-retrace", line 322, in <module>     sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox(   File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in make_sandbox     pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose)   File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 92, in needed_runtime_packages     pkg = apport.packaging.get_file_package(l, True, pkgmap_cache_dir,   File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 490, in get_file_package     return self._search_contents(file, map_cachedir, release, arch)   File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1325, in _search_contents     src = urlopen(url)   File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen     return opener.open(url, data, timeout)   File "/usr/lib/python3.8/urllib/request.py", line 531, in open     response = meth(req, response)   File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response     response = self.parent.error(   File "/usr/lib/python3.8/urllib/request.py", line 569, in error     return self._call_chain(*args)   File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain     result = func(*args)   File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default     raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found Fully reproducible in Ubuntu 20.04 fully upgraded as of March 13 2020. All info files attached in the tarball in comment #18. WORKAROUND: Move lines such as "deb http://ddebs.ubuntu.com focal main restricted universe multiverse" "deb http://archive.canonical.com/ubuntu focal partner" into /etc/apt/sources.list.d EXPECTED FIX: Either fix the logic in apport-retrace or clearly document this somewhere.
2020-03-13 23:47:10 Esokrates attachment removed fix+workaround.patch https://bugs.launchpad.net/apport/+bug/1864995/+attachment/5333983/+files/fix+workaround.patch
2020-03-14 22:07:43 Esokrates summary apport-retrace sandbox: Fails if mirror does not provide Contents-amd64.gz apport-retrace sandbox fails if mirror does not provide Contents-amd64.gz