← Back to team overview

touch-packages team mailing list archive

[Bug 1331958] Re: mir_demo_client_basic confusingly asserts instead of reporting that there is no server to connect to: `mir_connection_is_valid(mcd.connection)' failed.

 

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/1331958

Title:
  mir_demo_client_basic confusingly asserts instead of reporting that
  there is no server to connect to:
  `mir_connection_is_valid(mcd.connection)' failed.

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

Bug description:
  
  Terminal:
    $ mir_demo_client__basic

  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: mir-demos 0.3.0+14.10.20140618.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
  Uname: Linux 3.15.0-6-generic i686
  ApportVersion: 2.14.3-0ubuntu2
  Architecture: i386
  AssertionMessage: mir_demo_client_basic: /build/buildd/mir-0.3.0+14.10.20140618.1/examples/basic.c:109: demo_client: Assertion `mir_connection_is_valid(mcd.connection)' failed.
  CrashCounter: 1
  CurrentDesktop: Unity
  Date: Thu Jun 19 09:49:55 2014
  ExecutablePath: /usr/bin/mir_demo_client_basic
  InstallationDate: Installed on 2014-06-13 (5 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha i386 (20140613)
  ProcCmdline: mir_demo_client_basic
  Signal: 6
  SourcePackage: mir
  StacktraceTop:
   __assert_fail_base (fmt=0xb7601b94 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x80492dc "mir_connection_is_valid(mcd.connection)", file=file@entry=0x80492a0 "/build/buildd/mir-0.3.0+14.10.20140618.1/examples/basic.c", line=line@entry=109, function=function@entry=0x804aa90 "demo_client") at assert.c:92
   __GI___assert_fail (assertion=0x80492dc "mir_connection_is_valid(mcd.connection)", file=0x80492a0 "/build/buildd/mir-0.3.0+14.10.20140618.1/examples/basic.c", line=109, function=0x804aa90 "demo_client") at assert.c:101
   demo_client ()
   main ()
  Title: mir_demo_client_basic assert failure: mir_demo_client_basic: /build/buildd/mir-0.3.0+14.10.20140618.1/examples/basic.c:109: demo_client: Assertion `mir_connection_is_valid(mcd.connection)' failed.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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