Mir

[regression] Some software clients crash immediately with runtime_error: Failed to import PRIME fd for DRM buffer

Bug #1215754 reported by Daniel van Vugt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

mir_demo_client_multiwin/fingerpaint crashes immediately with:

$ sudo bin/mir_demo_client_multiwin
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'
  what(): Failed to import PRIME fd for DRM buffer

Verified on two machines using the latest lp:mir r1000

Related branches

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Bisected. The regression came in:

revno: 991 [merge]
author: Alexandros Frantzis <email address hidden>
committer: Tarmac
branch nick: trunk
timestamp: Wed 2013-08-21 12:02:06 +0000
message:
  Allow clients to specify the output they want to place a surface in.

  Only fullscreen placements are supported for now, but the policy is easy to change. This MP breaks the client API/ABI, so I bumped the client ABI version. I took this opportunity to rename some fields in MirDisplayConfiguration to improve consistency.
  .

  Approved by Robert Ancell, Alan Griffiths, PS Jenkins bot.

Also verified the regression is in the server. Using r1000 mir_demo_client_multiwin works so long as the server <=r990.

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [regression] software surface clients crashe immediately with runtime_error: Failed to import PRIME fd for DRM buffer

Confirmed with mir_demo_client_fingerpaint too. So the bug is not just for multi-surface clients. Even a single surface client can trigger it. Both failures are software clients. But not all software clients trigger it (like demo_client_unaccelerated).

summary: - [regression] mir_demo_client_multiwin crashes immediately with
+ [regression] software surface clients crashe immediately with
runtime_error: Failed to import PRIME fd for DRM buffer
summary: - [regression] software surface clients crashe immediately with
- runtime_error: Failed to import PRIME fd for DRM buffer
+ [regression] Some software clients crash immediately with runtime_error:
+ Failed to import PRIME fd for DRM buffer
description: updated
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → In Progress
importance: Undecided → Medium
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.0.10

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

This bug was fixed in the package mir - 0.0.10+13.10.20130827.1-0ubuntu1

---------------
mir (0.0.10+13.10.20130827.1-0ubuntu1) saucy; urgency=low

  [ Alan Griffiths ]
  * ipc: add a protocol version to the wire protocol so that we can bump
    it in future.
  * graphics::nested: Handling of output configuration changes.
  * graphics.nested: Hookup NestedDisplay to display change
    notifications.

  [ Daniel van Vugt ]
  * Introducing mir_demo_client_progressbar. It's pretty boring;
    designed to simulate key repeat scrolling in a terminal, as an aid
    for tracking down bug 1216472. . (LP: #1216472)

  [ Eleni Maria Stea ]
  * changed the GBMBufferAllocator constructor and class to use the
    gbm_device instead of the GBMPlatform to remove the dependency from
    the mg::Platform interface - this way we can use the
    GBMBufferAllocator with the NativeGBMPlatform (nested mir).

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 1025
 -- Ubuntu daily release <email address hidden> Tue, 27 Aug 2013 18:04:47 +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.