Mir

Activity log for bug #1372276

Date Who What changed Old value New value Message
2014-09-22 06:29:38 Daniel van Vugt bug added bug
2014-09-22 06:56:47 Daniel van Vugt summary [regression] Nested server crashes with SIGSEGV on shutdown in eglDestroyContext() Nested server crashes with SIGSEGV on shutdown in eglDestroyContext()
2014-09-22 06:56:53 Daniel van Vugt tags regression
2014-09-22 07:20:16 Daniel van Vugt description Start a host server and nested server. Ctrl+C ... crash. (gdb) bt #0 0x00007f9e628cb2e6 in ?? () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 #1 0x00007f9e628c313a in eglDestroyContext () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 #2 0x00007f9e6453c9ef in mir::graphics::EGLContextStore::~EGLContextStore ( this=0x113a7a0, __in_chrg=<optimised out>) at /home/dan/bzr/mir/dev/src/platform/graphics/egl_resources.cpp:40 #3 0x00007f9e648e8b54 in mir::graphics::SurfacelessEGLContext::~SurfacelessEGLContext (this=0x113a770, __in_chrg=<optimised out>) at /home/dan/bzr/mir/dev/src/server/graphics/surfaceless_egl_context.cpp:175 #4 0x00007f9e648e8ba0 in mir::graphics::SurfacelessEGLContext::~SurfacelessEGLContext (this=0x113a770, __in_chrg=<optimised out>) at /home/dan/bzr/mir/dev/src/server/graphics/surfaceless_egl_context.cpp:178 #5 0x00007f9e64869032 in std::default_delete<mir::graphics::GLContext>::operator() (this=0x1255058, __ptr=0x113a770) at /usr/include/c++/4.9/bits/unique_ptr.h:76 #6 0x00007f9e648675b3 in std::unique_ptr<mir::graphics::GLContext, std::default_delete<mir::graphics::GLContext> >::~unique_ptr (this=0x1255058, __in_chrg=<optimised out>) at /usr/include/c++/4.9/bits/unique_ptr.h:236 #7 0x00007f9e6487598f in mir::scene::GLPixelBuffer::~GLPixelBuffer ( this=0x1255050, __in_chrg=<optimised out>) at /home/dan/bzr/mir/dev/src/server/scene/gl_pixel_buffer.cpp:66 #8 0x00007f9e648732df in __gnu_cxx::new_allocator<mir::scene::GLPixelBuffer>::destroy<mir::scene::GLPixelBuffer> (this=0x1255050, __p=0x1255050) at /usr/include/c++/4.9/ext/new_allocator.h:124 #9 0x00007f9e64872f4d in std::allocator_traits<std::allocator<mir::scene::GLPixelBuffer> >::_S_destroy<mir::scene::GLPixelBuffer> (__a=..., __p=0x1255050) at /usr/include/c++/4.9/bits/alloc_traits.h:282 #10 0x00007f9e64872b25 in std::allocator_traits<std::allocator<mir::scene::GLPixelBuffer> >::destroy<mir::scene::GLPixelBuffer> (__a=..., __p=0x1255050) at /usr/include/c++/4.9/bits/alloc_traits.h:411 #11 0x00007f9e64871d4f in std::_Sp_counted_ptr_inplace<mir::scene::GLPixelBuffer, std::allocator<mir::scene::GLPixelBuffer>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x1255040) at /usr/include/c++/4.9/bits/shared_ptr_base.h:524 #12 0x00007f9e647c7980 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x1255040) at /usr/include/c++/4.9/bits/shared_ptr_base.h:149 #13 0x00007f9e647c76e9 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0xf782a0, __in_chrg=<optimised out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:666 #14 0x00007f9e64866368 in std::__shared_ptr<mir::scene::PixelBuffer, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0xf78298, __in_chrg=<optimised out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:914 #15 0x00007f9e64866382 in std::shared_ptr<mir::scene::PixelBuffer>::~shared_ptr (this=0xf78298, __in_chrg=<optimised out>) at /usr/include/c++/4.9/bits/shared_ptr.h:93 #16 0x00007f9e64892acc in mir::scene::ThreadedSnapshotStrategy::~ThreadedSnapshotStrategy (this=0xf78290, __in_chrg=<optimised out>) at /home/dan/bzr/mir/dev/src/server/scene/threaded_snapshot_strategy.cpp:122 #17 0x00007f9e6487329b in __gnu_cxx::new_allocator<mir::scene::ThreadedSnapshotStrategy>::destroy<mir::scene::ThreadedSnapshotStrategy> (this=0xf78290, __p=0xf78290) at /usr/include/c++/4.9/ext/new_allocator.h:124 #18 0x00007f9e64872ef5 in std::allocator_traits<std::allocator<mir::scene::ThreadedSnapshotStrategy> >::_S_destroy<mir::scene::ThreadedSnapshotStrategy> ( __a=..., __p=0xf78290) at /usr/include/c++/4.9/bits/alloc_traits.h:282 #19 0x00007f9e64872ac1 in std::allocator_traits<std::allocator<mir::scene::ThreadedSnapshotStrategy> >::destroy<mir::scene::ThreadedSnapshotStrategy> ( __a=..., __p=0xf78290) at /usr/include/c++/4.9/bits/alloc_traits.h:411 #20 0x00007f9e64871bcf in std::_Sp_counted_ptr_inplace<mir::scene::ThreadedSnapshotStrategy, std::allocator<mir::scene::ThreadedSnapshotStrategy>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0xf78280) at /usr/include/c++/4.9/bits/shared_ptr_base.h:524 #21 0x00007f9e647c7980 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0xf78280) at /usr/include/c++/4.9/bits/shared_ptr_base.h:149 Start a host server and nested server. Ctrl+C ... crash. Test case: 1. sudo -s sh -c "bin/mir_demo_server_minimal -f /tmp/outer & sleep 2 ; bin/mir_demo_server_shell --host-socket /tmp/outer -f /tmp/inner" 2. Ctrl+C (gdb) bt #0 0x00007f9e628cb2e6 in ?? ()    from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 #1 0x00007f9e628c313a in eglDestroyContext ()    from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 #2 0x00007f9e6453c9ef in mir::graphics::EGLContextStore::~EGLContextStore (     this=0x113a7a0, __in_chrg=<optimised out>)     at /home/dan/bzr/mir/dev/src/platform/graphics/egl_resources.cpp:40 #3 0x00007f9e648e8b54 in mir::graphics::SurfacelessEGLContext::~SurfacelessEGLContext (this=0x113a770, __in_chrg=<optimised out>)     at /home/dan/bzr/mir/dev/src/server/graphics/surfaceless_egl_context.cpp:175 #4 0x00007f9e648e8ba0 in mir::graphics::SurfacelessEGLContext::~SurfacelessEGLContext (this=0x113a770, __in_chrg=<optimised out>)     at /home/dan/bzr/mir/dev/src/server/graphics/surfaceless_egl_context.cpp:178 #5 0x00007f9e64869032 in std::default_delete<mir::graphics::GLContext>::operator() (this=0x1255058, __ptr=0x113a770)     at /usr/include/c++/4.9/bits/unique_ptr.h:76 #6 0x00007f9e648675b3 in std::unique_ptr<mir::graphics::GLContext, std::default_delete<mir::graphics::GLContext> >::~unique_ptr (this=0x1255058,     __in_chrg=<optimised out>) at /usr/include/c++/4.9/bits/unique_ptr.h:236 #7 0x00007f9e6487598f in mir::scene::GLPixelBuffer::~GLPixelBuffer (     this=0x1255050, __in_chrg=<optimised out>)     at /home/dan/bzr/mir/dev/src/server/scene/gl_pixel_buffer.cpp:66 #8 0x00007f9e648732df in __gnu_cxx::new_allocator<mir::scene::GLPixelBuffer>::destroy<mir::scene::GLPixelBuffer> (this=0x1255050, __p=0x1255050)     at /usr/include/c++/4.9/ext/new_allocator.h:124 #9 0x00007f9e64872f4d in std::allocator_traits<std::allocator<mir::scene::GLPixelBuffer> >::_S_destroy<mir::scene::GLPixelBuffer> (__a=..., __p=0x1255050)     at /usr/include/c++/4.9/bits/alloc_traits.h:282 #10 0x00007f9e64872b25 in std::allocator_traits<std::allocator<mir::scene::GLPixelBuffer> >::destroy<mir::scene::GLPixelBuffer> (__a=..., __p=0x1255050)     at /usr/include/c++/4.9/bits/alloc_traits.h:411 #11 0x00007f9e64871d4f in std::_Sp_counted_ptr_inplace<mir::scene::GLPixelBuffer, std::allocator<mir::scene::GLPixelBuffer>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x1255040) at /usr/include/c++/4.9/bits/shared_ptr_base.h:524 #12 0x00007f9e647c7980 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x1255040) at /usr/include/c++/4.9/bits/shared_ptr_base.h:149 #13 0x00007f9e647c76e9 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0xf782a0, __in_chrg=<optimised out>)     at /usr/include/c++/4.9/bits/shared_ptr_base.h:666 #14 0x00007f9e64866368 in std::__shared_ptr<mir::scene::PixelBuffer, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0xf78298, __in_chrg=<optimised out>)     at /usr/include/c++/4.9/bits/shared_ptr_base.h:914 #15 0x00007f9e64866382 in std::shared_ptr<mir::scene::PixelBuffer>::~shared_ptr     (this=0xf78298, __in_chrg=<optimised out>)     at /usr/include/c++/4.9/bits/shared_ptr.h:93 #16 0x00007f9e64892acc in mir::scene::ThreadedSnapshotStrategy::~ThreadedSnapshotStrategy (this=0xf78290, __in_chrg=<optimised out>)     at /home/dan/bzr/mir/dev/src/server/scene/threaded_snapshot_strategy.cpp:122 #17 0x00007f9e6487329b in __gnu_cxx::new_allocator<mir::scene::ThreadedSnapshotStrategy>::destroy<mir::scene::ThreadedSnapshotStrategy> (this=0xf78290,     __p=0xf78290) at /usr/include/c++/4.9/ext/new_allocator.h:124 #18 0x00007f9e64872ef5 in std::allocator_traits<std::allocator<mir::scene::ThreadedSnapshotStrategy> >::_S_destroy<mir::scene::ThreadedSnapshotStrategy> (     __a=..., __p=0xf78290) at /usr/include/c++/4.9/bits/alloc_traits.h:282 #19 0x00007f9e64872ac1 in std::allocator_traits<std::allocator<mir::scene::ThreadedSnapshotStrategy> >::destroy<mir::scene::ThreadedSnapshotStrategy> (     __a=..., __p=0xf78290) at /usr/include/c++/4.9/bits/alloc_traits.h:411 #20 0x00007f9e64871bcf in std::_Sp_counted_ptr_inplace<mir::scene::ThreadedSnapshotStrategy, std::allocator<mir::scene::ThreadedSnapshotStrategy>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0xf78280)     at /usr/include/c++/4.9/bits/shared_ptr_base.h:524 #21 0x00007f9e647c7980 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0xf78280) at /usr/include/c++/4.9/bits/shared_ptr_base.h:149
2014-09-22 08:14:20 Alexandros Frantzis mir: assignee Alexandros Frantzis (afrantzis)
2014-09-22 08:14:25 Alexandros Frantzis mir: status New In Progress
2014-09-22 14:08:15 Launchpad Janitor branch linked lp:~afrantzis/mir/fix-1372276
2014-09-23 04:51:03 Daniel van Vugt nominated for series mir/0.7
2014-09-23 04:51:03 Daniel van Vugt bug task added mir/0.7
2014-09-23 05:04:15 Daniel van Vugt mir/0.7: importance Undecided High
2014-09-23 05:04:19 Daniel van Vugt mir/0.7: milestone 0.7.4
2014-09-23 05:04:22 Daniel van Vugt mir/0.7: status New Triaged
2014-09-23 09:33:14 Launchpad Janitor branch linked lp:~afrantzis/mir/fix-1372276-weak-deps
2014-09-26 05:50:53 PS Jenkins bot mir: status In Progress Fix Committed
2014-09-30 08:04:02 Daniel van Vugt mir/0.7: status Triaged In Progress
2014-09-30 08:04:11 Daniel van Vugt mir/0.7: assignee Alexandros Frantzis (afrantzis)
2014-09-30 08:04:16 Daniel van Vugt bug task added mir (Ubuntu)
2014-09-30 08:04:31 Daniel van Vugt mir (Ubuntu): importance Undecided High
2014-09-30 08:04:31 Daniel van Vugt mir (Ubuntu): status New Triaged
2014-09-30 08:04:48 Daniel van Vugt branch linked lp:~mir-team/mir/fix-1372276-0.7
2014-10-01 06:08:03 Daniel van Vugt mir/0.7: status In Progress Fix Committed
2014-10-02 08:11:01 Daniel van Vugt mir/0.7: status Fix Committed Fix Released
2014-10-09 02:30:08 Daniel van Vugt mir: status Fix Committed Fix Released
2014-10-09 06:08:32 Daniel van Vugt bug task added mir (Ubuntu RTM)
2014-10-09 06:12:06 Daniel van Vugt mir (Ubuntu RTM): importance Undecided High
2014-10-09 06:12:06 Daniel van Vugt mir (Ubuntu RTM): status New Triaged
2014-10-10 20:38:35 Launchpad Janitor branch linked lp:ubuntu/utopic-proposed/mir
2014-10-10 22:15:36 Launchpad Janitor mir (Ubuntu): status Triaged Fix Released
2014-10-10 22:21:19 Launchpad Janitor mir (Ubuntu RTM): status Triaged Fix Released