All sound stops playing after receiving SMS messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Canonical Phone Foundations | ||
media-hub (Ubuntu) |
Fix Released
|
Critical
|
Jim Hodapp | ||
qtubuntu-media (Ubuntu) |
Fix Released
|
Undecided
|
Jim Hodapp | ||
unity8 (Ubuntu) |
Invalid
|
Undecided
|
Michael Zanetti |
Bug Description
Testing on Arale, build 6, vivid proposed
Steps to reproduce (not that easy)
1) goto System Settings->Sounds and set Message Received Sound to Xylo and check on "Vibrate with message sound" and "Vibrate in Silent Mode"
1A) Lock the phone
2) Send phone a bunch of text messages (like 4 in a row quickly)
3) verify that sound is played, vibration is heard, and notification is displayed
4) now open messaging app to the thread that received the message
5) lock the phone
6) Repeat steps 2 and 3, eventually the sounds stop playing and the notifications don't get displayed anymore, but the screen does light up.
At this point media hub is hung and you can't plays sounds from anywhere, even music player
(gdb) t a a bt
Thread 15 (Thread 0xb2f3a3a0 (LWP 2186)):
#0 0xb424f6b4 in ?? ()
#1 0xb4263c8c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 14 (Thread 0xb25ff3a0 (LWP 2187)):
#0 0xb424f6b4 in ?? ()
#1 0xb4263c8c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 13 (Thread 0xb1bff3a0 (LWP 2189)):
#0 0xb6320132 in epoll_wait () from /lib/arm-
#1 0x00149850 in boost::
#2 0x0014ab1a in boost::
#3 0x00148c8e in _start ()
Thread 12 (Thread 0xad3fe3a0 (LWP 2191)):
#0 0xb63194e0 in poll () from /lib/arm-
#1 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 11 (Thread 0xacbfe3a0 (LWP 2192)):
#0 0xb63194e0 in poll () from /lib/arm-
#1 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 10 (Thread 0xabcff3a0 (LWP 2202)):
#0 0xb6387d44 in __libc_do_syscall () from /lib/arm-
#1 0xb6385980 in __lll_lock_wait () from /lib/arm-
#2 0xb638119e in pthread_mutex_lock () from /lib/arm-
#3 0x001a8bc8 in ?? ()
#4 0x001b21d6 in core::ubuntu:
#5 0x001b5384 in core::ubuntu:
---Type <return> to continue, or q <return> to quit---
#6 0x001b0c9a in std::_Function_
#7 0x001cf730 in core::Signal<
#8 0x001cc2c2 in gstreamer:
#9 0x001b2018 in core::ubuntu:
#10 0x001d87b8 in core::ubuntu:
#11 0xb6f161c0 in ?? () from /usr/lib/
#12 0xb6245aa2 in ?? () from /lib/arm-
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 9 (Thread 0xa31ff3a0 (LWP 4024)):
#0 0xb6387d44 in __libc_do_syscall () from /lib/arm-
#1 0xb638595c in __lll_lock_wait () from /lib/arm-
#2 0xb638119e in pthread_mutex_lock () from /lib/arm-
#3 0x001a887e in ?? ()
#4 0x001ac772 in std::_Function_
#5 0xb6f17da4 in ?? () from /usr/lib/
#6 0x001acc5a in void core::dbus:
#7 0x001a8ad4 in ?? ()
#8 0x001b230e in core::ubuntu:
#9 0x001b8052 in std::_Function_
#10 0x001b24da in std::thread:
#11 0xb643f2a0 in ?? () from /usr/lib/
#12 0xb637f490 in start_thread () from /lib/arm-
#13 0xb631fc4c in ?? () from /lib/arm-
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
---Type <return> to continue, or q <return> to quit---
Thread 8 (Thread 0xa95ff3a0 (LWP 4041)):
#0 0xb63194e0 in poll () from /lib/arm-
#1 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 7 (Thread 0xa39ff3a0 (LWP 4042)):
#0 0xb631d620 in syscall () from /lib/arm-
#1 0xb6d89110 in g_cond_wait () from /lib/arm-
#2 0xb6eb1674 in ?? () from /usr/lib/
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 6 (Thread 0xab3253a0 (LWP 4045)):
#0 0xb631d620 in syscall () from /lib/arm-
#1 0xb6d89110 in g_cond_wait () from /lib/arm-
#2 0xb6eb1674 in ?? () from /usr/lib/
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 5 (Thread 0xa4dfe3a0 (LWP 4046)):
#0 0xb6387d44 in __libc_do_syscall () from /lib/arm-
#1 0xb638595c in __lll_lock_wait () from /lib/arm-
#2 0xb638119e in pthread_mutex_lock () from /lib/arm-
#3 0x00153b28 in std::mutex::lock() ()
#4 0x001cf692 in core::Signal<
#5 0x001cf884 in gstreamer:
#6 0x001598bc in core::Signal<
#7 0xb6e03806 in ?? () from /usr/lib/
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 4 (Thread 0xa43ff3a0 (LWP 4047)):
#0 0xb631d620 in syscall () from /lib/arm-
#1 0xb6d89110 in g_cond_wait () from /lib/arm-
#2 0xab3784e2 in ?? () from /usr/lib/
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 3 (Thread 0xa9fff3a0 (LWP 4203)):
#0 0xb424f6b4 in ?? ()
#1 0xb4263c8c in ?? ()
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 2 (Thread 0xa29ff3a0 (LWP 4204)):
#0 0xb424f6b4 in ?? ()
#1 0xb4263c8c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0xb42dd000 (LWP 2101)):
#0 0xb63194e0 in poll () from /lib/arm-
#1 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Bill Filler: Pending requested
-
Diff: 137 lines (+29/-14)1 file modifiedsrc/aal/aalmediaplayerservice.cpp (+29/-14)
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Thomas Voß (community): Approve (code)
-
Diff: 122 lines (+58/-15)1 file modifiedsrc/core/media/power/state_controller.cpp (+58/-15)
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
Changed in media-hub (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Phone Foundations (canonical-phonedations-team) |
Changed in media-hub (Ubuntu): | |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in media-hub (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Michael Zanetti (mzanetti) |
Changed in unity8 (Ubuntu): | |
status: | New → Invalid |
Changed in qtubuntu-media (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in qtubuntu-media (Ubuntu): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in qtubuntu-media (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in media-hub (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Here is log from telephony- service- indicator which attempts to call media-hub to play the incoming notification sounds
Initializing AalServicePlugin n::create( const QString&) "org.qt- project. qt.mediaplayer" ontrol: :volume( ) const
virtual QMediaService* AalServicePlugi
Creating a new static Service instance
virtual int AalMediaPlayerC
QObject: :installEventFi lter(): Cannot filter events for objects in a different thread. ervice: :createMetaData ReaderControl( ) ontrol: :state( ) const
void AalMediaPlayerS
virtual QMediaPlayer::State AalMediaPlayerC
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual void AalMediaPlayerC ontrol: :setAudioRole( QMediaPlayer: :AudioRole) ervice: :setAudioRole( QMediaPlayer: :AudioRole) ontrol: :stop()
void AalMediaPlayerS
virtual void AalMediaPlayerC
PlaybackStatusC hanged signal arrived via the bus. ontrol: :stop()
virtual void AalMediaPlayerC
virtual void AalMediaPlayerC ontrol: :setMedia( const QMediaContent&, QIODevice*)
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
Local file URI: "file:/ //usr/share/ sounds/ ubuntu/ notifications/ Xylo.ogg" //usr/share/ sounds/ ubuntu/ notifications/ Xylo.ogg" ) erControl: :onMediaChanged (const QMediaContent&) erControl: :updateMetaData () share/sounds/ ubuntu/ notifications/ Xylo.ogg" share/sounds/ ubuntu/ notifications/ Xylo.ogg ontrol: :play()
Setting media to: QUrl( "file:/
void AalMetaDataRead
void AalMetaDataRead
Doing a mediascanner lookup of file: "///usr/
Caught runtime exception from mediascanner: Could not find media ///usr/
virtual void AalMediaPlayerC
virtual void core::ubuntu: :media: :ServiceStub: :pause_ other_sessions( core::ubuntu: :media: :Player: :PlayerKey) ion->play( ) hanged signal arrived via the bus. hanged signal arrived via the bus. ontrol: :playbackComple te()
Actually calling m_hubPlayerSess
VideoDimensionC
PlaybackStatusC
AboutToFinish signal arrived via the bus.
AboutToFinish signal arrived via the bus.
EndOfStream signal arrived via the bus.
void AalMediaPlayerC
virtual void AalMediaPlayerC ontrol: :stop()
PlaybackStatusC hanged signal arrived via the bus. rControl: :playbackComple te() ontrol: :stop()
void AalVideoRendere
virtual void AalMediaPlayerC
virtual void AalMediaPlayerC ontrol: :stop()
virtual void AalMediaPlayerC ontrol: :setMedia( const QMediaContent&, QIODevice*)
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
Local file URI: "file:/ //usr/share/ sounds/ ubuntu/ notifications/ Xylo.ogg" //usr/share/ sounds/ ubuntu/ notifications/ Xylo.ogg" ) ontrol: :stop()
Setting media to: QUrl( "file:/
virtual void AalMediaPlayerC
void AalMetaDataRead erControl: :onMediaChanged (const QMediaContent&) erControl: :updateMetaData () share/sounds/ ubuntu/ notifications/ Xylo.ogg" share/sounds/ ubuntu/ notifications/ Xylo.ogg ontrol: :play()
void AalMetaDataRead
Doing a mediascanner lookup of file: "///usr/
Caught runtime exception from mediascanner: Could not find media ///usr/
virtual void AalMediaPlayerC
virtual void core::ubuntu: :media: :ServiceStub: :pause_ other_sessions( core::ubuntu: :media: :Player: :PlayerKey)
Actually calling m_hubPlaye...