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

LeakTracer has some problems with alsa function such as snd_pcm_open() or snd_mixer_attach(). #15

Open
fedragon56691352 opened this issue Feb 5, 2024 · 1 comment

Comments

@fedragon56691352
Copy link

When execution sequence is:
->leaktracer_startMonitoringAllThreads()
->snd_pcm_open() or snd_mixer_attach()
->......

The program will deadlock.

When execution sequence is:
->snd_pcm_open() or snd_mixer_attach()
->leaktracer_startMonitoringAllThreads()
->......

The program run normally.

@fredericgermain
Copy link
Owner

Hi,

Could you share the backtrace of the thread/two threads that is/are in deadlock? I remember it could happen quite often, but some little adjustment could be needed.

If you launch/attach your program with gdb, the command thread apply all bt display all backstacks.

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

No branches or pull requests

2 participants