bloomberg / bloomberg/memray

Memray ERROR: Invalid record subtype when creating new Thread in v.1.13.4

Open
#674 4 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
15.2k
Forks
461
Avg merge
5d 3h
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### 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_

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Reproduce on Linux with Memray 1.13.4 and Python 3.7 using `memray run -f --follow-fork -m my module`, comparing analysis before and after a new thread is created; done means summary, stats, and flamegraph complete without an “Invalid record subtype” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.