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 | # DESKTOP_SESSION=unity8-mir MIR_SOCKET=$XDG_RUNTIME_DIR/mir_socket MIR_SERVER_PROMPT_FILE=1 MIR_SERVER_HOST_SOCKET=/run/lightdm-mir-0 MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket MIR_SERVER_NAME=session-0 UNITY_INDICATOR_PROFILE=desktop QT_QPA_PLATFORM=mirserver valgrind --trace-children=yes qmlscene /home/mardy/test.qml
==16680== Memcheck, a memory error detector
==16680== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==16680== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==16680== Command: qmlscene /home/mardy/test.qml
==16680==
==16680== Memcheck, a memory error detector
==16680== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==16680== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==16680== Command: /usr/lib/i386-linux-gnu/qt5/bin/qmlscene /home/mardy/test.qml
==16680==
[1423145227.410214] (II) SharedLibrary: Loading libmirplatform5driver.so
qtmir.mir: MirServer created
[1423145234.407418] (II) Server: Starting
==16680== Thread 4 QThread:
==16680== Invalid read of size 4
==16680== at 0x966A80D: dri_destroy (gbm_dri.c:936)
==16680== by 0x9665F43: gbm_device_destroy (gbm.c:101)
==16680== by 0xA7D1841: mir::graphics::mesa::helpers::GBMHelper::~GBMHelper() (display_helpers.cpp:293)
==16680== by 0xA7E4344: mir::graphics::mesa::GuestPlatform::~GuestPlatform() (guest_platform.h:36)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (new_allocator.h:124)
==16680== by 0xA7E410F: _S_destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:282)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:411)
==16680== by 0xA7E410F: std::_Sp_counted_ptr_inplace<mir::graphics::mesa::GuestPlatform, std::allocator<mir::graphics::mesa::GuestPlatform>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:524)
==16680== by 0x8E79674: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:149)
==16680== by 0x8E7CDE3: ~__shared_count (shared_ptr_base.h:666)
==16680== by 0x8E7CDE3: ~__shared_ptr (shared_ptr_base.h:914)
==16680== by 0x8E7CDE3: ~shared_ptr (shared_ptr.h:93)
==16680== by 0x8E7CDE3: Private (display_server.cpp:85)
==16680== by 0x8E7CDE3: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C60C: void QtPrivate::FunctionPointer<void (MirServerWorker::*)()>::call<QtPrivate::List<>, void>(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== Address 0x8af9858 is 0 bytes inside a block of size 52 free'd
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x8017B31: ??? (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x800E622: eglTerminate (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x8F5670A: mir::graphics::nested::detail::EGLDisplayHandle::~EGLDisplayHandle() (nested_display.cpp:119)
==16680== by 0x8F5785B: mir::graphics::nested::NestedDisplay::NestedDisplay(std::shared_ptr<mir::graphics::Platform> const&, std::shared_ptr<mir::graphics::nested::HostConnection> const&, std::shared_ptr<mir::input::InputDispatcher> const&, std::shared_ptr<mir::graphics::DisplayReport> const&, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const&, std::shared_ptr<mir::graphics::GLConfig> const&) (nested_display.cpp:134)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: _Sp_counted_ptr_inplace<std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:515)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: __shared_count<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:619)
==16680== by 0x8F11303: __shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:1090)
==16680== by 0x8F11303: shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:316)
==16680== by 0x8F11303: allocate_shared<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:588)
==16680== by 0x8F11303: make_shared<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:604)
==16680== by 0x8F11303: operator() (default_configuration.cpp:152)
==16680== by 0x8F11303: std::_Function_handler<std::shared_ptr<mir::graphics::Display> (), mir::DefaultServerConfiguration::the_display()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:2025)
==16680== by 0x8F0F775: operator() (functional:2439)
==16680== by 0x8F0F775: operator() (cached_ptr.h:41)
==16680== by 0x8F0F775: mir::DefaultServerConfiguration::the_display() (default_configuration.cpp:160)
==16680== by 0x8E7CB81: Private (display_server.cpp:85)
==16680== by 0x8E7CB81: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680==
==16680== Invalid free() / delete / delete[] / realloc()
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x966A828: dri_destroy (gbm_dri.c:937)
==16680== by 0x9665F43: gbm_device_destroy (gbm.c:101)
==16680== by 0xA7D1841: mir::graphics::mesa::helpers::GBMHelper::~GBMHelper() (display_helpers.cpp:293)
==16680== by 0xA7E4344: mir::graphics::mesa::GuestPlatform::~GuestPlatform() (guest_platform.h:36)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (new_allocator.h:124)
==16680== by 0xA7E410F: _S_destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:282)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:411)
==16680== by 0xA7E410F: std::_Sp_counted_ptr_inplace<mir::graphics::mesa::GuestPlatform, std::allocator<mir::graphics::mesa::GuestPlatform>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:524)
==16680== by 0x8E79674: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:149)
==16680== by 0x8E7CDE3: ~__shared_count (shared_ptr_base.h:666)
==16680== by 0x8E7CDE3: ~__shared_ptr (shared_ptr_base.h:914)
==16680== by 0x8E7CDE3: ~shared_ptr (shared_ptr.h:93)
==16680== by 0x8E7CDE3: Private (display_server.cpp:85)
==16680== by 0x8E7CDE3: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== Address 0x8af7668 is 0 bytes inside a block of size 172 free'd
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x8017B18: ??? (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x800E622: eglTerminate (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x8F5670A: mir::graphics::nested::detail::EGLDisplayHandle::~EGLDisplayHandle() (nested_display.cpp:119)
==16680== by 0x8F5785B: mir::graphics::nested::NestedDisplay::NestedDisplay(std::shared_ptr<mir::graphics::Platform> const&, std::shared_ptr<mir::graphics::nested::HostConnection> const&, std::shared_ptr<mir::input::InputDispatcher> const&, std::shared_ptr<mir::graphics::DisplayReport> const&, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const&, std::shared_ptr<mir::graphics::GLConfig> const&) (nested_display.cpp:134)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: _Sp_counted_ptr_inplace<std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:515)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: __shared_count<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:619)
==16680== by 0x8F11303: __shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:1090)
==16680== by 0x8F11303: shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:316)
==16680== by 0x8F11303: allocate_shared<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:588)
==16680== by 0x8F11303: make_shared<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:604)
==16680== by 0x8F11303: operator() (default_configuration.cpp:152)
==16680== by 0x8F11303: std::_Function_handler<std::shared_ptr<mir::graphics::Display> (), mir::DefaultServerConfiguration::the_display()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:2025)
==16680== by 0x8F0F775: operator() (functional:2439)
==16680== by 0x8F0F775: operator() (cached_ptr.h:41)
==16680== by 0x8F0F775: mir::DefaultServerConfiguration::the_display() (default_configuration.cpp:160)
==16680== by 0x8E7CB81: Private (display_server.cpp:85)
==16680== by 0x8E7CB81: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680==
==16680== Invalid read of size 4
==16680== at 0x966A832: dri_destroy (gbm_dri.c:936)
==16680== by 0x9665F43: gbm_device_destroy (gbm.c:101)
==16680== by 0xA7D1841: mir::graphics::mesa::helpers::GBMHelper::~GBMHelper() (display_helpers.cpp:293)
==16680== by 0xA7E4344: mir::graphics::mesa::GuestPlatform::~GuestPlatform() (guest_platform.h:36)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (new_allocator.h:124)
==16680== by 0xA7E410F: _S_destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:282)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:411)
==16680== by 0xA7E410F: std::_Sp_counted_ptr_inplace<mir::graphics::mesa::GuestPlatform, std::allocator<mir::graphics::mesa::GuestPlatform>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:524)
==16680== by 0x8E79674: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:149)
==16680== by 0x8E7CDE3: ~__shared_count (shared_ptr_base.h:666)
==16680== by 0x8E7CDE3: ~__shared_ptr (shared_ptr_base.h:914)
==16680== by 0x8E7CDE3: ~shared_ptr (shared_ptr.h:93)
==16680== by 0x8E7CDE3: Private (display_server.cpp:85)
==16680== by 0x8E7CDE3: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C60C: void QtPrivate::FunctionPointer<void (MirServerWorker::*)()>::call<QtPrivate::List<>, void>(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== Address 0x8af985c is 4 bytes inside a block of size 52 free'd
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x8017B31: ??? (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x800E622: eglTerminate (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x8F5670A: mir::graphics::nested::detail::EGLDisplayHandle::~EGLDisplayHandle() (nested_display.cpp:119)
==16680== by 0x8F5785B: mir::graphics::nested::NestedDisplay::NestedDisplay(std::shared_ptr<mir::graphics::Platform> const&, std::shared_ptr<mir::graphics::nested::HostConnection> const&, std::shared_ptr<mir::input::InputDispatcher> const&, std::shared_ptr<mir::graphics::DisplayReport> const&, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const&, std::shared_ptr<mir::graphics::GLConfig> const&) (nested_display.cpp:134)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: _Sp_counted_ptr_inplace<std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:515)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: __shared_count<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:619)
==16680== by 0x8F11303: __shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:1090)
==16680== by 0x8F11303: shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:316)
==16680== by 0x8F11303: allocate_shared<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:588)
==16680== by 0x8F11303: make_shared<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:604)
==16680== by 0x8F11303: operator() (default_configuration.cpp:152)
==16680== by 0x8F11303: std::_Function_handler<std::shared_ptr<mir::graphics::Display> (), mir::DefaultServerConfiguration::the_display()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:2025)
==16680== by 0x8F0F775: operator() (functional:2439)
==16680== by 0x8F0F775: operator() (cached_ptr.h:41)
==16680== by 0x8F0F775: mir::DefaultServerConfiguration::the_display() (default_configuration.cpp:160)
==16680== by 0x8E7CB81: Private (display_server.cpp:85)
==16680== by 0x8E7CB81: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680==
==16680== Invalid free() / delete / delete[] / realloc()
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x966A844: dri_destroy (gbm_dri.c:938)
==16680== by 0x9665F43: gbm_device_destroy (gbm.c:101)
==16680== by 0xA7D1841: mir::graphics::mesa::helpers::GBMHelper::~GBMHelper() (display_helpers.cpp:293)
==16680== by 0xA7E4344: mir::graphics::mesa::GuestPlatform::~GuestPlatform() (guest_platform.h:36)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (new_allocator.h:124)
==16680== by 0xA7E410F: _S_destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:282)
==16680== by 0xA7E410F: destroy<mir::graphics::mesa::GuestPlatform> (alloc_traits.h:411)
==16680== by 0xA7E410F: std::_Sp_counted_ptr_inplace<mir::graphics::mesa::GuestPlatform, std::allocator<mir::graphics::mesa::GuestPlatform>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:524)
==16680== by 0x8E79674: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:149)
==16680== by 0x8E7CDE3: ~__shared_count (shared_ptr_base.h:666)
==16680== by 0x8E7CDE3: ~__shared_ptr (shared_ptr_base.h:914)
==16680== by 0x8E7CDE3: ~shared_ptr (shared_ptr.h:93)
==16680== by 0x8E7CDE3: Private (display_server.cpp:85)
==16680== by 0x8E7CDE3: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== Address 0x8af9858 is 0 bytes inside a block of size 52 free'd
==16680== at 0x402B358: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16680== by 0x8017B31: ??? (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x800E622: eglTerminate (in /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1.0.0)
==16680== by 0x8F5670A: mir::graphics::nested::detail::EGLDisplayHandle::~EGLDisplayHandle() (nested_display.cpp:119)
==16680== by 0x8F5785B: mir::graphics::nested::NestedDisplay::NestedDisplay(std::shared_ptr<mir::graphics::Platform> const&, std::shared_ptr<mir::graphics::nested::HostConnection> const&, std::shared_ptr<mir::input::InputDispatcher> const&, std::shared_ptr<mir::graphics::DisplayReport> const&, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const&, std::shared_ptr<mir::graphics::GLConfig> const&) (nested_display.cpp:134)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: _Sp_counted_ptr_inplace<std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:515)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (new_allocator.h:120)
==16680== by 0x8F11303: _S_construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:253)
==16680== by 0x8F11303: construct<std::_Sp_counted_ptr_inplace<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, (__gnu_cxx::_Lock_policy)2u>, const std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (alloc_traits.h:399)
==16680== by 0x8F11303: __shared_count<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:619)
==16680== by 0x8F11303: __shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr_base.h:1090)
==16680== by 0x8F11303: shared_ptr<std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:316)
==16680== by 0x8F11303: allocate_shared<mir::graphics::nested::NestedDisplay, std::allocator<mir::graphics::nested::NestedDisplay>, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:588)
==16680== by 0x8F11303: make_shared<mir::graphics::nested::NestedDisplay, std::shared_ptr<mir::graphics::Platform>, std::shared_ptr<mir::graphics::nested::HostConnection>, std::shared_ptr<mir::input::InputDispatcher>, std::shared_ptr<mir::graphics::DisplayReport>, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>, std::shared_ptr<mir::graphics::GLConfig> > (shared_ptr.h:604)
==16680== by 0x8F11303: operator() (default_configuration.cpp:152)
==16680== by 0x8F11303: std::_Function_handler<std::shared_ptr<mir::graphics::Display> (), mir::DefaultServerConfiguration::the_display()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:2025)
==16680== by 0x8F0F775: operator() (functional:2439)
==16680== by 0x8F0F775: operator() (cached_ptr.h:41)
==16680== by 0x8F0F775: mir::DefaultServerConfiguration::the_display() (default_configuration.cpp:160)
==16680== by 0x8E7CB81: Private (display_server.cpp:85)
==16680== by 0x8E7CB81: mir::DisplayServer::DisplayServer(mir::ServerConfiguration&) (display_server.cpp:200)
==16680== by 0x8E78EDD: mir::run_mir(mir::ServerConfiguration&, std::function<void (mir::DisplayServer&)>, std::function<void (int)> const&) (run_mir.cpp:101)
==16680== by 0x8E9F149: mir::Server::run() (server.cpp:375)
==16680== by 0x7F8AA02: MirServerWorker::run() (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680== by 0x7F8C6A7: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MirServerWorker::*)()>::call(void (MirServerWorker::*)(), MirServerWorker*, void**) (in /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so)
==16680==
ERROR: /build/buildd/mir-0.10.0+15.04.20150107.2/src/server/graphics/nested/nested_display.cpp(85): Throw in function void mir::graphics::nested::detail::EGLDisplayHandle::initialize(MirPixelFormat)
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: Failed to create shared EGL context
ERROR: QMirServer - Mir failed to start
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::logic_error> >'
what(): Cannot use configuration before apply_settings() call
==16680==
==16680== HEAP SUMMARY:
==16680== in use at exit: 414,137 bytes in 2,807 blocks
==16680== total heap usage: 13,842 allocs, 11,048 frees, 2,143,009 bytes allocated
==16680==
==16680== LEAK SUMMARY:
==16680== definitely lost: 0 bytes in 0 blocks
==16680== indirectly lost: 0 bytes in 0 blocks
==16680== possibly lost: 24,301 bytes in 635 blocks
==16680== still reachable: 389,836 bytes in 2,172 blocks
==16680== suppressed: 0 bytes in 0 blocks
==16680== Rerun with --leak-check=full to see details of leaked memory
==16680==
==16680== For counts of detected and suppressed errors, rerun with: -v
==16680== ERROR SUMMARY: 26 errors from 4 contexts (suppressed: 0 from 0)
Killed
|