Bug 1979163

Summary: [abrt] git-cola: _errcheck(): inotify.py:44:_errcheck:PermissionError: [Errno 13] Permission denied
Product: [Fedora] Fedora Reporter: David Fernandez <david.fernandez>
Component: git-colaAssignee: david08741
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: comzeradd, david08741, davvid, fedora, moceap, oliver, ry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1a3ff93459df10b1b9758fd3977c4b4a5aab0d5a
Whiteboard: abrt_hash:b3366daa6c820aecb1b4cce66758680054a3e756;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 20:34:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description David Fernandez 2021-07-05 06:23:32 UTC
Version-Release number of selected component:
git-cola-3.9-1.fc34

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-git\x2dcola-6859.scope
cmdline:        /usr/bin/python3 /usr/bin/git-cola --prompt
crash_function: _errcheck
exception_type: PermissionError
executable:     /usr/bin/git-cola
interpreter:    python3-3.9.5-2.fc34.x86_64
kernel:         5.12.11-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
inotify.py:44:_errcheck:PermissionError: [Errno 13] Permission denied

Traceback (most recent call last):
  File "/usr/share/git-cola/lib/cola/fsmonitor.py", line 211, in run
    self.refresh()
  File "/usr/share/git-cola/lib/cola/fsmonitor.py", line 253, in refresh
    self._refresh()
  File "/usr/share/git-cola/lib/cola/fsmonitor.py", line 267, in _refresh
    self._refresh_watches(
  File "/usr/share/git-cola/lib/cola/fsmonitor.py", line 316, in _refresh_watches
    raise e
  File "/usr/share/git-cola/lib/cola/fsmonitor.py", line 303, in _refresh_watches
    wd = inotify.add_watch(
  File "/usr/share/git-cola/lib/cola/inotify.py", line 44, in _errcheck
    raise OSError(err, os.strerror(err))
PermissionError: [Errno 13] Permission denied

Local variables in innermost frame:
result: -1
func: <_FuncPtr object at 0x7fd169b49d00>
arguments: (23, b'/home/david.fernandez/src_sen/vcpu/NL4T_LinuxForTegra/rootfs/run/sudo', 83887054)
err: 13

Comment 1 David Fernandez 2021-07-05 06:23:36 UTC
Created attachment 1798013 [details]
File: backtrace

Comment 2 David Fernandez 2021-07-05 06:23:38 UTC
Created attachment 1798014 [details]
File: cpuinfo

Comment 3 David Fernandez 2021-07-05 06:23:39 UTC
Created attachment 1798015 [details]
File: environ

Comment 4 David Fernandez 2021-07-05 06:23:41 UTC
Created attachment 1798016 [details]
File: mountinfo

Comment 5 David Fernandez 2021-07-05 06:23:43 UTC
Created attachment 1798017 [details]
File: namespaces

Comment 6 David Fernandez 2021-07-05 06:23:44 UTC
Created attachment 1798018 [details]
File: open_fds

Comment 7 david08741 2021-07-11 11:19:54 UTC
Can you describe how you got that error?

Comment 8 David Fernandez 2021-07-12 10:46:59 UTC
(In reply to david08741 from comment #7)
> Can you describe how you got that error?

It tends to happen after a while using it. If it has to show many modified files or many untracked files in the pane.
The fact that sometimes aI use it over a VPN connection may have some influence.
It takes a long time to initialize when it has to work with many files in the pane, and when switching repos to one with many files, using the file menu to change repo, it takes forever to show it.

In these conditions, it crashes every now and then for no apparent reason.

Comment 9 david08741 2021-08-22 14:28:19 UTC
Sorry, I do not have the time to look into this. I guess you have a better chance to raise this upstream at https://github.com/git-cola/git-cola/issues

If you need help, please let me know.

Comment 10 Ben Cotton 2022-05-12 15:03:32 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
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
'version' of '34'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 11 Ben Cotton 2022-06-07 20:34:49 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 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.

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