memory leak on firefox nightly(49.0a1) when opening Firefox a second time.

NEW
Unassigned

Status

()

Core
XPCOM
P3
normal
a year ago
a year ago

People

(Reporter: Takashi, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36

Steps to reproduce:

I tested on Ubuntu 14.04 64 bit

1. Run firefox

./firefox

2. Run another Firefox 

I downloaded this Firefox by using funfuzz manager(domfuzz) 

funfuzz/util/downloadBuild.py --want-tests

source: https://github.com/MozillaSecurity/funfuzz/tree/master/dom


Actual results:

Debug message displays memory leak


Expected results:

I am not sure what the root cause is... Is this an intended behavior? If I am wrong... I am really sorry.
(Reporter)

Comment 1

a year ago
I uploaded my video to google drive. Please watch it.

https://drive.google.com/open?id=0B1vJ77JB-BeoYUo1MzhSNWFXNk0
(Reporter)

Comment 2

a year ago
Debug message

[3814] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/m-cen-l64-d-000000000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 174
nsStringStats
 => mAllocCount:             19
 => mReallocCount:           11
 => mFreeCount:              18  --  LEAKED 1 !!!
 => mShareCount:             14
 => mAdoptCount:              1
 => mAdoptFreeCount:          1
 => Process ID: 3814, Thread ID: 140493127751552
Group: firefox-core-security
Summary: memory leak on firefox nightly(49.0a1) → memory leak on firefox nightly(49.0a1) when opening Firefox a second time.
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

I have tested this issue on Ubuntu 16.04 x64, Ubuntu 14.04 x64 and Ubuntu 12.04 x64 with the latest Firefox release (47.0) and the latest Nightly build from the specified source in the description (49.0a1-20160511055410) and managed to reproduce it.
After downloading the build, when opening another Firefox the debug message with the memory leak is displayed in the terminal.
Status: UNCONFIRMED → NEW
Component: Untriaged → XPCOM
Ever confirmed: true
Product: Firefox → Core
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.