Skip to content

Show all pointers in hex in leak reports #1902

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

Closed
jruderman opened this issue Feb 25, 2012 · 4 comments
Closed

Show all pointers in hex in leak reports #1902

jruderman opened this issue Feb 25, 2012 · 4 comments
Assignees
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@jruderman
Copy link
Contributor

STR: leak some resources (e.g. #1482)

Result:

Unreclaimed object found at 0x7fb101c14e30: res(140398219647488)
Unreclaimed object found at 0x7fb101c14c20: @res(140398219647488)
Unreclaimed object found at 0x7fb101e08d10: res(140398228512256)
Unreclaimed object found at 0x7fb101e08ce0: @res(140398228512256)

Expected:

Unreclaimed object found at 0x7fb101c14e30: res(0x7fb102025a00)
Unreclaimed object found at 0x7fb101c14c20: @res(0x7fb102025a00)
Unreclaimed object found at 0x7fb101e08d10: res(0x7fb102899e00)
Unreclaimed object found at 0x7fb101e08ce0: @res(0x7fb102899e00)
@jruderman
Copy link
Contributor Author

Leak reports were added in 5ee89f3

@nikomatsakis
Copy link
Contributor

Give 'em an inch, they ask for a mile! ;)

The leak report stuff just uses polymorphic log, which may or may not have the information required... I have to check whether ptrs and ints are distinguished in the shape tables ATM.

@ghost ghost assigned nikomatsakis Mar 9, 2012
@emberian
Copy link
Member

emberian commented Jul 7, 2013

Given that the cycle collector is gone, I think this can be closed. @nikomatsakis?

@nikomatsakis
Copy link
Contributor

I agree we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

3 participants