Uniy8 crashed when creating a wireless connection with an access point

Bug #1390618 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
Fix Released
Critical
Thomas Voß
media-hub (Ubuntu)
Fix Released
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

current build number: 11
device name: mako
channel: ubuntu-touch/vivid-proposed
last update: 2014-11-07 19:25:24
version version: 11
version ubuntu: 20141106.1
version device: 20141106
version custom: 20141106.1

Had system-settings opened in order to verify for updates, but noticed that I didn't have any valid wireless connection, so when I tried to connect with my access point, unity8 crashed completely. This happened after adding the password and hitting 'Connect'.

Related branches

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Download full text (6.6 KiB)

The stack trace, it seems to be actually a bug on media-hub/dbus-cpp.

#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0xb6154e5e 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 = 3747
        _a2 = 3747
        _name = 268
        _sys_result = <optimized out>
        pd = 0xb6f77000
        pid = 0
        selftid = 3747
#2 0xb6155b4e in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {1, 3055655487, 3055655416, 3055255819, 3055022821, 3069680328, 3069669376, 3069680504, 3069669376, 3055841280, 729240, 0, 1, 33527928, 40034132, 3069594101, 3069680504, 1, 5,
              0, 3198701360, 3054717864, 1, 3055656472, 1, 36773876, 3056202129, 40338480, 3198701360, 3069612528, 40338360, 3069670608}}, sa_flags = 1, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb62920fc in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:84
        w = <optimized out>
        exc = @0x0: <error reading variable>
        name = <optimized out>
        terminating = true
        t = <optimized out>
#4 0xb6290920 in std::rethrow_exception (ep=...) at ../../../../src/libstdc++-v3/libsupc++/eh_ptr.cc:246
        obj = <optimized out>
        dep = 0x2678430
#5 0xb6290b96 in __GXX_INIT_PRIMARY_EXCEPTION_CLASS (c=0xb629091f <std::rethrow_exception(std::__exception_ptr::exception_ptr)+86> "b\204\370#\020\204\370$\020\204\370% \204\370& \340`(F\374\367\220\350(F\373\367\200\352\375\367", <incomplete sequence \352>)
    at ../../../../src/libstdc++-v3/libsupc++/unwind-cxx.h:271
No locals.
#6 __cxxabiv1::__cxa_throw (obj=0xb6290977 <std::set_terminate(void (*)())+30>, tinfo=0xb62f7260 <typeinfo for std::runtime_error>, dest=0xb629f191 <std::out_of_range::~out_of_range()+4>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
        globals = <optimized out>
#7 0xad96371e in core::dbus::Bus::remove_match (this=<optimized out>, rule=...) at /build/buildd/dbus-cpp-4.2.0+15.04.20141105/src/core/dbus/bus.cpp:317
        se = {d = std::unique_ptr<core::dbus::Error::Private> containing 0x29c85f8}
#8 0xad96d3d2 in core::dbus::Service::remove_match (this=this@entry=0x1ff9878, rule=...) at /build/buildd/dbus-cpp-4.2.0+15.04.20141105/src/core/dbus/service.cpp:82
No locals.
#9 0xa7bd1852 in remove_match (rule=..., this=<optimized out>) at /usr/include/core/dbus/impl/object.h:331
No locals.
#10 ~Signal (this=0x25635f0, __in_chrg=<optimized out>) at /usr/include/core/dbus/impl/signal.h:35
No locals.
#11 std::_Sp_counted_ptr<core::dbus::Signal<mpris::Player::Signals::EndOfStream, void>*, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:373
No locals.
#12 0xa7bafb92 in std:...

Read more...

Revision history for this message
Thomas Voß (thomas-voss) wrote :

Thanks for the report. The issue arises when trying to communicate to the dbus daemon in a dtor, and I can easily make that call exception safe. However, that specific call failing is concerning, and we should further investigate why removing a match rule apparently fails (probably times out).

Changed in dbus-cpp (Ubuntu):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Thomas Voß (thomas-voss)
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Invalid
Changed in media-hub (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  [ thomas-voss ]
  * Bump build dependency on dbus-cpp to pull in exception safe dtor.
    (LP: #1390618)
 -- Ubuntu daily release <email address hidden> Mon, 10 Nov 2014 11:53:11 +0000

Changed in media-hub (Ubuntu):
status: Invalid → Fix Released
Changed in dbus-cpp (Ubuntu):
status: In Progress → 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.