Skip to content

[macos] psutil.disk_io_counters() segfaults on macos #2009

@risicle

Description

@risicle

Summary

  • OS: macos 10.15
  • Architecture: x86_64
  • Psutil version: 3.8.0
  • Python version: 3.8

Built against macos 10.12 SDK

Description

$ python
Python 3.8.12 (default, Oct 31 2021, 15:36:49) 
[Clang 7.1.0 (tags/RELEASE_710/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
Segmentation fault: 11

If this were linux I would have a beautiful stack trace for you but macos is fighting me every step of the way.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions