Ubuntu Pastebin

Paste from greyback at Fri, 17 Jul 2015 12:23:01 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
Program received signal SIGINT, Interrupt.
0xb6b70d46 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
(gdb) bt
#0  0xb6b70d46 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6c93a in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6d2752e in __gthread_cond_timedwait (__cond=0x6d3f28, __mutex=0x6d3f10, __abs_timeout=0xbec8c788)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/arm-linux-gnueabihf/bits/gthr-default.h:871
#3  0xb6d305fa in std::condition_variable::__wait_until_impl<std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > (this=0x6d3f28, __lock=..., __atime=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:165
#4  0xb6d2fe0e in std::condition_variable::wait_until<std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > (this=0x6d3f28, __lock=..., __atime=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:105
#5  0xb6d2f546 in std::condition_variable::wait_until<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}) (this=0x6d3f28, __lock=..., __atime=..., __p=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:128
#6  0xb6d2e838 in std::condition_variable::wait_for<long long, std::ratio<1ll, 1ll>, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}) (
    this=0x6d3f28, __lock=..., __rtime=..., __p=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:144
#7  0xb6d2d14c in std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> > (this=0x6d3f08, __rel=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/future:336
#8  0xb6d2b9b4 in std::__basic_future<void>::wait_for<long long, std::ratio<1ll, 1ll> > (this=0x6d3ee4, __rel=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/future:604
#9  0xb6d2ac84 in mir::compositor::CompositingFunctor::wait_until_started (this=0x6d3e60)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:224
#10 0xb6d27e4e in mir::compositor::MultiThreadedCompositor::create_compositing_threads (this=0x636424)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:360
#11 0xb6d27abc in mir::compositor::MultiThreadedCompositor::start (this=0x636424)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:307
#12 0xb6cef828 in mir::scene::MediatingDisplayChanger::<lambda()>::operator()(void) const (__closure=0x637548)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:191
#13 0xb6cf0c86 in std::_Function_handler<void(), mir::scene::MediatingDisplayChanger::apply_config(const std::shared_ptr<mir::graphics::DisplayConfiguration>&, mir::DisplayChanger::SystemStateHandling)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#14 0xb6c3f090 in std::function<void ()>::operator()() const (this=0xbec8c964) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#15 0xb6ceec74 in (anonymous namespace)::ApplyNowAndRevertOnScopeExit::~ApplyNowAndRevertOnScopeExit (this=0xbec8c964, __in_chrg=<optimized out>)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:49
#16 0xb6cef8be in mir::scene::MediatingDisplayChanger::apply_config (this=0x63664c, conf=std::shared_ptr (count 2, weak 0) 0x63ec60, 
    pause_resume_system=mir::DisplayChanger::PauseResumeSystem)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:193
#17 0xb6cef94e in mir::scene::MediatingDisplayChanger::apply_base_config (this=0x63664c, pause_resume_system=mir::DisplayChanger::PauseResumeSystem)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:206
#18 0xb6cef5ee in mir::scene::MediatingDisplayChanger::<lambda()>::operator()(void) const (__closure=0x53c3c0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:153
#19 0xb6cf0a5e in std::_Function_handler<void(), mir::scene::MediatingDisplayChanger::configure_for_hardware_change(const std::shared_ptr<mir::graphics::DisplayConfiguration>&, mir::DisplayChanger::SystemStateHandling)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#20 0xb6c3f090 in std::function<void ()>::operator()() const (this=0x53c3ac) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#21 0xb6c52b9a in mir::GLibMainLoop::<lambda()>::operator()(void) const (__closure=0x53c3a8)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/glib_main_loop.cpp:192
#22 0xb6c5426e in std::_Function_handler<void(), mir::GLibMainLoop::enqueue(void const*, const ServerAction&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#23 0xb6c3f090 in std::function<void ()>::operator()() const (this=0x53c380) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
---Type <return> to continue, or q <return> to quit---
#24 0xb6c59de8 in mir::detail::ServerActionGSource::dispatch (source=0x53c348)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/glib_main_loop_sources.cpp:202
#25 0xb67ebf68 in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#26 0xb67ec114 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) t a a bt

Thread 14 (Thread 0xb266f450 (LWP 4109)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6c6b0 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb4d6ab62 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0xb5e01450 (LWP 1365)):
#0  0xb6464c04 in ?? ()
#1  0xb61fea70 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xb5601450 (LWP 1366)):
#0  0xb646374c in ?? ()
#1  0xb6470d6a in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xb3049450 (LWP 1371)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6c6b0 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb4d6ab62 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xb1c44450 (LWP 1387)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6c6b0 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6a986e4 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0xb6d07cd8 in mir::scene::SnapshottingFunctor::operator() (this=0x635ca0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/threaded_snapshot_strategy.cpp:58
#4  0xb6d0a486 in std::__invoke<mir::scene::SnapshottingFunctor> (__f=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:202
#5  0xb6d0a45a in std::reference_wrapper<mir::scene::SnapshottingFunctor>::operator()<>() const (this=0x635f68) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:435
#6  0xb6d0a40a in std::_Bind_simple<std::reference_wrapper<mir::scene::SnapshottingFunctor> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x635f68)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#7  0xb6d0a34c in std::_Bind_simple<std::reference_wrapper<mir::scene::SnapshottingFunctor> ()>::operator()() (this=0x635f68)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#8  0xb6d0a2e2 in std::thread::_Impl<std::_Bind_simple<std::reference_wrapper<mir::scene::SnapshottingFunctor> ()> >::_M_run() (this=0x635f5c)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#9  0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#10 0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#11 0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xb12ff450 (LWP 1396)):
#0  0xb6990132 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0x0003a12e in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) ()
#2  0x0003b568 in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
#3  0x00038e20 in ?? ()
---Type <return> to continue, or q <return> to quit---
#4  0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#5  0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#6  0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xb0aff450 (LWP 1401)):
#0  0xb6990132 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0x0003ec26 in usc::DBusEventLoop::run(std::promise<void>&) ()
#2  0x00041b58 in ?? ()
#3  0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#5  0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xb00ff450 (LWP 1404)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6e95c in __lll_lock_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6b6a19e in pthread_mutex_lock () from /lib/arm-linux-gnueabihf/libpthread.so.0
#3  0xb6c39af2 in __gthread_mutex_lock (__mutex=0x636468) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/arm-linux-gnueabihf/bits/gthr-default.h:748
#4  0xb6c3a800 in std::mutex::lock (this=0x636468) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:135
#5  0xb6c57806 in std::unique_lock<std::mutex>::lock (this=0xb00fea34) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:474
#6  0xb6c56d30 in std::unique_lock<std::mutex>::unique_lock (this=0xb00fea34, __m=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:406
#7  0xb6d27940 in mir::compositor::MultiThreadedCompositor::schedule_compositing (this=0x636424, num=1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:279
#8  0xb6d276bc in mir::compositor::MultiThreadedCompositor::MultiThreadedCompositor(std::shared_ptr<mir::graphics::Display> const&, std::shared_ptr<mir::compositor::Scene> const&, std::shared_ptr<mir::compositor::DisplayBufferCompositorFactory> const&, std::shared_ptr<mir::compositor::DisplayListener> const&, std::shared_ptr<mir::compositor::CompositorReport> const&, bool)::{lambda()#1}::operator()() const () at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:264
#9  0xb6d28e36 in std::_Function_handler<void(), mir::compositor::MultiThreadedCompositor::MultiThreadedCompositor(const std::shared_ptr<mir::graphics::Display>&, const std::shared_ptr<mir::compositor::Scene>&, const std::shared_ptr<mir::compositor::DisplayBufferCompositorFactory>&, const std::shared_ptr<mir::compositor::DisplayListener>&, const std::shared_ptr<mir::compositor::CompositorReport>&, bool)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#10 0xb6c3f090 in std::function<void ()>::operator()() const (this=0x63d7c0) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#11 0xb6d0b4fc in mir::scene::LegacySurfaceChangeNotification::resized_to (this=0x63d7bc)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/legacy_surface_change_notification.cpp:36
#12 0xb6ccff8c in mir::scene::SurfaceObservers::<lambda(const std::shared_ptr<mir::scene::SurfaceObserver>&)>::operator()(const std::shared_ptr<mir::scene::SurfaceObserver> &) const
    (__closure=0xb020e988, observer=std::shared_ptr (count 3, weak 1) 0x63d7bc)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:58
#13 0xb6cd397e in std::_Function_handler<void(const std::shared_ptr<mir::scene::SurfaceObserver>&), mir::scene::SurfaceObservers::resized_to(const mir::geometry::Size&)::<lambda(const std::shared_ptr<mir::scene::SurfaceObserver>&)> >::_M_invoke(const std::_Any_data &, const std::shared_ptr<mir::scene::SurfaceObserver> &) (__functor=..., 
    __args#0=std::shared_ptr (count 3, weak 1) 0x63d7bc) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#14 0xb6cd8950 in std::function<void (std::shared_ptr<mir::scene::SurfaceObserver> const&)>::operator()(std::shared_ptr<mir::scene::SurfaceObserver> const&) const (this=0xb00feb0c, 
    __args#0=std::shared_ptr (count 3, weak 1) 0x63d7bc) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#15 0xb6cd7768 in mir::ThreadSafeList<std::shared_ptr<mir::scene::SurfaceObserver> >::for_each(std::function<void (std::shared_ptr<mir::scene::SurfaceObserver> const&)> const&) (
    this=0xacd04a68, f=...) at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/include/common/mir/thread_safe_list.h:80
#16 0xb6ccffca in mir::scene::SurfaceObservers::resized_to (this=0xacd04a60, size=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:58
#17 0xb6cd111e in mir::scene::BasicSurface::resize (this=0xacd04a50, desired_size=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:312
---Type <return> to continue, or q <return> to quit---
#18 0x000370e4 in usc::WindowManager::resize_scene_to_cloned_display_intersection() ()
#19 0xb6d9c296 in mir::shell::AbstractShell::add_display (this=0x636294, area=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/shell/abstract_shell.cpp:206
#20 0xb6d9c2bc in virtual thunk to mir::shell::AbstractShell::add_display(mir::geometry::Rectangle const&) ()
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/shell/abstract_shell.cpp:207
#21 0xb6d2a59c in mir::compositor::CompositingFunctor::operator()()::{lambda()#3}::operator()() const::{lambda(mir::graphics::DisplayBuffer&)#1}::operator()(mir::graphics::DisplayBuffer) const (__closure=0xb0211ee0, buffer=...) at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:146
#22 0xb6d2d72a in std::_Function_handler<void (mir::graphics::DisplayBuffer&), mir::compositor::CompositingFunctor::operator()()::{lambda()#3}::operator()() const::{lambda(mir::graphics::DisplayBuffer&)#1}>::_M_invoke(std::_Any_data const&, mir::graphics::DisplayBuffer&) (__functor=..., __args#0=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#23 0xb6236bc8 in ?? () from /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.2
#24 0xb6d2a5fc in mir::compositor::CompositingFunctor::operator()()::{lambda()#3}::operator()() const (__closure=0xb00fecf4)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:146
#25 0xb6d2d90e in mir::raii::PairedCalls<mir::compositor::CompositingFunctor::operator()()::{lambda()#3}, mir::compositor::CompositingFunctor::operator()()::{lambda()#4}>::PairedCalls({lambda()#3}&&, mir::compositor::CompositingFunctor::operator()()::{lambda()#3}&&) (this=0xb00fecd8, 
    creator=<unknown type in /usr/lib/arm-linux-gnueabihf/libmirserver.so.31, CU 0x6af5cc, DIE 0x6dc4d1>, 
    deleter=<unknown type in /usr/lib/arm-linux-gnueabihf/libmirserver.so.31, CU 0x6af5cc, DIE 0x6dc4e2>)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/include/common/mir/raii.h:33
#26 0xb6d2bf86 in mir::raii::paired_calls<mir::compositor::CompositingFunctor::operator()()::{lambda()#3}, mir::compositor::CompositingFunctor::operator()()::{lambda()#4}>(std::is_void<decltype ({parm#1}())>&&, mir::raii::PairedCalls&&) (creator=<unknown type in /usr/lib/arm-linux-gnueabihf/libmirserver.so.31, CU 0x6af5cc, DIE 0x6d984c>, 
    deleter=<unknown type in /usr/lib/arm-linux-gnueabihf/libmirserver.so.31, CU 0x6af5cc, DIE 0x6d9860>)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/include/common/mir/raii.h:66
#27 0xb6d2a8fa in mir::compositor::CompositingFunctor::operator() (this=0x6d3e60)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:148
#28 0xb6d2df9c in std::_Function_handler<void (), std::reference_wrapper<mir::compositor::CompositingFunctor> >::_M_invoke(std::_Any_data const&) (__functor=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2069
#29 0xb6c3f090 in std::function<void ()>::operator()() const (this=0xb00fedbc) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#30 0xb6deb43c in (anonymous namespace)::Task::execute (this=0xb00fedbc)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/thread/basic_thread_pool.cpp:40
#31 0xb6deb6e2 in (anonymous namespace)::Worker::operator() (this=0x63caa0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/thread/basic_thread_pool.cpp:91
#32 0xb6dee32e in std::__invoke<(anonymous namespace)::Worker> (__f=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:202
#33 0xb6dee302 in std::reference_wrapper<(anonymous namespace)::Worker>::operator()<>(void) const (this=0x63a4e8) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:435
#34 0xb6dee2b2 in std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()>::_M_invoke<>(std::_Index_tuple<>) (this=0x63a4e8)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#35 0xb6dee1f4 in std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()>::operator()(void) (this=0x63a4e8)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#36 0xb6dee18a in std::thread::_Impl<std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()> >::_M_run(void) (this=0x63a4dc)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#37 0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#38 0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#39 0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xaf8ff450 (LWP 1409)):
#0  0xb6990132 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0x0003ec26 in usc::DBusEventLoop::run(std::promise<void>&) ()
#2  0x00034b0c in ?? ()
---Type <return> to continue, or q <return> to quit---
#3  0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#5  0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xaeeff450 (LWP 1410)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6e980 in __lll_lock_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6b6a19e in pthread_mutex_lock () from /lib/arm-linux-gnueabihf/libpthread.so.0
#3  0xb6c39af2 in __gthread_mutex_lock (__mutex=0x636468) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/arm-linux-gnueabihf/bits/gthr-default.h:748
#4  0xb6c3a800 in std::mutex::lock (this=0x636468) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:135
#5  0xb6c57806 in std::unique_lock<std::mutex>::lock (this=0xaeefe59c) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:474
#6  0xb6c56d30 in std::unique_lock<std::mutex>::unique_lock (this=0xaeefe59c, __m=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/mutex:406
#7  0xb6d27940 in mir::compositor::MultiThreadedCompositor::schedule_compositing (this=0x636424, num=1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:279
#8  0xb6d276da in mir::compositor::MultiThreadedCompositor::MultiThreadedCompositor(std::shared_ptr<mir::graphics::Display> const&, std::shared_ptr<mir::compositor::Scene> const&, std::shared_ptr<mir::compositor::DisplayBufferCompositorFactory> const&, std::shared_ptr<mir::compositor::DisplayListener> const&, std::shared_ptr<mir::compositor::CompositorReport> const&, bool)::{lambda(int)#2}::operator()(int) const () at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:268
#9  0xb6d28f5a in std::_Function_handler<void(int), mir::compositor::MultiThreadedCompositor::MultiThreadedCompositor(const std::shared_ptr<mir::graphics::Display>&, const std::shared_ptr<mir::compositor::Scene>&, const std::shared_ptr<mir::compositor::DisplayBufferCompositorFactory>&, const std::shared_ptr<mir::compositor::DisplayListener>&, const std::shared_ptr<mir::compositor::CompositorReport>&, bool)::<lambda(int)> >::_M_invoke(const std::_Any_data &, int) (__functor=..., __args#0=1)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#10 0xb6c56890 in std::function<void (int)>::operator()(int) const (this=0x63d7d0, __args#0=1) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#11 0xb6d0b552 in mir::scene::LegacySurfaceChangeNotification::frame_posted (this=0x63d7bc, frames_available=1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/legacy_surface_change_notification.cpp:51
#12 0xb6cd015a in mir::scene::SurfaceObservers::<lambda(const std::shared_ptr<mir::scene::SurfaceObserver>&)>::operator()(const std::shared_ptr<mir::scene::SurfaceObserver> &) const
    (__closure=0xacd05068, observer=std::shared_ptr (count 3, weak 1) 0x63d7bc)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:76
#13 0xb6cd3cde in std::_Function_handler<void(const std::shared_ptr<mir::scene::SurfaceObserver>&), mir::scene::SurfaceObservers::frame_posted(int)::<lambda(const std::shared_ptr<mir::scene::SurfaceObserver>&)> >::_M_invoke(const std::_Any_data &, const std::shared_ptr<mir::scene::SurfaceObserver> &) (__functor=..., 
    __args#0=std::shared_ptr (count 3, weak 1) 0x63d7bc) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#14 0xb6cd8950 in std::function<void (std::shared_ptr<mir::scene::SurfaceObserver> const&)>::operator()(std::shared_ptr<mir::scene::SurfaceObserver> const&) const (this=0xaeefe684, 
    __args#0=std::shared_ptr (count 3, weak 1) 0x63d7bc) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#15 0xb6cd7768 in mir::ThreadSafeList<std::shared_ptr<mir::scene::SurfaceObserver> >::for_each(std::function<void (std::shared_ptr<mir::scene::SurfaceObserver> const&)> const&) (
    this=0xacd04a68, f=...) at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/include/common/mir/thread_safe_list.h:80
#16 0xb6cd0198 in mir::scene::SurfaceObservers::frame_posted (this=0xacd04a60, frames_available=1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:76
#17 0xb6cd0d80 in mir::scene::BasicSurface::swap_buffers(mir::graphics::Buffer*, std::function<void (mir::graphics::Buffer*)>) (this=0xacd04a50, old_buffer=0xacd048bc, complete=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/basic_surface.cpp:249
#18 0xb6d5b886 in mir::frontend::SessionMediator::advance_buffer(mir::IntWrapper<mir::frontend::detail::SessionsBufferStreamIdTag, int>, mir::frontend::BufferStream&, mir::graphics::Buffer*, std::unique_lock<std::mutex>&, std::function<void (mir::graphics::Buffer*, mir::graphics::BufferIpcMsgType)>) (this=0xacd03e34, stream_id=..., stream=..., 
    old_buffer=0xacd048bc, lock=..., complete=...) at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/session_mediator.cpp:183
#19 0xb6d5c778 in mir::frontend::SessionMediator::exchange_buffer (this=0xacd03e34, request=0xaeefe998, response=0xacd033dc, done=0xacd04478)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/session_mediator.cpp:354
#20 0xb6d69c6c in mir::frontend::detail::invoke<mir::protobuf::BufferRequest, mir::protobuf::Buffer> (mp=std::shared_ptr (count 2, weak 4) 0xacd03924, server=0xacd03e34, 
    function=&virtual table offset 100, invocation_id=500, request=0xaeefe998)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/protobuf_message_processor.cpp:132
---Type <return> to continue, or q <return> to quit---
#21 0xb6d66b46 in mir::frontend::detail::ProtobufMessageProcessor::dispatch (this=0xacd03924, invocation=..., side_channel_fds=std::vector of length 0, capacity 0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/protobuf_message_processor.cpp:218
#22 0xb6d8291a in mir::frontend::detail::SocketConnection::on_new_message (this=0xacd03c8c, error=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/socket_connection.cpp:117
#23 0xb6d82676 in mir::frontend::detail::SocketConnection::on_read_size (this=0xacd03c8c, error=...)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/socket_connection.cpp:80
#24 0xb6d83ff6 in std::_Mem_fn<void (mir::frontend::detail::SocketConnection::*)(boost::system::error_code const&)>::operator()<boost::system::error_code const&, void> (
    this=0xacd03250, __object=0xacd03c8c) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:569
#25 0xb6d83d5a in std::_Bind<std::_Mem_fn<void (mir::frontend::detail::SocketConnection::*)(boost::system::error_code const&)> (mir::frontend::detail::SocketConnection*, std::_Placeholder<1>)>::__call<void, boost::system::error_code const&, unsigned int&&, 0u, 1u>(std::tuple<boost::system::error_code const&, unsigned int&&>&&, std::_Index_tuple<0u, 1u>) (
    this=0xacd03250, __args=<unknown type in /usr/lib/arm-linux-gnueabihf/libmirserver.so.31, CU 0x943eca, DIE 0x964484>)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1264
#26 0xb6d83a16 in std::_Bind<std::_Mem_fn<void (mir::frontend::detail::SocketConnection::*)(boost::system::error_code const&)> (mir::frontend::detail::SocketConnection*, std::_Placeholder<1>)>::operator()<boost::system::error_code const&, unsigned int, void>(boost::system::error_code const&, unsigned int&&) (this=0xacd03250)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1323
#27 0xb6d836ec in std::_Function_handler<void (boost::system::error_code const&, unsigned int), std::_Bind<std::_Mem_fn<void (mir::frontend::detail::SocketConnection::*)(boost::system::error_code const&)> (mir::frontend::detail::SocketConnection*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, boost::system::error_code const&, unsigned int) (
    __functor=..., __args#0=..., __args#1=2) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#28 0xb6d8981c in std::function<void (boost::system::error_code const&, unsigned int)>::operator()(boost::system::error_code const&, unsigned int) const (this=0xaeefec60, 
    __args#0=..., __args#1=2) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#29 0xb6d891a4 in boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >::operator()(boost::system::error_code const&, unsigned int, int) (this=0xaeefec48, ec=..., bytes_transferred=2, start=0) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/impl/read.hpp:282
#30 0xb6d8ae4c in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>::operator()() (this=0xaeefec48) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/bind_handler.hpp:127
#31 0xb6d8ae24 in boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>&, ...) (function=...)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/handler_invoke_hook.hpp:69
#32 0xb6d8ae12 in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>, std::function<void (boost::system::error_code const&, unsigned int)> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>&, std::function<void (boost::system::error_code const&, unsigned int)>&) (function=..., context=...)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#33 0xb6d8ad22 in boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>, boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>&, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >*) (
---Type <return> to continue, or q <return> to quit---
    function=..., this_handler=0xaeefec48) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/impl/read.hpp:502
#34 0xb6d8ab5a in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> > >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >, boost::system::error_code, unsigned int>&, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> >&) (function=..., context=...) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#35 0xb6d8a8ca in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_exactly_t, std::function<void (boost::system::error_code const&, unsigned int)> > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int) (owner=0x636b08, base=0xacd00838) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110
#36 0xb6d75b9c in boost::asio::detail::task_io_service_operation::complete (this=0xacd00838, owner=..., ec=..., bytes_transferred=0)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#37 0xb6d772aa in boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0x636b08, base=0xacd02258, ec=..., bytes_transferred=1)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:651
#38 0xb6d75b9c in boost::asio::detail::task_io_service_operation::complete (this=0xacd02258, owner=..., ec=..., bytes_transferred=1)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#39 0xb6d77bb2 in boost::asio::detail::task_io_service::do_run_one (this=0x636b08, lock=..., this_thread=..., ec=...)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/impl/task_io_service.ipp:384
#40 0xb6d77778 in boost::asio::detail::task_io_service::run (this=0x636b08, ec=...) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/impl/task_io_service.ipp:153
#41 0xb6d77e4e in boost::asio::io_service::run (this=0x636ac0) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/impl/io_service.ipp:59
#42 0xb6d730b8 in mir::frontend::BasicConnector::<lambda()>::operator()(void) const (__closure=0x63f258)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/published_socket_connector.cpp:165
#43 0xb6d753b2 in std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()>::_M_invoke<>(std::_Index_tuple<>) (this=0x63f258)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#44 0xb6d752f4 in std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()>::operator()(void) (this=0x63f258)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#45 0xb6d7528a in std::thread::_Impl<std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()> >::_M_run(void) (this=0x63f24c)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#46 0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#47 0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#48 0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xae6ff450 (LWP 1411)):
#0  0xb6b70d44 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6b6c6b0 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6d7996c in boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> > (this=0xae6fed70, lock=...)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/posix_event.hpp:80
#3  0xb6d77be6 in boost::asio::detail::task_io_service::do_run_one (this=0x636f08, lock=..., this_thread=..., ec=...)
    at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/impl/task_io_service.ipp:395
#4  0xb6d77778 in boost::asio::detail::task_io_service::run (this=0x636f08, ec=...) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/detail/impl/task_io_service.ipp:153
#5  0xb6d77e4e in boost::asio::io_service::run (this=0x636eb0) at /home/gerry/.cache/mir-armhf-chroot/usr/include/boost/asio/impl/io_service.ipp:59
#6  0xb6d730b8 in mir::frontend::BasicConnector::<lambda()>::operator()(void) const (__closure=0x63f3b0)
---Type <return> to continue, or q <return> to quit---
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/frontend/published_socket_connector.cpp:165
#7  0xb6d753b2 in std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()>::_M_invoke<>(std::_Index_tuple<>) (this=0x63f3b0)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#8  0xb6d752f4 in std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()>::operator()(void) (this=0x63f3b0)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#9  0xb6d7528a in std::thread::_Impl<std::_Bind_simple<mir::frontend::BasicConnector::start()::<lambda()>()> >::_M_run(void) (this=0x63f3a4)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#10 0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#11 0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#12 0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xadeff450 (LWP 1412)):
#0  0xb6990132 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6be26f2 in ?? () from /usr/lib/arm-linux-gnueabihf/libmircommon.so.4
#2  0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#4  0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xad6ff450 (LWP 1413)):
#0  0xb6990132 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6e61694 in android::Looper::pollInner (this=0x5ba820, timeoutMillis=-1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-input/android/frameworks/native/libs/utils/Looper.cpp:218
#2  0xb6e61584 in android::Looper::pollOnce (this=0x5ba820, timeoutMillis=-1, outFd=0x0, outEvents=0x0, outData=0x0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-input/android/frameworks/native/libs/utils/Looper.cpp:189
#3  0xb6e0adfa in android::Looper::pollOnce (this=0x5ba820, timeoutMillis=-1)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-input/android/frameworks/native/include/utils/Looper.h:180
#4  0xb6dff2e4 in android::InputDispatcher::dispatchOnce (this=0x5ba5c8)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp:223
#5  0xb6e08dd6 in android::InputDispatcherThread::threadLoop (this=0x5ba8b0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp:4308
#6  0xb6e0aba8 in mir_input::Thread::run(char const*, int, unsigned int)::{lambda()#1}::operator()() const (__closure=0x63f230)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/3rd_party/android-deps/std/Thread.h:73
#7  0xb6e19e9e in std::_Bind_simple<mir_input::Thread::run(char const*, int, unsigned int)::{lambda()#1} ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x63f230)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#8  0xb6e19d98 in std::_Bind_simple<mir_input::Thread::run(char const*, int, unsigned int)::{lambda()#1} ()>::operator()() (this=0x63f230)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#9  0xb6e19ce6 in std::thread::_Impl<std::_Bind_simple<mir_input::Thread::run(char const*, int, unsigned int)::{lambda()#1} ()> >::_M_run() (this=0x63f224)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#10 0xb6a9b2a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#11 0xb6b68490 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#12 0xb698fc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb6f52220 (LWP 997)):
#0  0xb6b70d46 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1  0xb6b6c93a in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6d2752e in __gthread_cond_timedwait (__cond=0x6d3f28, __mutex=0x6d3f10, __abs_timeout=0xbec8c788)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/arm-linux-gnueabihf/bits/gthr-default.h:871
#3  0xb6d305fa in std::condition_variable::__wait_until_impl<std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > (this=0x6d3f28, __lock=..., __atime=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:165
#4  0xb6d2fe0e in std::condition_variable::wait_until<std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > (this=0x6d3f28, __lock=..., __atime=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:105
#5  0xb6d2f546 in std::condition_variable::wait_until<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}) (this=0x6d3f28, __lock=..., __atime=..., __p=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:128
#6  0xb6d2e838 in std::condition_variable::wait_for<long long, std::ratio<1ll, 1ll>, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&, std::future_status std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> >(std::chrono::duration<long long, std::ratio<1ll, 1ll> > const&)::{lambda()#1}) (
    this=0x6d3f28, __lock=..., __rtime=..., __p=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/condition_variable:144
#7  0xb6d2d14c in std::__future_base::_State_baseV2::wait_for<long long, std::ratio<1ll, 1ll> > (this=0x6d3f08, __rel=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/future:336
#8  0xb6d2b9b4 in std::__basic_future<void>::wait_for<long long, std::ratio<1ll, 1ll> > (this=0x6d3ee4, __rel=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/future:604
#9  0xb6d2ac84 in mir::compositor::CompositingFunctor::wait_until_started (this=0x6d3e60)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:224
#10 0xb6d27e4e in mir::compositor::MultiThreadedCompositor::create_compositing_threads (this=0x636424)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:360
#11 0xb6d27abc in mir::compositor::MultiThreadedCompositor::start (this=0x636424)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/compositor/multi_threaded_compositor.cpp:307
#12 0xb6cef828 in mir::scene::MediatingDisplayChanger::<lambda()>::operator()(void) const (__closure=0x637548)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:191
#13 0xb6cf0c86 in std::_Function_handler<void(), mir::scene::MediatingDisplayChanger::apply_config(const std::shared_ptr<mir::graphics::DisplayConfiguration>&, mir::DisplayChanger::SystemStateHandling)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#14 0xb6c3f090 in std::function<void ()>::operator()() const (this=0xbec8c964) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#15 0xb6ceec74 in (anonymous namespace)::ApplyNowAndRevertOnScopeExit::~ApplyNowAndRevertOnScopeExit (this=0xbec8c964, __in_chrg=<optimized out>)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:49
#16 0xb6cef8be in mir::scene::MediatingDisplayChanger::apply_config (this=0x63664c, conf=std::shared_ptr (count 2, weak 0) 0x63ec60, 
    pause_resume_system=mir::DisplayChanger::PauseResumeSystem)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:193
#17 0xb6cef94e in mir::scene::MediatingDisplayChanger::apply_base_config (this=0x63664c, pause_resume_system=mir::DisplayChanger::PauseResumeSystem)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:206
#18 0xb6cef5ee in mir::scene::MediatingDisplayChanger::<lambda()>::operator()(void) const (__closure=0x53c3c0)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/scene/mediating_display_changer.cpp:153
#19 0xb6cf0a5e in std::_Function_handler<void(), mir::scene::MediatingDisplayChanger::configure_for_hardware_change(const std::shared_ptr<mir::graphics::DisplayConfiguration>&, mir::DisplayChanger::SystemStateHandling)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#20 0xb6c3f090 in std::function<void ()>::operator()() const (this=0x53c3ac) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#21 0xb6c52b9a in mir::GLibMainLoop::<lambda()>::operator()(void) const (__closure=0x53c3a8)
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/glib_main_loop.cpp:192
#22 0xb6c5426e in std::_Function_handler<void(), mir::GLibMainLoop::enqueue(void const*, const ServerAction&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2039
#23 0xb6c3f090 in std::function<void ()>::operator()() const (this=0x53c380) at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#24 0xb6c59de8 in mir::detail::ServerActionGSource::dispatch (source=0x53c348)
---Type <return> to continue, or q <return> to quit---
    at /home/gerry/dev/projects/mir/override-orientation-with-unplug-fix/src/server/glib_main_loop_sources.cpp:202
#25 0xb67ebf68 in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#26 0xb67ec114 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
Download as text