[regression] mir_demo_standalone_render_surfaces fails to start on krillin

Bug #1449198 reported by Kevin DuBois
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Kevin DuBois
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

segfault on startup:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xafbff450 (LWP 13389)]
0xafbfecb0 in ?? ()
(gdb) bt
#0 0xafbfecb0 in ?? ()
#1 0xb6bb0c42 in glClearColor ()
   from /usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2
#2 0x0003b6b4 in (anonymous namespace)::RenderSurfacesDisplayBufferCompositor::composite(<unknown type in /home/phablet/mir/bin/.mir_demo_standalone_render_surfaces-uninstalled, CU 0x0, DIE 0x22992>) (
    this=0xaf223da0,
    scene_sequence=<unknown type in /home/phablet/mir/bin/.mir_demo_standalone_render_surfaces-uninstalled, CU 0x0, DIE 0x22992>)
    at /home/kdub/source/mir/mir/examples/render_surfaces.cpp:252
#3 0xb6de28de in mir::compositor::CompositingFunctor::operator() (
    this=0xc4a80)
    at /home/kdub/source/mir/mir/src/server/compositor/multi_threaded_compositor.cpp:181
#4 0xb6de5e04 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
#5 0xb6cf7b6c in std::function<void ()>::operator()() const (
    this=0xafbfedbc)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:2439
#6 0xb6e9e9a8 in (anonymous namespace)::Task::execute (
    this=0xafbfedbc)
    at /home/kdub/source/mir/mir/src/server/thread/basic_thread_pool.cpp:40
#7 0xb6e9ec4e in (anonymous namespace)::Worker::operator() (
    this=0xc4b88)
    at /home/kdub/source/mir/mir/src/server/thread/basic_thread_pool.cpp:91
#8 0xb6ea189a in std::__invoke<(anonymous namespace)::Worker> (
    __f=...)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:202
#9 0xb6ea186e in std::reference_wrapper<(anonymous namespace)::Worker>::operator()<>(void) const (this=0xc46b8)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:435
#10 0xb6ea181e in std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()>::_M_invoke<>(std::_Index_tuple<>) (
    this=0xc46b8)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1700
#11 0xb6ea1760 in std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()>::operator()(void) (this=0xc46b8)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/functional:1688
#12 0xb6ea16f6 in std::thread::_Impl<std::_Bind_simple<std::reference_wrapper<(anonymous namespace)::Worker>()> >::_M_run(void) (
    this=0xc46ac)
    at /usr/arm-linux-gnueabihf/include/c++/4.9.2/thread:115
#13 0xb6b7c2a0 in ?? ()
   from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#14 0xb66b9490 in start_thread ()
   from /lib/arm-linux-gnueabihf/libpthread.so.0
#15 0xb69fbc4c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt st---Type <return> to continue, or q <return> to quit---

Tags: regression

Related branches

Revision history for this message
Kevin DuBois (kdub) wrote :

in rendering the mir image to its surface, it changes the context from the display buffer's context. Since the default display buffer always sets the clear color, it seemed best just to remove the attemtp to alter the clear color.

Changed in mir:
milestone: none → 0.13.0
status: New → In Progress
assignee: nobody → Kevin DuBois (kdub)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.13.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.13.1+15.10.20150520-0ubuntu1

---------------
mir (0.13.1+15.10.20150520-0ubuntu1) wily; urgency=medium

  [ Cemil Azizoglu ]
  * New upstream release 0.13.1 (https://launchpad.net/mir/+milestone/0.13.1)
    - ABI summary: No ABI break. Servers and clients do not need rebuilding.
      . Mirclient ABI unchanged at 8
      . Mircommon ABI unchanged at 4
      . Mirplatform ABI unchanged at 7
      . Mirserver ABI unchanged at 31
    - Bug fixes:
      . Can't load app purchase UI without a U1 account (LP: #1450377)
      . Crash because uncaught exception in mir::events::add_touch (LP: #1437357)

 -- CI Train Bot <email address hidden> Wed, 20 May 2015 21:20:15 +0000

Changed in mir (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.