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

Add ability to log allocations/frees for easily reporting bugs #8

Open
fitzgen opened this issue Feb 2, 2018 · 4 comments
Open

Add ability to log allocations/frees for easily reporting bugs #8

fitzgen opened this issue Feb 2, 2018 · 4 comments
Labels
assigned help wanted Extra attention is needed mentored

Comments

@fitzgen
Copy link
Member

fitzgen commented Feb 2, 2018

Summary

We would write all allocations and frees into a buffer that we periodically flush to a file. When people report a bug, they could enable this feature, and provide their log.

Motivation

Easier to file bugs. Easier to reproduce bugs. Therefore, easier to fix bugs.

Details

  • Behind a cargo feature.

  • I guess we could use std::io::BufWriter, and say that this feature requires std

  • Ideally this would use the same operation definitions in ./test, so we could trivially turn them into regression tests. Also, shrink them to get reduced test cases.

@fitzgen fitzgen added help wanted Extra attention is needed mentored labels Feb 2, 2018
@joaolucasl
Copy link

I'm reading the source code more carefully to see if I can give this one a crack!

@fitzgen
Copy link
Member Author

fitzgen commented Feb 9, 2018

@joaolucasl Awesome -- let me know if you have any questions!

@CPerezz
Copy link

CPerezz commented Jan 30, 2021

hi @fitzgen I would like to try this one. I don't know if this lib is still mantained and actively updated. Or there are any alternatives that made this lib obsolete. But if this lib is still up to date and you're mantaining it, I would like to help! And also learn, why not 😅

I'm not sure whether @joaolucasl is still developing this. But I guess not. So if it's ok for you @fitzgen I'll give it a try!

@joaolucasl
Copy link

Go ahead @CPerezz, I tried at the time and after a while trying I just left it alone. If you want, feel free to give it a crack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned help wanted Extra attention is needed mentored
Projects
None yet
Development

No branches or pull requests

3 participants