Bug 1478601

Summary: [abrt] btrfs-heatmap: search_v2(): ioctl.py:265:search_v2:PermissionError: [Errno 1] Operation not permitted
Product: [Fedora] Fedora Reporter: Arne <bugzilla.somor>
Component: btrfs-heatmapAssignee: Juan Orti <jorti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jorti
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ca7673778804d6c1167b5712eb4a83c90fb722cf
Whiteboard: abrt_hash:0c47928394d35c94b65ef7efbc35da99f9281702;VARIANT_ID=workstation;
Fixed In Version: btrfs-heatmap-7-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-16 17:54:03 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Arne 2017-08-05 00:09:34 UTC
Version-Release number of selected component:
btrfs-heatmap-6-1.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 /usr/bin/btrfs-heatmap /
crash_function: search_v2
exception_type: PermissionError
executable:     /usr/bin/btrfs-heatmap
kernel:         4.11.11-300.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 search_v2 in /usr/lib/python3.6/site-packages/btrfs/ioctl.py:265
#2 devices in /usr/lib/python3.6/site-packages/btrfs/ctree.py:482
#3 walk_dev_extents in /usr/bin/btrfs-heatmap:374
#4 main in /usr/bin/btrfs-heatmap:585
#5 <module> in /usr/bin/btrfs-heatmap:606

Comment 1 Arne 2017-08-05 00:09:41 UTC
Created attachment 1309235 [details]
File: backtrace

Comment 2 Arne 2017-08-05 00:09:43 UTC
Created attachment 1309236 [details]
File: cgroup

Comment 3 Arne 2017-08-05 00:09:45 UTC
Created attachment 1309237 [details]
File: cpuinfo

Comment 4 Arne 2017-08-05 00:09:47 UTC
Created attachment 1309238 [details]
File: environ

Comment 5 Arne 2017-08-05 00:09:49 UTC
Created attachment 1309239 [details]
File: mountinfo

Comment 6 Arne 2017-08-05 00:09:52 UTC
Created attachment 1309240 [details]
File: namespaces

Comment 7 Arne 2017-08-05 00:09:53 UTC
Created attachment 1309241 [details]
File: open_fds

Comment 8 Juan Orti 2017-08-06 20:37:33 UTC
Hi, could you add the versions of btrfs-heatmap and python-btrfs you were using?

Thank you.

Comment 10 Juan Orti 2017-08-07 10:19:31 UTC
Did you run btrfs-heatmap as root? that may be the cause.

Comment 11 Arne 2017-10-08 06:50:35 UTC
I think that was the cause of the issue

Comment 12 Fedora Update System 2017-10-08 07:57:36 UTC
btrfs-heatmap-7-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b66a6648bd

Comment 13 Fedora Update System 2017-10-08 22:20:20 UTC
btrfs-heatmap-7-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b66a6648bd

Comment 14 Fedora Update System 2017-10-16 17:54:03 UTC
btrfs-heatmap-7-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.