← Back to team overview

touch-packages team mailing list archive

[Bug 1358210] Re: [regression] mir_demo_server_shell segfaults immediately in generate_frame_corner_texture() [amd64], or displays corrupt titlebars [armhf]

 

This bug was fixed in the package mir - 0.7.0+14.10.20140829-0ubuntu1

---------------
mir (0.7.0+14.10.20140829-0ubuntu1) utopic; urgency=medium

  [ Daniel van Vugt ]
  * New upstream release 0.7.0 (https://launchpad.net/mir/+milestone/0.7.0)
    - Enhancements:
      . Test suite: Reworked mechanism to override Mir client functions
      . Demo shell: Detect custom rendering (decorations) to make it
        compatible with overlay optimizations
      . Make sure to preserve fd resources until the end of the sending
        of the message
      . Add test cases and script for tracking changes to the new ABIs:
        libmircommon, libmirplatform
      . Symbols file for libmirplatform
      . Symbols file for libmircommon
      . Symbols file for libmirserver
      . Various improvements to the SessionMediator test
      . Various build related improvements
      . Print testcase output during package build
      . Abort test when InProcessServer startup fails
      . Link the integration and unit tests against the server objects
      . Add a document detailing the useful tests to run and the useful
        logs to collect when troubleshooting a new android chipset
      . Enable motion event resampling and prediction for a more responsive
        touch experience.
    - ABI summary: Servers need rebuilding, but clients do not
      . Mirclient ABI unchanged at 8
      . Mircommon ABI bumped to 1
      . Mirplatform ABI bumped to 2
      . Mirserver ABI bumped to 25
    - API changes
      . Deleted function - frontend::Shell::create_surface_for(). If you have
        the std::shared_ptr<frontend::Session> session, you can just do
        session->create_surface(params) instead to get a SurfaceId
    - Bug fixes:
      . Ensure we process lifecycle events before the nested server is torn
        down (LP: #1353465)
      . Fix race in InputTestingServerConfiguration (LP: #1354446)
      . Fix fd leaks in prompt session frontend code and tests (LP: #1353461)
      . Detect the additional things the demo shell draws on the renderable
        list and avoid calling the optimized post function if they are being
        drawn (LP: #1348330)
      . Client: Fix SIGTERM dispatch in our default lifecycle event handler
        (LP: #1353867)
      . DemoRenderer: Don't try to create a texture of width zero.
        (LP: #1358210)
      . Fix CI failures (LP: #1358698)
      . Fix build failure: "variable ‘rc’ set but not used" which happens in
        release mode when NDEBUG is set (LP: #1358625)
      . Only enumerate exposed input surfaces to avoid delivering events to
        occluded surfaces (LP: #1359264)
      . Android: do not post driver cancelled buffers (LP: #1359406)
      . Client: Ensure our platform library stays loaded for as long as it is
        needed by other objects (LP: #1358191)
      . Examples: Register the DemoCompositor with the Scene to properly
        process visibility events (LP: #1359487)
      . Mir_demo_client_basic: Don't assert on user errors like failing to
        connect to a Mir server (LP: #1331958)
      . Tests: Explicitly depend on GMock target to avoid build races
        (LP: #1362646)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Fri, 29 Aug 2014 16:12:54 +0000

** Changed in: mir (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1358210

Title:
  [regression] mir_demo_server_shell segfaults immediately in
  generate_frame_corner_texture() [amd64], or displays corrupt titlebars
  [armhf]

Status in Mir:
  Fix Committed
Status in Mir 0.6 series:
  Invalid
Status in Mir 0.7 series:
  Fix Committed
Status in “mir” package in Ubuntu:
  Fix Released

Bug description:
  [regression] mir_demo_server_shell segfaults immediately in
  generate_frame_corner_texture() from DemoRenderer::DemoRenderer()

  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007f6f184fa404 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  (gdb) bt
  #0  0x00007f6f184fa404 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  #1  0x00007f6f184ff898 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  #2  0x00007f6f182f9f76 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  #3  0x00007f6f1840c0e2 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  #4  0x00007f6f182e9e38 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
  #5  0x000000000045b2e0 in (anonymous namespace)::generate_frame_corner_texture
      (corner_radius=0, color=..., highlight=255 '\377')
      at /home/dan/bzr/mir/dev/examples/demo-shell/demo_renderer.cpp:133
  #6  0x000000000045b40e in mir::examples::DemoRenderer::DemoRenderer (
      this=0x7f6efc000950, program_factory=..., display_area=..., 
      dest_alpha=mir::compositor::DestinationAlpha::opaque, titlebar_height=30, 
      shadow_radius=80)
      at /home/dan/bzr/mir/dev/examples/demo-shell/demo_renderer.cpp:157
  #7  0x0000000000459d49 in mir::examples::DemoCompositor::DemoCompositor (
      this=0x7f6efc000920, display_buffer=..., scene=
      std::shared_ptr (count 8, weak 1) 0x1c59a50, factory=..., report=
      std::shared_ptr (count 4, weak 1) 0x19235d0)
      at /home/dan/bzr/mir/dev/examples/demo-shell/demo_compositor.cpp:52
  #8  0x0000000000450fee in mir::examples::DisplayBufferCompositorFactory::create_compositor_for (this=0x1c5a400, display_buffer=...)
      at /home/dan/bzr/mir/dev/examples/demo-shell/demo_shell.cpp:69
  #9  0x00007f6f1ea3e9f6 in mir::compositor::CompositingFunctor::operator() (
      this=0x1d638e0)
      at /home/dan/bzr/mir/dev/src/server/compositor/multi_threaded_compositor.cpp:113
  #10 0x00007f6f1ea42881 in std::__invoke<mir::compositor::CompositingFunctor> (
      __f=...) at /usr/include/c++/4.9/functional:202
  #11 0x00007f6f1ea42856 in std::reference_wrapper<mir::compositor::CompositingFunctor>::operator()<>() const (this=0x191c688)
      at /usr/include/c++/4.9/functional:435
  #12 0x00007f6f1ea427a8 in std::_Bind_simple<std::reference_wrapper<mir::compositor::CompositingFunctor> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x191c688)
      at /usr/include/c++/4.9/functional:1700
  #13 0x00007f6f1ea42682 in std::_Bind_simple<std::reference_wrapper<mir::compositor::CompositingFunctor> ()>::operator()() (this=0x191c688)
      at /usr/include/c++/4.9/functional:1688
  #14 0x00007f6f1ea4258c in std::thread::_Impl<std::_Bind_simple<std::reference_wrapper<mir::compositor::CompositingFunctor> ()> >::_M_run() (this=0x191c670)
      at /usr/include/c++/4.9/thread:115
  #15 0x00007f6f1d5e7c60 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  #16 0x00007f6f1be19165 in start_thread (arg=0x7f6f12836700)
      at pthread_create.c:309
  #17 0x00007f6f1cd454dd in clone ()
      at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1358210/+subscriptions