[Bug 805672] Re: apport crashs when running in chroot with OSError in run_argv
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:59:36 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: apport (Ubuntu)
Status: New => Incomplete
--
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/805672
Title:
apport crashs when running in chroot with OSError in run_argv
Status in apport package in Ubuntu:
Incomplete
Bug description:
I am checking why my package does not build in a pbuilder chroot. To
get the information from the chroot instead of my current system I
installed apport in the jail. When I ran ubuntu-bug I get the trace
below [1]. After that I ran apport-cli manually, because I thought
that caused the problem, I got the output below [2].
[1]
(pbuild16490)root at stromboli:/# ubuntu-bug lcl-units-0.9.30
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Traceback (most recent call last):
File "/usr/bin/apport-cli", line 416, in <module>
if not app.run_argv():
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 568, in run_argv
return self.run_report_bug()
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 375, in run_report_bug
self.collect_info(symptom_script)
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 822, in collect_info
icthread.exc_raise()
File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
self._retval = self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 50, in thread_collect_info
report.add_os_info()
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 243, in add_os_info
stderr=subprocess.PIPE, close_fds=True)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[2]
(pbuild16490)root at stromboli:/# /usr/bin/apport-cli
*** apport-bug closed unexpectedly on 2011-07-04 at 20:14:42.
If you were not doing anything confidential (entering passwords or other
private information), you can help to improve the application by reporting
the problem.
What would you like to do? Your options are:
R: Report Problem...
I: Cancel and ignore future crashes of this program version
C: Cancel
Please choose (R/I/C): r
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Traceback (most recent call last):
File "/usr/bin/apport-cli", line 416, in <module>
if not app.run_argv():
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 599, in run_argv
return self.run_crashes()
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 177, in run_crashes
self.run_crash(f)
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 263, in run_crash
self.collect_info()
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 822, in collect_info
icthread.exc_raise()
File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
self._retval = self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 50, in thread_collect_info
report.add_os_info()
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 243, in add_os_info
stderr=subprocess.PIPE, close_fds=True)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apport 1.20.1-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
ApportLog:
Architecture: i386
Date: Mon Jul 4 22:17:41 2011
InstallationMedia: Kubuntu-Netbook 10.04 "Lucid Lynx" - Alpha i386 (20100112.2)
PackageArchitecture: all
ProcEnviron:
LC_TIME=nl_NL.UTF-8
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to natty on 2011-05-11 (54 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/805672/+subscriptions
More information about the foundations-bugs
mailing list