[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-21 Thread Cemil Azizoglu
>How would leaking the image cause a crash?

Server runs out of memory and is killed. Meanwhile, mirscreencast client
fails to connect since there is no server.

** Summary changed:

- mirscreencast crashes, fails to take screenshot
+ Buffer leak during repeated mirscreencasts causes server to be killed

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

Title:
  Buffer leak during repeated mirscreencasts causes server to be killed

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-21 Thread Daniel van Vugt
Surely both of those statements suggest we'd just leak (or freeze). How
would leaking the image cause a crash?

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

Title:
  mirscreencast crashes, fails to take screenshot

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-21 Thread Cemil Azizoglu
N4 driver is not doing decRef when eglDestroyImageKHR() is called for
the screencast DisplayBuffer.

Also,  mir is not calling eglDestroyImageKHR() for the capture buffer
(which is affecting both N4 and krillin).

 krillin  : http://pastebin.ubuntu.com/14134610/
 N4 : http://pastebin.ubuntu.com/14134689/

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

Title:
  mirscreencast crashes, fails to take screenshot

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-14 Thread Cemil Azizoglu
** Changed in: mir
 Assignee: (unassigned) => Cemil Azizoglu (cemil-azizoglu)

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

Title:
  mirscreencast crashes, fails to take screenshot

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-08 Thread Daniel van Vugt
** Tags added: screencast

** Also affects: mir
   Importance: Undecided
   Status: New

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

Title:
  mirscreencast crashes, fails to take screenshot

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1523900] Re: mirscreencast crashes, fails to take screenshot

2015-12-08 Thread Alan Pope 
** Summary changed:

- mirscreencast hangs, fails to take screenshot
+ mirscreencast crashes, fails to take screenshot

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

Title:
  mirscreencast crashes, fails to take screenshot

Status in mir package in Ubuntu:
  New

Bug description:
  Nexus 4 running latest stable image -

  current build number: 25
  device name: mako
  channel: ubuntu-touch/stable/ubuntu
  last update: 2015-12-08 11:53:16
  version version: 25
  version ubuntu: 20151118.2
  version tag: OTA-8
  version device: 20150911
  version custom: 20151118.2

  I'm running the following command to capture a screenshot of a running
  app, the unity shell, the splash screen when apps load etc.

adb shell mirscreencast -m /var/run/mir_socket  -n1

  I'm doing this in a script, across many hundreds of apps, so I'm doing
  it a lot. I'm seeing my script get wedged fairly often with errors
  such as this one:-

  [1449575031.562843]  MirConnectionAPI: Caught exception at client 
library boundary (in release): 
/build/mir-AHj2eT/mir-0.17.1+15.04.20151105.1/src/client/rpc/stream_socket_transport.cpp(168):
 Throw in function virtual void 
mir::client::rpc::StreamSocketTransport::send_message(const 
std::vector&, const std::vector&)
  Dynamic exception type: 
N5boost16exception_detail10clone_implINS0_19error_info_injectorIN3mir25socket_disconnected_errorE
  std::exception::what: Failed to send message to server: Broken pipe

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp