Bug 1586200 - [abrt] thefuck: check_timeout(): __init__.py:1183:_send_signal:psutil._exceptions.AccessDenied: psutil.AccessDenied (pid=7042)
Summary: [abrt] thefuck: check_timeout(): __init__.py:1183:_send_signal:psutil._except...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: thefuck
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matías Kreder
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:75eb9903b9833ad10ea4850377f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-05 17:24 UTC by Mike
Modified: 2018-11-30 21:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-30 21:53:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.47 KB, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: cgroup (321 bytes, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: cpuinfo (1.31 KB, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: environ (7.17 KB, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: mountinfo (4.31 KB, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: namespaces (129 bytes, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details
File: open_fds (440 bytes, text/plain)
2018-06-05 17:24 UTC, Mike
no flags Details

Description Mike 2018-06-05 17:24:25 UTC
Version-Release number of selected component:
thefuck-3.15-2.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        /usr/bin/python3 /usr/bin/thefuck sudo su -
crash_function: check_timeout
exception_type: psutil._exceptions.TimeoutExpired
executable:     /usr/bin/thefuck
kernel:         4.16.12-200.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            5040

Truncated backtrace:
__init__.py:1183:_send_signal:psutil._exceptions.AccessDenied: psutil.AccessDenied (pid=7042)

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/thefuck/types.py", line 77, in _wait_output
    else settings.wait_command)
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 1264, in wait
    return self._proc.wait(timeout)
  File "/usr/lib64/python3.6/site-packages/psutil/_pslinux.py", line 1390, in wrapper
    return fun(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/psutil/_pslinux.py", line 1568, in wait
    return _psposix.wait_pid(self.pid, timeout, self._name)
  File "/usr/lib64/python3.6/site-packages/psutil/_psposix.py", line 104, in wait_pid
    delay = check_timeout(delay)
  File "/usr/lib64/python3.6/site-packages/psutil/_psposix.py", line 66, in check_timeout
    raise TimeoutExpired(timeout, pid=pid, name=proc_name)
psutil._exceptions.TimeoutExpired: psutil.TimeoutExpired timeout after 3 seconds (pid=7041)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 1172, in _send_signal
    os.kill(self.pid, sig)
PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/thefuck", line 11, in <module>
    load_entry_point('thefuck==3.15', 'console_scripts', 'thefuck')()
  File "/usr/lib/python3.6/site-packages/thefuck/main.py", line 67, in main
    fix_command()
  File "/usr/lib/python3.6/site-packages/thefuck/main.py", line 25, in fix_command
    command = types.Command.from_raw_script(sys.argv[1:])
  File "/usr/lib/python3.6/site-packages/thefuck/types.py", line 122, in from_raw_script
    if cls._wait_output(result, is_slow):
  File "/usr/lib/python3.6/site-packages/thefuck/types.py", line 81, in _wait_output
    child.kill()
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 287, in wrapper
    return fun(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 1246, in kill
    self._send_signal(signal.SIGKILL)
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 1183, in _send_signal
    raise AccessDenied(self.pid, self._name)
psutil._exceptions.AccessDenied: psutil.AccessDenied (pid=7042)

Local variables in innermost frame:
sig: <Signals.SIGKILL: 9>
self: psutil.Process(pid=7042, name='su', started='10:23:39')

Comment 1 Mike 2018-06-05 17:24:28 UTC
Created attachment 1447952 [details]
File: backtrace

Comment 2 Mike 2018-06-05 17:24:29 UTC
Created attachment 1447953 [details]
File: cgroup

Comment 3 Mike 2018-06-05 17:24:30 UTC
Created attachment 1447954 [details]
File: cpuinfo

Comment 4 Mike 2018-06-05 17:24:31 UTC
Created attachment 1447955 [details]
File: environ

Comment 5 Mike 2018-06-05 17:24:31 UTC
Created attachment 1447956 [details]
File: mountinfo

Comment 6 Mike 2018-06-05 17:24:32 UTC
Created attachment 1447957 [details]
File: namespaces

Comment 7 Mike 2018-06-05 17:24:33 UTC
Created attachment 1447958 [details]
File: open_fds

Comment 8 Ben Cotton 2018-11-27 15:16:11 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2018-11-30 21:53:52 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.