New issue
Advanced search Search tips

Issue 817216 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Memory leak in HandleMessage of NaCl sdk,when I sending MediaStream video Object

Reported by k.nobuha...@gmail.com, Feb 28 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS armv7l 10323.39.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.89 Safari/537.36
Platform: 10323.39.0 (Official Build) beta-channel veyron_minnie

Steps to reproduce the problem:
1. Use navigator.webkitGetUserMedia() to Create MediaStream Object(in javascript)
2. Use getVideoTracks() to get a video objcet(in javascript)
3.send video objcet in naclModule.postMessage to nacl module(in javascript)
4.receive video object in naclModule.HandleMessage from JS
(in nacl module)

What is the expected behavior?

What went wrong?
system memory usage increases in step4.

As a result:
nacl status will be "crashed"
application will be crach

Did this work before? No 

Chrome version: 65.0.3325.89  Channel: beta
OS Version: 10323.39.0
Flash Version: 28.0.0.161 /opt/google/chrome/pepper/libpepflashplayer.so

Attach the test application to reproduce this bug:

Steps:
1.load Extension from Chrome browser
2.Launch test application [MediaStream Video]
3.click the button of [Repeated Send Video By PostMsg]
in this step,system memory usage is increasing
4.repeat step3
application will be crash
 
media_stream_video_MemoryLeakTest_HandleMsg.zip
1.1 MB Download

Comment 1 by alph@chromium.org, Mar 2 2018

Cc: erikc...@chromium.org
Components: -Platform>DevTools Platform>NaCl>SDK

Sign in to add a comment