Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioctl: Bad file descriptor #16

Open
fcdimitr opened this issue May 31, 2021 · 0 comments
Open

ioctl: Bad file descriptor #16

fcdimitr opened this issue May 31, 2021 · 0 comments

Comments

@fcdimitr
Copy link

The SystemError

ERROR: SystemError: ioctl: Bad file descriptor
Stacktrace:
 [1] systemerror(p::Symbol, errno::Int32; extrainfo::Nothing)
   @ Base ./error.jl:168
 [2] #systemerror#62
   @ ./error.jl:167 [inlined]
 [3] systemerror
   @ ./error.jl:167 [inlined]
 [4] ioctl
   @ ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:331 [inlined]
 [5] reset!
   @ ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:337 [inlined]
 [6] LinuxPerf.EventGroup(types::Vector{LinuxPerf.EventType}; warn_unsupported::Bool, userspace_only::Bool, pinned::Bool, exclusive::Bool, pid::Int32)
   @ LinuxPerf ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:310
 [7] EventGroup
   @ ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:235 [inlined]
 [8] make_bench(x::Vector{Any})
   @ LinuxPerf ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:415
 [9] top-level scope
   @ ~/.julia/packages/LinuxPerf/ZE1fQ/src/LinuxPerf.jl:21

is thrown when trying to run the example shown in the README.md. I am running Ubuntu 16.04.5 LTS, with an AMD Ryzen CPU. I start Julia using sudo, to make sure it is not a permission issue.

Is there any known fixes for this error?

Many thanks in advance.

This was referenced Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant