使用 Firefox v57 时,Python 3 在 Ubuntu 17.10 中崩溃

使用 Firefox v57 时,Python 3 在 Ubuntu 17.10 中崩溃

当我使用 Firefox 57 时,python 崩溃了,过了一段时间才恢复。这是 apport 报告。

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: apport-gtk 2.20.7-0ubuntu3.4
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.4
Architecture: amd64
CrashCounter: 1
CurrentDesktop: GNOME
Date: Tue Nov 21 11:23:58 2017
ExecutablePath: /usr/share/apport/apport-gtk
InstallationDate: Installed on 2017-09-20 (62 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
InterpreterPath: /usr/bin/python3.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/share/apport/apport-gtk
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IN
 SHELL=/bin/bash
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonArgs: ['/usr/share/apport/apport-gtk']
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
SourcePackage: apport
Title: apport-gtk crashed with TypeError in run_crashes(): '>' not supported between instances of 'float' and 'NoneType'
UpgradeStatus: Upgraded to artful on 2017-10-24 (28 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

请参阅以下错误以获取日志和其他信息:

https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733581

https://bugs.launchpad.net/ubuntu/+source/pgadmin3/+bug/1733585

Java 和 PgAdmin 在 Ubuntu 17.10 上也崩溃了。

我是否缺少任何需要升级/更新的软件包?

答案1

这实际上表明是 Apport 崩溃了。Apport 是 Ubuntu 的崩溃处理程序和错误报告程序……所以这很尴尬。它本来应该在运行以报告另一个错误。下次出现此问题时提交错误报告(或者保留 #1733581,如果这是你的错误报告)但这可能只是其中一种情况。如果这是一次性事件,我怀疑我们能提供多少帮助。这不是一个糟糕的报告,只是一个奇怪的报告。

如果这保持发生这种情况时,可能是有一份未完成的报告卡在系统中,因为 Apport 无法解析它。您可以运行以下命令:

/usr/bin/python3 -c 'import apport; print(apport.fileutils.get_new_system_reports())'

这可能会让你知道待处理报告的位置。你可以大概安全地删除这些报告,但请先留下评论,仔细检查上述发现的内容。

如果你不知道的话,这篇文章中有很多“如果”、“可能”和“可能”的说法。远程调试很困难。但这与 Python 本身或 Firefox 无关。

相关内容