davmor2@stryder:~$ adb shell root@ubuntu-phablet:/# ps aux | grep unity-system-compositor root 1579 0.3 0.8 226644 15460 ? Sl 09:27 1:30 unity-system-compositor --file /tmp/mir_socket --from-dm-fd 10 --to-dm-fd 13 --vt 1 root 30122 0.0 0.0 1700 520 pts/33 S+ 16:13 0:00 grep --color=auto unity-system-compositor root@ubuntu-phablet:/# gdb unity-system-compositor 1579 GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from unity-system-compositor...(no debugging symbols found)...done. Attaching to program: /usr/sbin/unity-system-compositor, process 1579 Reading symbols from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Reading symbols from /lib/arm-linux-gnueabihf/libpthread.so.0...(no debugging symbols found)...done. [New LWP 1729] [New LWP 1728] [New LWP 1726] [New LWP 1725] [New LWP 1724] [New LWP 1723] [New LWP 1722] [New LWP 1721] [New LWP 1720] [New LWP 1719] [New LWP 1718] [New LWP 1717] [New LWP 1716] [New LWP 1715] [New LWP 1714] [New LWP 1713] [New LWP 1703] [New LWP 1702] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Loaded symbols for /lib/arm-linux-gnueabihf/libpthread.so.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.54.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.54.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libboost_program_options.so.1.54.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libboost_program_options.so.1.54.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2 Reading symbols from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 Reading symbols from /usr/lib/arm-linux-gnueabihf/libQt5DBus.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libQt5DBus.so.5 Reading symbols from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 Reading symbols from /lib/arm-linux-gnueabihf/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libgcc_s.so.1 Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libc.so.6 Reading symbols from /lib/ld-linux-armhf.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux-armhf.so.3 Reading symbols from /usr/lib/arm-linux-gnueabihf/libmirprotobuf.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libmirprotobuf.so.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libmirclient.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libmirclient.so.7 Reading symbols from /usr/lib/arm-linux-gnueabihf/libhybris-egl/libEGL.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libhybris-egl/libEGL.so.1 Reading symbols from /usr/lib/arm-linux-gnueabihf/libglog.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libglog.so.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libgflags.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libgflags.so.2 Reading symbols from /usr/lib/arm-linux-gnueabihf/libxkbcommon.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libxkbcommon.so.0 Reading symbols from /usr/lib/arm-linux-gnueabihf/libprotobuf.so.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libprotobuf.so.8 Reading symbols from /lib/arm-linux-gnueabihf/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libdl.so.2 Reading symbols from /lib/arm-linux-gnueabihf/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libm.so.6 Reading symbols from /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1 Reading symbols from /lib/arm-linux-gnueabihf/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libz.so.1 Reading symbols from /usr/lib/arm-linux-gnueabihf/libicui18n.so.52...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libicui18n.so.52 Reading symbols from /usr/lib/arm-linux-gnueabihf/libicuuc.so.52...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libicuuc.so.52 Reading symbols from /lib/arm-linux-gnueabihf/libglib-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libglib-2.0.so.0 Reading symbols from /lib/arm-linux-gnueabihf/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/librt.so.1 Reading symbols from /lib/arm-linux-gnueabihf/libdbus-1.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libdbus-1.so.3 Reading symbols from /usr/lib/arm-linux-gnueabihf/libhardware.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libhardware.so.2 Reading symbols from /usr/lib/arm-linux-gnueabihf/libandroid-properties.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libandroid-properties.so.1 Reading symbols from /usr/lib/arm-linux-gnueabihf/libicudata.so.52...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libicudata.so.52 Reading symbols from /lib/arm-linux-gnueabihf/libpcre.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/arm-linux-gnueabihf/libpcre.so.3 Reading symbols from /usr/lib/arm-linux-gnueabihf/liblttng-ust-tracepoint.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/liblttng-ust-tracepoint.so.0 Reading symbols from /usr/lib/liburcu-bp.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/liburcu-bp.so.1 Reading symbols from /usr/lib/arm-linux-gnueabihf/libmirplatformgraphics.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libmirplatformgraphics.so Reading symbols from /usr/lib/arm-linux-gnueabihf/libhybris/eglplatform_null.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libhybris/eglplatform_null.so 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 (gdb) thread apply all bt Thread 19 (Thread 0xb3605450 (LWP 1702)): Cannot access memory at address 0x0 #0 0xb4b45bbc in ?? () #1 0xb476aa70 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 18 (Thread 0xb2e05450 (LWP 1703)): #0 0xb4b44704 in ?? () #1 0xb4b51cca in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 17 (Thread 0xb23fe450 (LWP 1713)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb4381b62 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 16 (Thread 0xb19e4450 (LWP 1714)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () ---Type to continue, or q to quit--- from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb69fc5e0 in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 #3 0xb6ecf7d4 in std::thread::_Impl ()> >::_M_run() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #4 0xb69fea14 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 15 (Thread 0xb11e4450 (LWP 1715)): #0 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0x00026b1e in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue&) () #2 0x00027bf2 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () #3 0x00020784 in SystemCompositor::main() () #4 0xb69fea14 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 14 (Thread 0xb09e4450 (LWP 1716)): #0 0xb68ffaa2 in poll () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb62eb4e6 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) ---Type to continue, or q to quit--- Thread 13 (Thread 0xaffff450 (LWP 1717)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 12 (Thread 0xaf7ff450 (LWP 1718)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 11 (Thread 0xaefff450 (LWP 1719)): #0 0xb6dd05c4 in __libc_do_syscall () ---Type to continue, or q to quit--- from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 10 (Thread 0xae7ff450 (LWP 1720)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 9 (Thread 0xadfff450 (LWP 1721)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 ---Type to continue, or q to quit--- #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 8 (Thread 0xad7ff450 (LWP 1722)): #0 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb6e901b2 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #2 0xb6e91f68 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 7 (Thread 0xacfff450 (LWP 1723)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 ---Type to continue, or q to quit--- Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 6 (Thread 0xac7ff450 (LWP 1724)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 0xabfff450 (LWP 1725)): #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0xab7ff450 (LWP 1726)): ---Type to continue, or q to quit--- #0 0xb6dd05c4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6dcc1cc in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e92046 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ea489e in ?? () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0xaa7ff450 (LWP 1728)): #0 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb6ee6a08 in android::EventHub::getEvents(int, android::RawEvent*, unsigned int) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #2 0xb6efef98 in android::InputReader::loopOnce() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #3 0xb6ef2c3a in android::InputReaderThread::threadLoop() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #4 0xb6ef0e16 in std::thread::_Impl >::_M_run() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #5 0xb69fea14 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) ---Type to continue, or q to quit--- Thread 2 (Thread 0xa9fff450 (LWP 1729)): #0 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb682c490 in android::Looper::pollInner(int) () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.7 #2 0xb682c7f4 in android::Looper::pollOnce(int, int*, int*, void**) () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.7 #3 0xb6ef083e in android::InputDispatcher::dispatchOnce() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #4 0xb6ee8296 in android::InputDispatcherThread::threadLoop() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #5 0xb6ef0e16 in std::thread::_Impl >::_M_run() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #6 0xb69fea14 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0xb4baf000 (LWP 1579)): #0 0xb6908d12 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb6e901b2 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #2 0xb6e91f68 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 ---Type to continue, or q to quit--- #3 0xb6e8f064 in mir::AsioMainLoop::run() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #4 0xb6e820c2 in mir::DisplayServer::run() () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #5 0xb6e7f2e6 in mir::run_mir(mir::ServerConfiguration&, std::function) () from /usr/lib/arm-linux-gnueabihf/libmirserver.so.15 #6 0x00024f52 in SystemCompositor::run(int, char**) () #7 0x0002022c in main () (gdb)