2016-05-04 16:39:18 |
Gerry Boland |
description |
I can occasionally reproduce a crash in ubuntu-app-launch when running the ubuntuuitoolkit autopilot test suite on the phone.
Here is the backtrace:
Program received signal SIGABRT, Aborted.
0xb607e9a6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0 0xffffffff in () at /lib/arm-linux-gnueabihf/libc.so.6
#1 0xffffffff in raise () at /lib/arm-linux-gnueabihf/libc.so.6
#2 0xffffffff in abort () at /lib/arm-linux-gnueabihf/libc.so.6
#3 0xffffffff in __gnu_cxx::__verbose_terminate_handler() ()
at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#4 0xffffffff in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>)
at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#5 0xffffffff in std::terminate() ()
at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#6 0xffffffff in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*)) (obj=0x1487958, tinfo=0xb622f260 <typeinfo for std::runtime_error>, dest=
0xb61d708d <std::runtime_error::~runtime_error()>)
at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:87
#7 0xffffffff in ubuntu::app_launch::Application::create(ubuntu::app_launch::AppID const&, std::shared_ptr<ubuntu::app_launch::Registry> const&) ()
at /usr/lib/arm-linux-gnueabihf/libubuntu-app-launch.so.2
#8 0xffffffff in ()
at /usr/lib/arm-linux-gnueabihf/qt5/qml/Unity/Application/libunityapplicationplugin.so
#9 0xffffffff in qtmir::upstart::TaskController::getInfoForApp(QString const&) const ()
at /usr/lib/arm-linux-gnueabihf/qt5/qml/Unity/Application/libunityapplicationplugin.so
#10 0xffffffff in qtmir::ApplicationManager::authorizeSession(int, bool&) ()
at /usr/lib/arm-linux-gnueabihf/qt5/qml/Unity/Application/libunityapplicationplugin.so
#11 0xffffffff in QMetaCallEvent::placeMetaCall(QObject*) (a=<optimized out>, r=0x1264cd8, this=0x1265638) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 0xffffffff in QMetaCallEvent::placeMetaCall(QObject*) (this=<optimized out>, object=0x1264cd8) at kernel/qobject.cpp:483
#13 0xffffffff in QObject::event(QEvent*) (this=<optimized out>, e=<optimized out>)
at kernel/qobject.cpp:1245
#14 0xffffffff in QCoreApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:997
#15 0xffffffff in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=
0xffc4b8, receiver=receiver@entry=0x1264cd8, event=event@entry=0xae108798)
at kernel/qcoreapplication.cpp:935
#16 0xffffffff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0xae108798, receiver=0x1264cd8)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#17 0xffffffff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xffc588)
at kernel/qcoreapplication.cpp:1552
#18 0xffffffff in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#19 0xffffffff in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x101c620)
at kernel/qeventdispatcher_glib.cpp:271
#20 0xffffffff in g_main_context_dispatch (context=0x101f560)
---Type <return> to continue, or q <return> to quit---
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3122
#21 0xffffffff in g_main_context_dispatch (context=context@entry=0x101f560)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3737
#22 0xffffffff in g_main_context_iterate (context=context@entry=0x101f560, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3808
#23 0xffffffff in g_main_context_iteration (context=0x101f560, may_block=1)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3869
#24 0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x101ee70, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#25 0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0xbe912318, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#26 0xffffffff in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#27 0x0001486e in ()
#28 0xffffffff in __libc_start_main () at /lib/arm-linux-gnueabihf/libc.so.6
#29 0x000148f8 in _start () |
I can occasionally reproduce a crash in ubuntu-app-launch when running the ubuntuuitoolkit autopilot test suite on the phone.
Here is the backtrace: http://pastebin.ubuntu.com/16221016/
Looking into UAL code, ubuntu::app_launch::Application::create can throw a std::runtime_error. This needs to be caught to not abort the shell |
|