Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: MemoryLeak despite disposing of V8 Script Engines

$
0
0
Here's the callstack with arguments. It's strange to me that NtWaitForSingleObject is called with all 0s. It's also strange to me that code_range_size is waiting on anything, because in the V8 code, this is just a field lookup:

https://v8docs.nodesource.com/io.js-1.2/d4/da0/v8_8h_source.html#l04338
0:000> ~113 kb
RetAddr           : Args to Child                                                           : Call Site
000007fe`fda210dc : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!NtWaitForSingleObject+0xa
000007fe`c6906319 : 00000000`69160df0 00000000`00000000 00000000`00000000 00000000`000010cc : KERNELBASE!WaitForSingleObjectEx+0x9c
000007fe`c6b1f970 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : v8_x64!v8::ResourceConstraints::code_range_size+0xeb9
000007fe`f2b74f7f : 00000000`69274840 00000000`00000000 00000000`00000000 00000000`00000000 : v8_x64!v8::ArrayBuffer::Contents::Contents+0x1550
000007fe`f2b75126 : 000007fe`f2c2cb80 00000000`00000000 00000000`00000000 00000000`00000000 : msvcr120!beginthreadex+0x107
00000000`77a459cd : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : msvcr120!endthreadex+0x192
00000000`77c7b981 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd
00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
Any thoughts?

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images