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

ERL-274: dbg:p/2 bug #3545

Closed
OTP-Maintainer opened this issue Oct 3, 2016 · 6 comments
Closed

ERL-274: dbg:p/2 bug #3545

OTP-Maintainer opened this issue Oct 3, 2016 · 6 comments
Assignees
Labels
bug Issue is reported as a bug priority:low team:VM Assigned to OTP team VM
Milestone

Comments

@OTP-Maintainer
Copy link

Original reporter: sdl.web@gmail.com
Affected version: OTP-19.0
Fixed in version: OTP-19.2
Component: erts
Migrated from: https://bugs.erlang.org/browse/ERL-274


Eval the following in eshell:

{code:erlang}1. dbg:tracer().
2. dbg:p(all, return_to).
3. dbg:i().
4. dbg:stop_clear().{code}

Step 3 should print a few dozens of processes.

Repeat the steps above for a second time. But this time only 5ish processes are printed.

Bug reproduced in Erlang 19.1 on OSX 10.12. No issue with Erlang 18.3.1.
@OTP-Maintainer
Copy link
Author

lukas said:

Thanks for the bug report. I've implemented a fix, just have to test it before merging it upstream.

The root problem was actually in the erlang:trace/3 bif and not in dbg.

@OTP-Maintainer
Copy link
Author

sdl.web@gmail.com said:

Thanks. What is the plan for this fix? BTW, this bug is quite annoying. Every time I run dbg and there is no output I have to start over to make sure it is not caused by this bug.

@OTP-Maintainer
Copy link
Author

lukas said:

It will be fixed in 19.2.

I haven't merged it upstream yet as I had forgotten about it. Will merge it when I get back to the office on Monday. Thanks for the bump!

@OTP-Maintainer
Copy link
Author

sdl.web@gmail.com said:

Sorry to be a nuisance ;)

@OTP-Maintainer
Copy link
Author

lukas said:

Fix merged to main for release in 19.2

@OTP-Maintainer
Copy link
Author

sdl.web@gmail.com said:

Thank you.

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug team:VM Assigned to OTP team VM priority:low labels Feb 10, 2021
@OTP-Maintainer OTP-Maintainer added this to the OTP-19.2 milestone Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:low team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

2 participants