Critical errors on g_source_unref
Bug #1237484 reported by
Paweł Stołowski
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-
mediascanner-
.......
mediascanner-
Full log attached.
Related branches
lp:~mhr3/mediascanner/fixes
- James Henstridge: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 160 lines (+38/-17)5 files modifiedsrc/mediascanner-service/main.cpp (+13/-2)
src/mediascanner/commitpolicy.cpp (+4/-3)
src/mediascanner/filesystemwalker.cpp (+12/-11)
src/mediascanner/mediaroot.cpp (+4/-1)
tests/auto/filesystemscannertest.cpp (+5/-0)
lp:~jamesh/mediascanner/bug-1237484
- PS Jenkins bot (community): Approve (continuous-integration)
- Michal Hruby (community): Approve
-
Diff: 34 lines (+13/-0)2 files modifiedsrc/mediascanner-service/main.cpp (+8/-0)
tests/auto/filesystemscannertest.cpp (+5/-0)
Changed in mediascanner: | |
importance: | Undecided → Critical |
assignee: | nobody → James Henstridge (jamesh) |
Changed in mediascanner: | |
status: | New → In Progress |
Changed in mediascanner: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This apparently caused a test failure on PPC, due to the test in question checking that no logging output occurred:
https:/ /launchpadlibra rian.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.