LeakTracer icon indicating copy to clipboard operation
LeakTracer copied to clipboard

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

Open fedragon56691352 opened this issue 1 year ago • 1 comments

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.

fedragon56691352 avatar Feb 05 '24 03:02 fedragon56691352

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.

fredericgermain avatar Feb 06 '24 08:02 fredericgermain