Open Bug 1278197 Opened 8 years ago Updated 2 years ago

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

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

People

(Reporter: takashi.kazenomamani, Unassigned)

Details

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.
I uploaded my video to google drive. Please watch it.

https://drive.google.com/open?id=0B1vJ77JB-BeoYUo1MzhSNWFXNk0
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.