scalene: scalene breaks when importing pyproj

Describe the bug I am trying to profile code where we import the pyproj library, and scalene fails with Scalene error: received signal SIGSEGV

To Reproduce

  • Install the pyproj library
  • create a file with the following line from pyproj import Proj
  • run scalene my_file.py

Scalene will fail with the error above

Expected behaviour Scalene does not fail and I can profile like for any library !

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

We have it tracked down to an issue with malloc interposition on Mac interacting with sqlite3

Successfully replicated on x86 mac, I’ll get to the bottom of it!