Critical errors on g_source_unref

Bug #1237484 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediascanner
Fix Released
Critical
James Henstridge
mediascanner (Ubuntu)
Fix Released
Undecided
Unassigned
Saucy
Won't Fix
Undecided
Unassigned

Bug Description

I'm seeing the following critical error in mediascanner.log:

..
mediascanner-service[2048]: CRITICAL critical/glib: g_source_unref: assertion 'source != NULL' failed
mediascanner-service[2078]: WARNING warning/main: No GStreamer support found for A/52, AC3 (Dolby Digital) Audio (audio/x-ac3; audio/ac3)
.......
mediascanner-service[2078]: CRITICAL critical/glib: g_source_unref: assertion 'source != NULL' failed

Full log attached.

Related branches

Revision history for this message
Paweł Stołowski (stolowski) wrote :
Thomas Strehl (strehl-t)
Changed in mediascanner:
importance: Undecided → Critical
assignee: nobody → James Henstridge (jamesh)
Revision history for this message
James Henstridge (jamesh) wrote :

This apparently caused a test failure on PPC, due to the test in question checking that no logging output occurred:

https://launchpadlibrarian.net/153485520/buildlog_ubuntu-saucy-powerpc.mediascanner_0.3.93%2B13.10.20131011-0ubuntu1_FAILEDTOBUILD.txt.gz

The problem call is within the GNetworkMonitor code, and it looks like it is due to the constructor for the class not being safe if called outside of the main loop thread. Making sure it is initialised early looks like it will solve the problem.

Michal Hruby (mhr3)
Changed in mediascanner:
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mediascanner at revision 394, scheduled for release in mediascanner, milestone Unknown

Changed in mediascanner:
status: In Progress → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mediascanner at revision 395, scheduled for release in mediascanner, milestone Unknown

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediascanner - 0.3.93+14.04.20131024.1-0ubuntu1

---------------
mediascanner (0.3.93+14.04.20131024.1-0ubuntu1) trusty; urgency=low

  [ Michal Hruby ]
  * A couple of fixes. (LP: #1237484)

  [ James Henstridge ]
  * Create the GNetworkMonitor object earlier to avoid thread safety
    problems in its constructor, fixing bug #1237484. (LP: #1237484)
  * Don't error out if no TheMovieDB API key is provided. Instead
    disable the grl-tmdb metadata resolver. (LP: #1215880, #1236880)
  * Use the ignored-parameters feature in the mock data configuration to
    avoid failures due to some URL encoding differences. (LP: #1243536)

  [ Jussi Pakkanen ]
  * A couple of fixes. (LP: #1237484)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 397
 -- Ubuntu daily release <email address hidden> Thu, 24 Oct 2013 13:28:29 +0000

Changed in mediascanner (Ubuntu):
status: New → Fix Released
Changed in mediascanner:
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix".

Changed in mediascanner (Ubuntu Saucy):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.