[Bug 2101906] Re: Apport apparently hung while gathering information for another crash. CPU time was logged at around 20hrs+ when I found out.
Benjamin Drung
2101906 at bugs.launchpad.net
Tue Mar 11 16:19:04 UTC 2025
Thanks. That has a stack trace to investigate:
```
Traceback:
Traceback (most recent call last):
File "/usr/share/apport/apport", line 20, in <module>
import apport, apport.fileutils
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in <module>
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/__init__.py", line 1, in <module>
import requests
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 48, in <module>
from cryptography.hazmat.backends.openssl import backend as openssl_backend
File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 44, in <module>
from cryptography.hazmat.backends.openssl.ed448 import (
File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/ed448.py", line 81, in <module>
class _Ed448PrivateKey(object):
File "/usr/lib/python3/dist-packages/cryptography/utils.py", line 47, in register_decorator
verify_interface(iface, klass)
File "/usr/lib/python3/dist-packages/cryptography/utils.py", line 108, in verify_interface
if sig != actual:
UnboundLocalError: local variable 'sig' referenced before assignment
```
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2101906
Title:
Apport apparently hung while gathering information for another crash.
CPU time was logged at around 20hrs+ when I found out.
Status in apport package in Ubuntu:
New
Bug description:
This machine has been generating a lot of crashes (sorry for all of
the uploads...) including apport its self, but hopefully the
information collected here is able to narrow down what's going on.
$ lsb_release -rd
Description: Ubuntu 20.04.6 LTS
Release: 20.04
$ apt-cache policy apport
apport:
Installed: 2.20.11-0ubuntu27.27
Candidate: 2.20.11-0ubuntu27.27
Version table:
*** 2.20.11-0ubuntu27.27 500
500 https://mirror.math.princeton.edu/pub/ubuntu focal-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.20.11-0ubuntu27.26 500
500 https://mirror.math.princeton.edu/pub/ubuntu focal-security/main amd64 Packages
2.20.11-0ubuntu27 500
500 https://mirror.math.princeton.edu/pub/ubuntu focal/main amd64 Packages
Expected to happen: apport does its work in a timely manner then exits.
What appeared to happen: apport had hung/entered a loop which at the
time I found it, with above twenty hours of CPU time. Unfortunately I
can't offer any other information about the circumstances or why
apport had entered this state besides what was captured by apport on
its self.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apport 2.20.11-0ubuntu27.27
ProcVersionSignature: Ubuntu 5.15.0-1081.90~20.04.1-azure 5.15.173
Uname: Linux 5.15.0-1081-azure x86_64
ApportLog: ERROR: apport (pid 108263) Mon Mar 10 01:34:11 2025: host pid 108234 crashed in a container without apport support
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Mar 10 18:08:52 2025
ExecutablePath: /usr/share/apport/apport
InterpreterPath: /usr/bin/python3.8
PackageArchitecture: all
ProcEnviron:
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2101906/+subscriptions
More information about the foundations-bugs
mailing list