agent_sync_audio_playback call causes deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Opaque and aSPICE (source at https://github.com/iiordanov/remote-desktop-clients) both use spice-gtk-0.37 now, and I found that while I was installing a VM under oVirt 4.4 using a Live CD (which amusingly was the LiveCD of Proxmox 6.2), when the Proxmox installer launches and the vdagent which starts in the installer starts, both Opaque and aSPICE would freeze with some audio-related debug messages

2020-08-24 01:24:31.609 11571-11643/com.undatech.opaque D/GLib+GSpice: spice-gstaudio.c:631 PlaybackChannel not created yet, force start
2020-08-24 01:24:31.609 11571-11643/com.undatech.opaque D/GLib+GSpice: spice-gstaudio.c:299 audio pipeline: appsrc is-live=1 do-timestamp=0 format=time caps="audio/x-raw,format="S16LE",channels=2,rate=48000,lay$
2020-08-24 01:24:31.618 11571-11643/com.undatech.opaque W/libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
2020-08-24 01:24:31.621 11571-11643/com.undatech.opaque W/GLib+GLib-GObject: cannot register existing type 'GstStreamVolume'
2020-08-24 01:24:31.621 11571-11643/com.undatech.opaque E/GLib+GLib-GObject: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
2020-08-24 01:24:31.621 11571-11643/com.undatech.opaque E/GLib+GLib: g_once_init_leave: assertion 'result != 0' failed
2020-08-24 01:24:31.626 11571-11645/com.undatech.opaque W/GStreamer+audio-resampler: 0:00:01.582157603 0x74d0497630 ../gst-libs/gst/audio/audio-resampler.c:274:convert_taps_gint16_c can't find exact taps
2020-08-24 01:24:31.628 11571-11645/com.undatech.opaque I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
2020-08-24 01:24:31.635 11571-11645/com.undatech.opaque W/AudioTrack: createTrack_l(134611203): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1764
2020-08-24 01:24:31.635 11571-11645/com.undatech.opaque I/AudioTrack: Need throttle time for OpenSLES player

This was happening on an Android 10 arm64 device.

I tracked the issue to the agent_sync_audio_playback() call in channel-main.c and introduced a patch in my project to disable both agent_sync_audio_playback and agent_sync_audio_record for the time being.

Does anybody know what could be causing this issue? Please reply-all to this thread. I'll try to provide whatever information you need to help.

Thank you very much!
iordan

--
The conscious mind has only one thread of execution.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]