Regression in Service::create_fixed_session

Bug #1425818 reported by Justin McPherson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Media Hub
Invalid
High
Canonical Phone Foundations
media-hub (Ubuntu)
New
Undecided
Canonical Phone Foundations

Bug Description

Service::create_fixed_session will cause media-hub to abort when an attempt is made to resume an existing named session.

Revision history for this message
Justin McPherson (justinmcp) wrote :
Download full text (11.2 KiB)

Log of media-hub activity.

phablet@ubuntu-phablet:~$ ./media-hub.sh
initctl: Unknown instance:
GNU gdb (Ubuntu 7.8.1-1ubuntu1) 7.8.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/media-hub-server...(no debugging symbols found)...done.
Starting program: /usr/bin/media-hub-server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb59fa3e0 (LWP 31105)]
Starting DecodingService...
[New Thread 0xb4fff3e0 (LWP 31106)]
[New Thread 0xb45ff3e0 (LWP 31107)]
-- routing msg for: NameAcquired org.freedesktop.DBus :1.961
-- routing msg for: NameAcquired org.freedesktop.DBus :1.961
-- failed routing msg for: NameAcquired org.freedesktop.DBus :1.961
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.961
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- failed routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- failed routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- failed routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- succeeded routing msg for: NameAcquired org.freedesktop.DBus :1.960
-- routing msg for: CreateFixedSession core.ubuntu.media.Service core.ubuntu.media.Service
-- failed routing msg for: CreateFixedSession core.ubuntu.media.Service core.ubuntu.media.Service
-- routing msg for: CreateFixedSession core.ubuntu.media.Service core.ubuntu.media.Service
BEFORE CHECKING APPARMOUR
CREATING FIXED_SESSSION: html5.grooveshark.com
CREATING FIXED_SESSSION: NEW
CREATE FIXED SESSION: key 0
CREATE FIXED SESSION: op /core/ubuntu/media/Service/sessions/0
void gstreamer::Playbin::setup_pipeline_for_audio_video()
audio_sin...

Revision history for this message
Justin McPherson (justinmcp) wrote :

Attached output from gdb
commands:
> t a a bt
> i th

Revision history for this message
Jim Hodapp (jhodapp) wrote :

The raise() and abort() are in the Binder_2 thread. That's pretty interesting. Thomas, any thoughts here?

Jim Hodapp (jhodapp)
Changed in media-hub:
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
importance: Undecided → High
Changed in media-hub (Ubuntu):
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Changed in media-hub:
status: New → Invalid
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.