Closed Bug 627141 Opened 13 years ago Closed 13 years ago

mochitest-chrome leaking 3 instances of nsStringBuffer, with two crashes in the plugin-container process

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 626956

People

(Reporter: ehsan.akhgari, Unassigned)

Details

(Keywords: memory-leak)

The crashes involve js-ctypes in plugin-container:

 0  mozjs.dll!js::ctypes::ConvertToJS(JSContext *,JSObject *,JSObject *,void *,bool,bool,jsval_layout *) [typedefs.h:b22bb39e834f : 107 + 0x3]
    eip = 0x692cc78c   esp = 0x0026d3f0   ebp = 0x0026d5e8   ebx = 0x00000000
    esi = 0x00e0b168   edi = 0xffff0007   eax = 0x00000004   ecx = 0x00000008
    edx = 0x00000004   efl = 0x00010283
    Found by: given as instruction pointer in context
 1  mozjs.dll!js::ctypes::PointerType::ContentsGetter [CTypes.cpp:b22bb39e834f : 3393 + 0x1a]
    eip = 0x692d400f   esp = 0x0026d5f0   ebp = 0x0026d620
    Found by: call frame info
 2  mozjs.dll!js::CallJSPropertyOp(JSContext *,int (*)(JSContext *,JSObject *,jsid,js::Value *),JSObject *,jsid,js::Value *) [jscntxtinlines.h:b22bb39e834f : 736 + 0x12]
    eip = 0x690d0f45   esp = 0x0026d628   ebp = 0x0026d63c
    Found by: call frame info
 3  mozjs.dll!js::Shape::get(JSContext *,JSObject *,JSObject *,JSObject *,js::Value *) [jsscopeinlines.h:b22bb39e834f : 256 + 0x50]
    eip = 0x690d8d73   esp = 0x0026d644   ebp = 0x0026d66c
    Found by: call frame info
 4  mozjs.dll!js_NativeGetInline [jsobj.cpp:b22bb39e834f : 5141 + 0x1b]
    eip = 0x690d8acf   esp = 0x0026d674   ebp = 0x0026d6c8
    Found by: call frame info
 5  mozjs.dll!js_GetPropertyHelperWithShapeInline [jsobj.cpp:b22bb39e834f : 5320 + 0x20]
    eip = 0x690d9647   esp = 0x0026d6d0   ebp = 0x0026d720
    Found by: call frame info
 6  mozjs.dll!js_GetPropertyHelperInline [jsobj.cpp:b22bb39e834f : 5341 + 0x24]
    eip = 0x690d97eb   esp = 0x0026d728   ebp = 0x0026d750
    Found by: call frame info
 7  mozjs.dll!js_GetPropertyHelper(JSContext *,JSObject *,jsid,unsigned int,js::Value *) [jsobj.cpp:b22bb39e834f : 5347 + 0x1c]
    eip = 0x690d97b0   esp = 0x0026d758   ebp = 0x0026d770
    Found by: call frame info
 8  mozjs.dll!js::Interpret(JSContext *,JSStackFrame *,unsigned int,JSInterpMode) [jsinterp.cpp:b22bb39e834f : 4201 + 0x6c]
    eip = 0x690a4ed6   esp = 0x0026d778   ebp = 0x0026e800
    Found by: call frame info
 9  mozjs.dll!js::RunScript(JSContext *,JSScript *,JSStackFrame *) [jsinterp.cpp:b22bb39e834f : 657 + 0x10]
    eip = 0x69094d2c   esp = 0x0026e808   ebp = 0x0026e828   ebx = 0x00000000
    Found by: call frame info
10  mozjs.dll!js::Invoke(JSContext *,js::CallArgs const &,unsigned int) [jsinterp.cpp:b22bb39e834f : 737 + 0x10]
    eip = 0x69095197   esp = 0x0026e830   ebp = 0x0026e888
    Found by: call frame info
11  mozjs.dll!js::ExternalInvoke(JSContext *,js::Value const &,js::Value const &,unsigned int,js::Value *,js::Value *) [jsinterp.cpp:b22bb39e834f : 858 + 0xe]
    eip = 0x690961c3   esp = 0x0026e890   ebp = 0x0026e8c8
    Found by: call frame info
12  mozjs.dll!js::ExternalInvoke [jsinterp.h:b22bb39e834f : 961 + 0x29]
    eip = 0x68ff2500   esp = 0x0026e8d0   ebp = 0x0026e8f0
    Found by: call frame info
13  mozjs.dll!JS_CallFunctionValue [jsapi.cpp:b22bb39e834f : 5019 + 0x37]
    eip = 0x68ff2954   esp = 0x0026e8f8   ebp = 0x0026e924
    Found by: call frame info
14  xul.dll!mozilla::jetpack::JetpackActorCommon::RecvMessage(JSContext *,nsString const &,InfallibleTArray<mozilla::jetpack::Variant> const &,InfallibleTArray<mozilla::jetpack::Variant> *) [JetpackActorCommon.cpp:b22bb39e834f : 475 + 0x37]
    eip = 0x6971d491   esp = 0x0026e92c   ebp = 0x0026ea60
    Found by: call frame info
15  xul.dll!mozilla::jetpack::JetpackChild::RecvSendMessage(nsString const &,InfallibleTArray<mozilla::jetpack::Variant> const &) [JetpackChild.cpp:b22bb39e834f : 191 + 0x21]
    eip = 0x697167d5   esp = 0x0026ea68   ebp = 0x0026ea98
    Found by: call frame info
16  xul.dll!mozilla::jetpack::PJetpackChild::OnMessageReceived(IPC::Message const &) [PJetpackChild.cpp:b22bb39e834f : 276 + 0x1a]
    eip = 0x69abe9a2   esp = 0x0026eaa0   ebp = 0x0026eb80
    Found by: call frame info
17  xul.dll!mozilla::ipc::AsyncChannel::OnDispatchMessage(IPC::Message const &) [AsyncChannel.cpp:b22bb39e834f : 262 + 0x1d]
    eip = 0x6991585b   esp = 0x0026eb88   ebp = 0x0026eb94
    Found by: call frame info
18  xul.dll!mozilla::ipc::RPCChannel::OnMaybeDequeueOne() [RPCChannel.cpp:b22bb39e834f : 433 + 0xb]
    eip = 0x6991d5a1   esp = 0x0026eb9c   ebp = 0x0026ec14
    Found by: call frame info
19  xul.dll!DispatchToMethod<mozilla::ipc::RPCChannel,bool ( mozilla::ipc::RPCChannel::*)(void)>(mozilla::ipc::RPCChannel *,bool ( mozilla::ipc::RPCChannel::*)(void),Tuple0 const &) [tuple.h:b22bb39e834f : 383 + 0x8]
    eip = 0x6992643c   esp = 0x0026ec1c   ebp = 0x0026ec1c
    Found by: call frame info
20  xul.dll!RunnableMethod<mozilla::ipc::RPCChannel,bool ( mozilla::ipc::RPCChannel::*)(void),Tuple0>::Run() [task.h:b22bb39e834f : 307 + 0x1d]
    eip = 0x6992582e   esp = 0x0026ec24   ebp = 0x0026ec38
    Found by: call frame info
21  xul.dll!mozilla::ipc::RPCChannel::RefCountedTask::Run() [RPCChannel.h:b22bb39e834f : 450 + 0x19]
    eip = 0x6991d25a   esp = 0x0026ec40   ebp = 0x0026ec44
    Found by: call frame info
22  xul.dll!mozilla::ipc::RPCChannel::DequeueTask::Run() [RPCChannel.h:b22bb39e834f : 475 + 0x18]
    eip = 0x6991d229   esp = 0x0026ec4c   ebp = 0x0026ec50
    Found by: call frame info
23  xul.dll!MessageLoop::RunTask(Task *) [message_loop.cc:b22bb39e834f : 343 + 0xc]
    eip = 0x6aaae23e   esp = 0x0026ec58   ebp = 0x0026ec78
    Found by: call frame info
24  xul.dll!MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const &) [message_loop.cc:b22bb39e834f : 351 + 0xd]
    eip = 0x6aaae2ae   esp = 0x0026ec80   ebp = 0x0026ec88
    Found by: call frame info
25  xul.dll!MessageLoop::DoWork() [message_loop.cc:b22bb39e834f : 451 + 0xb]
    eip = 0x6aaae60d   esp = 0x0026ec90   ebp = 0x0026ecb4
    Found by: call frame info
26  xul.dll!base::MessagePumpForUI::DoRunLoop() [message_pump_win.cc:b22bb39e834f : 213 + 0x1a]
    eip = 0x6aada023   esp = 0x0026ecbc   ebp = 0x0026ecc8
    Found by: call frame info
27  xul.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate *,base::MessagePumpWin::Dispatcher *) [message_pump_win.cc:b22bb39e834f : 52 + 0xc]
    eip = 0x6aad9b7f   esp = 0x0026ecd0   ebp = 0x0026ecec   ebx = 0x7ffd7000
    Found by: call frame info
28  xul.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate *) [message_pump_win.h:b22bb39e834f : 78 + 0x14]
    eip = 0x6aad9ce5   esp = 0x0026ecf4   ebp = 0x0026ed00
    Found by: call frame info
29  xul.dll!MessageLoop::RunInternal() [message_loop.cc:b22bb39e834f : 219 + 0x1e]
    eip = 0x6aaadde6   esp = 0x0026ed08   ebp = 0x0026ed24
    Found by: call frame info
30  xul.dll!MessageLoop::RunHandler() [message_loop.cc:b22bb39e834f : 202 + 0x7]
    eip = 0x6aaadd22   esp = 0x0026ed2c   ebp = 0x0026ed5c
    Found by: call frame info
31  xul.dll!MessageLoop::Run() [message_loop.cc:b22bb39e834f : 176 + 0x7]
    eip = 0x6aaadc4d   esp = 0x0026ed64   ebp = 0x0026ed7c   ebx = 0x0026cfdc
    Found by: call frame info
32  xul.dll!XRE_InitChildProcess [nsEmbedFunctions.cpp:b22bb39e834f : 515 + 0xa]
    eip = 0x695b22c8   esp = 0x0026ed84   ebp = 0x0026fa3c
    Found by: call frame info
33  plugin-container.exe!NS_internal_main(int,char * *) [MozillaRuntimeMain.cpp:b22bb39e834f : 80 + 0x11]
    eip = 0x00f517db   esp = 0x0026fa44   ebp = 0x0026fa60
    Found by: call frame info
34  plugin-container.exe!wmain [nsWindowsWMain.cpp:b22bb39e834f : 128 + 0xc]
    eip = 0x00f511b9   esp = 0x0026fa68   ebp = 0x0026fa94
    Found by: call frame info
35  plugin-container.exe!__tmainCRTStartup [crtexe.c : 594 + 0x18]
    eip = 0x00f51b66   esp = 0x0026fa9c   ebp = 0x0026fae4
    Found by: call frame info
36  plugin-container.exe!wmainCRTStartup [crtexe.c : 413 + 0x4]
    eip = 0x00f519bd   esp = 0x0026faec   ebp = 0x0026faec   ebx = 0x0026cfdc
    Found by: call frame info
37  kernel32.dll + 0x51173
    eip = 0x767f1174   esp = 0x0026faf4   ebp = 0x0026faf8
    Found by: call frame info
38  ntdll.dll + 0x5b3f4
    eip = 0x76e7b3f5   esp = 0x0026fb00   ebp = 0x0026fb38
    Found by: previous frame's frame pointer
39  ntdll.dll + 0x5b3c7
    eip = 0x76e7b3c8   esp = 0x0026fb40   ebp = 0x0026fb50
    Found by: previous frame's frame pointer
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
No longer blocks: 438871
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.