[pulseaudio-tickets] [Bug 95135] PulseAudio pre-v9.0 induce Totem failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 27 13:03:28 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95135

--- Comment #2 from Arun Raghavan <arun at accosted.net> ---
We have the root cause of this bug. The options are to revert the offending
patch for 9.0 (leaving the underlying problem unaddressed, but this is not a
regression). The alternative is to look at merging my patches to drop json-c as
a dep soon. Root cause from email discussion follows:

----

Okay, so this is a fun one. The offending commit is:

  commit 12a202c510dcacbd2b85fcc1170484eb16fef491
  Author: Arun Raghavan <git at arunraghavan.net>
  Date:   Thu Dec 31 09:27:56 2015 +0530

      format: Make pa_format_info_valid() stricter for PCM

      We should do stricter validation when we can.

The check fails at:

  if (json_object_get_type(o) != json_type_string) {
      pa_log_debug("Format info property '%s' type is not string.", key);
      json_object_put(o);
      return -PA_ERR_INVALID;
  }

Rhythmbox and Totem are linked to the json-glib library which *also*
has a json_object_get_type(). That is the function which gets called,
and returns a junk type which makes this code fail.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160427/1b70d375/attachment.html>


More information about the pulseaudio-bugs mailing list