Caught exception at Mir/EGL driver boundary: /build/buildd/mir-0.8.0+14.10.20141010/src/client/rpc/stream_socket_transport.cpp(164): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_data(const std::vector<unsigned char>&)

Bug #1383696 reported by Sergio Schvezov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Invalid
High
Alexandros Frantzis
qtmir (Ubuntu)
Invalid
High
Alexandros Frantzis

Bug Description

When opening an application I sometimes get an app that never opens, on launch ps shows the whole group (oxide) as being suspended and there's this error in the log:

Caught exception at Mir/EGL driver boundary: /build/buildd/mir-0.8.0+14.10.20141010/src/client/rpc/stream_socket_transport.cpp(164): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_data(const std::vector<unsigned char>&)
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorEEEEE
std::exception::what: Failed to send message to server: Broken pipe

Not really reproduceable on every launch, closing and relaunching the application solves it

$ system-image-cli -i
current build number: 117
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2014-10-19 08:18:48
version version: 117
version ubuntu: 20141019
version device: 20141015-32e0f27
version custom: 1413412663

Tags: ota-1 rtm14
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
tags: added: rtm14
Revision history for this message
kevin gunn (kgunn72) wrote :

marking dup of bug 1368652

Revision history for this message
kevin gunn (kgunn72) wrote :

not a dup, in this instance we need to determine why the mir server is dying

Changed in qtmir (Ubuntu):
importance: Undecided → Critical
Changed in mir:
importance: Undecided → Critical
Revision history for this message
kevin gunn (kgunn72) wrote :

is this launched from the command line? or simply launched from the dash?

also, is there a particular application this is happening with ?

Revision history for this message
kevin gunn (kgunn72) wrote :

@alf - seems like this one may also be related
bug 1382162

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

@kevin: I thought the log I attached would give that away :-)

So,

- launched from the dash
- here maps (but I'm not sure it's the only app that can cause this)

kevin gunn (kgunn72)
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
Changed in qtmir (Ubuntu):
assignee: nobody → Alexandros Frantzis (afrantzis)
tags: added: touch-2014-11-13
Revision history for this message
kevin gunn (kgunn72) wrote :

marking as high per RTM bug review

Changed in mir:
importance: Critical → High
Changed in qtmir (Ubuntu):
importance: Critical → High
Changed in mir:
milestone: none → 0.9.0
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

With rtm-proposed image r135 I haven't been able to reproduce this exact problem yet. However, occasionally when I tap the maps icon nothing happens and I get:

UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file

and in unity8.log:

qtmir.mir: SessionAuthorizer::connection_is_allowed - this= SessionAuthorizer(0x191d5fc) pid= 31607
qtmir.applications: ApplicationManager::authorizeSession - pid= 31607
ApplicationManager REJECTED connection from app with pid 31607 as no desktop_file_hint specified
qtmir.applications: ApplicationManager::onProcessFailed - appId= "com.nokia.heremaps_here" duringStartup= true
ApplicationManager::onProcessFailed - upstart reports failure of application "com.nokia.heremaps_here" that AppManager is not managing
qtmir.applications: ApplicationManager::onProcessStopped - appId= "com.nokia.heremaps_here"
ApplicationManager::onProcessStopped reports stop of appId= "com.nokia.heremaps_here" which AppMan is not managing, ignoring the event

So it seems that under some circumstances the desktop_file_hint is not correctly set or read. Could be a different issue, or a different manifestation of the same issue this bug describes, not sure yet.

kevin gunn (kgunn72)
tags: added: ota-1
removed: touch-2014-11-13
Changed in mir:
milestone: 0.9.0 → 0.10.0
Changed in mir:
milestone: 0.10.0 → 0.11.0
Changed in mir:
milestone: 0.11.0 → 0.12.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

AFAIK, this error always gets spat out when the server vanishes and the client doesn't expect it. Are you sure unity8 hadn't crashed and quickly restarted?

Also, are we sure we need to keep this bug open when bug 1368652 and bug 1312099 already exist?

Changed in mir:
milestone: 0.12.0 → none
status: New → Incomplete
Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1383696] Caught exception at Mir/EGL driver boundary:/build/buildd/mir-0.8.0+14.10.20141010/src/client/rpc/stream_socket_transport.cpp(164): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_data(const std::vector<unsigned char>&)

On miércoles, 11 de febrero de 2015 04h'20:12 BRST, Daniel van Vugt wrote:
> AFAIK, this error always gets spat out when the server vanishes and the
> client doesn't expect it. Are you sure unity8 hadn't crashed and quickly
> restarted?

You can't really expect me to look over a 6month old bug that seldom
happens?

> Also, are we sure we need to keep this bug open when bug 1368652 and bug
> 1312099 already exist?

Just dup or close it ;-)

>
> ** Changed in: mir
> Milestone: 0.12.0 => None
>
> ** Changed in: mir
> Status: New => Incomplete
>

--
Sent using Dekko from my Ubuntu device

Changed in mir:
status: Incomplete → Invalid
Changed in qtmir (Ubuntu):
status: New → Invalid
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.