-
Notifications
You must be signed in to change notification settings - Fork 397
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
Memray ERROR: Invalid record subtype when creating new Thread in v.1.13.4 #674
Comments
Can you please give us the code in "my_module" so we can try to reproduce on our end? |
I encountered the same error while profiling an Azure Function locally. In the following, I provide steps to reproduce this issue with some Python code that mimics the real scenario in which, a memory-intensive task is submitted to a To reproduce
ResultDuring flamegraph generation,
Memray Version1.14.0 Operating SystemLinux
Python Version3.12.2 |
I tried to reproduce this but I wasn't able to do so. Partially because the setup is so complicated and requires several layers. Could you please provide a reproducer that doesn't rely on the azure runtime? |
@pablogsal updated my comment above with simplified steps: basically I created an example and put in a repository. You'll only need to create and start a Docker container as described in the steps |
Is there an existing issue for this?
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
1.os is linux
2.run with command :memray run -f --follow-fork -m my module
3.Before creating a new thread, memray can analyze the profile file normally. After creating a new thread, memray summary/stats/flamegraph, etc. will prompt ⠋ Computing statistics... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--Memray ERROR: Invalid record subtype
Memray Version
1.13.4
Python Version
3.7
Operating System
Linux
Anything else?
No response
The text was updated successfully, but these errors were encountered: