[manta] crash when initializing media-hub (pulse pa_mutex_free)

Bug #1408137 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
media-hub (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 57
device name: manta
channel: ubuntu-touch/vivid-proposed
last update: 2015-01-06 22:02:08
version version: 57
version ubuntu: 20141218
version device: 20141213
version custom: 20141218

phablet@ubuntu-phablet:~$ cat ./.cache/upstart/media-hub.log
Starting DecodingService...
Pulseaudio connection established.
pulsesink: active_sink=('',-1,-1) -> ('sink.primary',0,0)
Starting DecodingService...
Assertion 'pthread_mutex_destroy(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:83, function pa_mutex_free(). Aborting.

(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0xb6209e5e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        _a1 = 0
        _a3tmp = 6
        _a1tmp = 0
        _a3 = 6
        _nametmp = 268
        _a2tmp = 1599
        _a2 = 1599
        _name = 268
        _sys_result = <optimized out>
        pd = 0xb6f25220
        pid = 0
        selftid = 1599
#2 0xb620ab4e in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 3069374904, 0, 3069374464, 4294967295, 0, 3049208252, 3069340384, 3069334048, 3049189376, 353320, 0, 1, 3069399040, 0, 3069278709, 3069340384, 1, 5, 0, 3049418536,
              3055459240, 20932940, 3049464704, 3049418536, 3049465264, 83, 1593344, 20932940, 3069297136, 0, 224}}, sa_flags = 1650074624, sa_restorer = 0x625a2400}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb5c22674 in pa_mutex_free (m=<optimized out>) at pulsecore/mutex-posix.c:83
        m = <optimized out>
#4 0xb64225d8 in pa_threaded_mainloop_free (m=0xb27004b8) at pulse/thread-mainloop.c:131
        __func__ = "pa_threaded_mainloop_free"
        __PRETTY_FUNCTION__ = "pa_threaded_mainloop_free"
#5 0x0012ccde in core::ubuntu::media::ServiceImplementation::Private::~Private (this=0x13f6898, __in_chrg=<optimized out>) at /build/buildd/media-hub-2.0.0+15.04.20141126.2/src/core/media/service_implementation.cpp:155
No locals.
#6 0x0012ce60 in std::_Sp_counted_ptr<core::ubuntu::media::ServiceImplementation::Private*, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:373
No locals.
#7 0x000e79a6 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x13fb7e0) at /usr/include/c++/4.9/bits/shared_ptr_base.h:149
No locals.
#8 0x0012af06 in ~__shared_count (this=0x13eaf4c, __in_chrg=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:666
No locals.
#9 ~__shared_ptr (this=0x13eaf48, __in_chrg=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:914
No locals.
#10 core::ubuntu::media::ServiceImplementation::ServiceImplementation (this=0x13eaf24) at /usr/include/c++/4.9/bits/shared_ptr.h:93
        this = 0x13eaf48
#11 0x000e79f2 in construct<core::ubuntu::media::ServiceImplementation> (__p=0x13eaf24, this=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:511
No locals.
#12 _S_construct<core::ubuntu::media::ServiceImplementation> (__p=0x13eaf24, __a=...) at /usr/include/c++/4.9/bits/alloc_traits.h:253
No locals.
#13 construct<core::ubuntu::media::ServiceImplementation> (__p=0x13eaf24, __a=...) at /usr/include/c++/4.9/bits/alloc_traits.h:399
No locals.
#14 _Sp_counted_ptr_inplace<> (__a=..., this=0x13eaf18) at /usr/include/c++/4.9/bits/shared_ptr_base.h:515
No locals.
#15 construct<std::_Sp_counted_ptr_inplace<core::ubuntu::media::ServiceImplementation, std::allocator<core::ubuntu::media::ServiceImplementation>, (__gnu_cxx::_Lock_policy)2>, std::allocator<core::ubuntu::media::ServiceImplementation> const> (__p=<optimized out>,
    this=<synthetic pointer>) at /usr/include/c++/4.9/ext/new_allocator.h:120
No locals.
#16 _S_construct<std::_Sp_counted_ptr_inplace<core::ubuntu::media::ServiceImplementation, std::allocator<core::ubuntu::media::ServiceImplementation>, (__gnu_cxx::_Lock_policy)2>, std::allocator<core::ubuntu::media::ServiceImplementation> const> (__p=<optimized out>,
    __a=<synthetic pointer>) at /usr/include/c++/4.9/bits/alloc_traits.h:253
No locals.
#17 construct<std::_Sp_counted_ptr_inplace<core::ubuntu::media::ServiceImplementation, std::allocator<core::ubuntu::media::ServiceImplementation>, (__gnu_cxx::_Lock_policy)2>, std::allocator<core::ubuntu::media::ServiceImplementation> const> (__p=<optimized out>,
    __a=<synthetic pointer>) at /usr/include/c++/4.9/bits/alloc_traits.h:399
No locals.
#18 __shared_count<core::ubuntu::media::ServiceImplementation, std::allocator<core::ubuntu::media::ServiceImplementation> > (__a=..., this=0xbee2e598) at /usr/include/c++/4.9/bits/shared_ptr_base.h:619
No locals.
#19 std::__shared_ptr<core::ubuntu::media::ServiceImplementation, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<core::ubuntu::media::ServiceImplementation>>(std::_Sp_make_shared_tag, std::allocator<core::ubuntu::media::ServiceImplementation> const&) (
    this=this@entry=0xbee2e594, __tag=..., __tag@entry=..., __a=...) at /usr/include/c++/4.9/bits/shared_ptr_base.h:1090
No locals.
#20 0x000e71bc in shared_ptr<std::allocator<core::ubuntu::media::ServiceImplementation> > (__a=..., __tag=..., this=0xbee2e594) at /usr/include/c++/4.9/bits/shared_ptr.h:316
No locals.
#21 allocate_shared<core::ubuntu::media::ServiceImplementation, std::allocator<core::ubuntu::media::ServiceImplementation> > (__a=...) at /usr/include/c++/4.9/bits/shared_ptr.h:588
No locals.
#22 make_shared<core::ubuntu::media::ServiceImplementation> () at /usr/include/c++/4.9/bits/shared_ptr.h:604
No locals.
#23 main () at /build/buildd/media-hub-2.0.0+15.04.20141126.2/src/core/media/server/server.cpp:39

Related branches

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

This bug was fixed in the package media-hub - 2.0.0+15.04.20150108-0ubuntu1

---------------
media-hub (2.0.0+15.04.20150108-0ubuntu1) vivid; urgency=low

  [ Jim Hodapp ]
  * Pause playback when recording begins. (LP: #1398047)

  [ Ricardo Salveti de Araujo ]
  * call_monitor.cpp: waiting for bridge to be up, and also protecting
    the on_change call (LP: #1408137)
 -- Ubuntu daily release <email address hidden> Thu, 08 Jan 2015 12:58:01 +0000

Changed in media-hub (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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