From: abudovski@... Date: 2015-08-19T16:34:03+00:00 Subject: [ruby-core:70467] [Ruby trunk - Bug #11468] [Open] Two mutexes leaked in Init_Thread Issue #11468 has been reported by Alex Budovski. ---------------------------------------- Bug #11468: Two mutexes leaked in Init_Thread https://bugs.ruby-lang.org/issues/11468 * Author: Alex Budovski * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 48 bytes each. ~~~ native_mutex_initialize(&th->vm->thread_destruct_lock); native_mutex_initialize(&th->interrupt_lock); ~~~ ~~~ + 48 ( 48 - 0) 1 allocs BackTrace9CB2F14B + 1 ( 1 - 0) BackTrace9CB2F14B allocations ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv.h, 3625) ntdll!RtlAllocateHeap+79836 (d:\blue\minkernel\ntos\rtl\heap.c, 1892) ntdll!RtlpAddDebugInfoToCriticalSection+12 (d:\blue\minkernel\ntdll\resource.c, 2518) ntdll!RtlInitializeCriticalSection+5656D (d:\blue\minkernel\ntdll\resource.c, 2107) rubyprov!native_mutex_initialize+17 (e:\dev\ruby\thread_win32.c, 385) rubyprov!Init_Thread+8BD (e:\dev\ruby\thread.c, 5142) rubyprov!rb_call_inits+C7 (e:\dev\ruby\inits.c, 58) rubyprov!ruby_setup+C6 (e:\dev\ruby\eval.c, 63) ~~~ ~~~ + 48 ( 48 - 0) 1 allocs BackTrace9CB2F00B + 1 ( 1 - 0) BackTrace9CB2F00B allocations ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv.h, 3625) ntdll!RtlAllocateHeap+79836 (d:\blue\minkernel\ntos\rtl\heap.c, 1892) ntdll!RtlpAddDebugInfoToCriticalSection+12 (d:\blue\minkernel\ntdll\resource.c, 2518) ntdll!RtlInitializeCriticalSection+5656D (d:\blue\minkernel\ntdll\resource.c, 2107) rubyprov!native_mutex_initialize+17 (e:\dev\ruby\thread_win32.c, 385) rubyprov!Init_Thread+8AA (e:\dev\ruby\thread.c, 5140) rubyprov!rb_call_inits+C7 (e:\dev\ruby\inits.c, 58) rubyprov!ruby_setup+C6 (e:\dev\ruby\eval.c, 63) ~~~ -- https://bugs.ruby-lang.org/