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

[BUG]: SystemError: <class 'iter_events'> returned NULL without setting an exception #11831

Open
jamaalscarlett opened this issue Dec 23, 2024 · 3 comments
Assignees
Labels
bug Profiling Continous Profling

Comments

@jamaalscarlett
Copy link

Tracer Version(s)

2.18.1

Python Version(s)

Python 3.11.9

Pip Version(s)

24.0

Bug Report

We have started seeing the following exceptions after upgrading to version 2.18.1

SystemError: <class 'iter_events'> returned NULL without setting an exception
  File "ddtrace/profiling/collector/__init__.py", line 43, in periodic
    for events in self.collect():
  File "ddtrace/profiling/collector/memalloc.py", line 175, in collect
    events_iter, count, alloc_count = _memalloc.iter_events()

Reproduction Code

No response

Error Logs

No response

Libraries in Use

aioboto3==13.2.0
aiobotocore==2.15.2
aiocache==0.12.3
aiodogstatsd==0.16.0.post0
aiofiles==24.1.0
aiohappyeyeballs==2.4.4
aiohttp==3.11.10
aioitertools==0.12.0
aiomcache==0.8.2
aioredis==2.0.1
aiosignal==1.3.2
annotated-types==0.7.0
argcomplete==3.3.0
async-timeout==5.0.1
attrs==24.3.0
azure-core==1.32.0
azure-identity==1.19.0
backoff==2.2.1
boto3==1.35.36
botocore==1.35.36
build==1.2.2.post1
certifi==2024.12.14
cffi==1.17.1
charset-normalizer==3.4.0
click==8.1.7
cryptography==44.0.0
defusedxml==0.7.1
dnspython==2.7.0
docopt==0.4.0
email_validator==2.2.0
fastavro==1.9.7
frozenlist==1.5.0
gitdb==4.0.11
GitPython==3.1.43
idna==3.10
Jinja2==3.1.4
jira==3.8.0
jmespath==1.0.1
mandrill==1.0.60
MarkupSafe==2.1.5
msal==1.31.1
msal-extensions==1.2.0
msgpack==1.1.0
multidict==6.1.0
oauthlib==3.2.2
packaging==24.0
pbr==6.0.0
pillow==10.3.0
pip-tools==7.4.1
pipx==1.5.0
platformdirs==4.2.2
portalocker==2.10.1
propcache==0.2.1
pycparser==2.22
pydantic==2.10.3
pydantic-settings==2.7.0
pydantic_core==2.27.1
PyJWT==2.10.1
pyOpenSSL==24.3.0
pyproject_hooks==1.2.0
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
redis==5.2.1
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
s3transfer==0.10.4
six==1.17.0
smmap==5.0.1
typing_extensions==4.12.2
ujson==5.10.0
urllib3==2.2.3
userpath==1.9.2
wrapt==1.17.0
yarl==1.18.3

Operating System

No response

@sanchda sanchda self-assigned this Dec 23, 2024
@sanchda sanchda added the Profiling Continous Profling label Dec 23, 2024
@sanchda
Copy link
Contributor

sanchda commented Dec 23, 2024

👋 Thank you for the report--this one is pretty straightforward and we should be able to fix it by the next release.

@jamaalscarlett
Copy link
Author

Great thank you

@jasha-hrp
Copy link

Hi @sanchda, do you know roughly when the next release will be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Profiling Continous Profling
Projects
None yet
Development

No branches or pull requests

3 participants