[Webkit-unassigned] [Bug 192502] New: Ignore false-positive leaks under bmalloc::Heap::Heap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 7 10:33:56 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192502

            Bug ID: 192502
           Summary: Ignore false-positive leaks under bmalloc::Heap::Heap
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: joepeck at webkit.org, lforschler at apple.com,
                    simon.fraser at apple.com, thorton at apple.com,
                    webkit-bug-importer at group.apple.com

We should ignore false-positive leaks under bmalloc::Heap::Heap.

Eventually the `leaks` tool will handle this, but until then we need to skip these leaks.

STACK OF 1 INSTANCE OF 'ROOT LEAK: <OS_dispatch_source>':
[thread 0x16dd67000]:
29  libsystem_pthread.dylib               0x1a71ac068 start_wqthread + 4
28  libsystem_pthread.dylib               0x1a71ac24c _pthread_wqthread + 472
27  libdispatch.dylib                     0x1a6fbdd54 _dispatch_worker_thread2 + 116
26  libdispatch.dylib                     0x1a6fbd4f8 _dispatch_root_queue_drain + 344
25  libdispatch.dylib                     0x1a6fb13c0 _dispatch_queue_override_invoke + 364
24  libdispatch.dylib                     0x1a6fb63e8 _dispatch_lane_invoke$VARIANT$armv81 + 536
23  libdispatch.dylib                     0x1a6fbc4c0 _dispatch_lane_concurrent_drain + 856
22  libdispatch.dylib                     0x1a6f79808 _dispatch_client_callout + 16
21  libdispatch.dylib                     0x1a6f79848 _dispatch_call_block_and_release + 24
20  com.apple.Safari.Shared               0x1ba630abc -[WBSSiteMetadataImageCache _internalSetUpImageCache] + 468
19  com.apple.Safari.Shared               0x1ba631774 -[WBSSiteMetadataImageCache _dispatchDiskAccessBlock:] + 96
18  com.apple.Safari.Shared               0x1ba51635c SafariShared::SuddenTerminationDisabler::SuddenTerminationDisabler(NSString*) + 64
17  com.apple.Safari.Shared               0x1ba4fd5c8 SafariShared::SuddenTerminationDisabler::disableSuddenTermination() + 92
16  libdispatch.dylib                     0x1a6fbb154 _dispatch_lane_barrier_sync_invoke_and_complete + 56
15  libdispatch.dylib                     0x1a6f79808 _dispatch_client_callout + 16
14  com.apple.Safari.Shared               0x1ba4fd70c invocation function for block in SafariShared::SuddenTerminationDisabler::disableSuddenTermination() + 236
13  com.apple.Safari.Shared               0x1ba4fdc88 WTF::HashTable<SafariShared::SuddenTerminationDisabler*, SafariShared::SuddenTerminationDisabler*, WTF::IdentityExtractor, WTF::PtrHash<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*> >::add(SafariShared::SuddenTerminationDisabler*&&) + 88
12  com.apple.Safari.Shared               0x1ba4fde14 WTF::HashTable<SafariShared::SuddenTerminationDisabler*, SafariShared::SuddenTerminationDisabler*, WTF::IdentityExtractor, WTF::PtrHash<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*> >::rehash(unsigned int, SafariShared::SuddenTerminationDisabler**) + 56
11  JavaScriptCore                        0x1af1202b4 WTF::fastZeroedMalloc(unsigned long) + 124
10  JavaScriptCore                        0x1af28d688 bmalloc::Cache::allocateSlowCaseNullCache(bmalloc::HeapKind, unsigned long) + 112
9   JavaScriptCore                        0x1af28da5c bmalloc::PerHeapKindBase<bmalloc::Cache>::PerHeapKindBase<>() + 44
8   JavaScriptCore                        0x1af28d4b0 bmalloc::PerProcess<bmalloc::PerHeapKind<bmalloc::Heap> >::getSlowCase() + 180
7   JavaScriptCore                        0x1af290594 bmalloc::Heap::Heap(bmalloc::HeapKind, std::__1::lock_guard<bmalloc::Mutex>&) + 884
6   JavaScriptCore                        0x1af28cdec bmalloc::PerProcess<bmalloc::Scavenger>::getSlowCase() + 140
5   JavaScriptCore                        0x1af29632c bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::Mutex>&) + 212
4   libdispatch.dylib                     0x1a6fbfe70 dispatch_source_create$VARIANT$armv81 + 56
3   libdispatch.dylib                     0x1a6f79880 _os_object_alloc_realized + 40
2   libobjc.A.dylib                       0x1a684eb48 class_createInstance + 72
1   libsystem_malloc.dylib                0x1a716c708 calloc + 40
0   libsystem_malloc.dylib                0x1a716c7e4 malloc_zone_calloc + 184 
====
    1 (128 bytes) ROOT LEAK: <OS_dispatch_source 0x11ff74740> [128]

STACK OF 1 INSTANCE OF 'ROOT LEAK: <std::__1::__shared_ptr_emplace<std::__1::mutex, std::__1::allocator<std::__1::mutex> >>':
[thread 0x16dd67000]:
25  libsystem_pthread.dylib               0x1a71ac068 start_wqthread + 4
24  libsystem_pthread.dylib               0x1a71ac24c _pthread_wqthread + 472
23  libdispatch.dylib                     0x1a6fbdd54 _dispatch_worker_thread2 + 116
22  libdispatch.dylib                     0x1a6fbd4f8 _dispatch_root_queue_drain + 344
21  libdispatch.dylib                     0x1a6fb13c0 _dispatch_queue_override_invoke + 364
20  libdispatch.dylib                     0x1a6fb63e8 _dispatch_lane_invoke$VARIANT$armv81 + 536
19  libdispatch.dylib                     0x1a6fbc4c0 _dispatch_lane_concurrent_drain + 856
18  libdispatch.dylib                     0x1a6f79808 _dispatch_client_callout + 16
17  libdispatch.dylib                     0x1a6f79848 _dispatch_call_block_and_release + 24
16  com.apple.Safari.Shared               0x1ba630abc -[WBSSiteMetadataImageCache _internalSetUpImageCache] + 468
15  com.apple.Safari.Shared               0x1ba631774 -[WBSSiteMetadataImageCache _dispatchDiskAccessBlock:] + 96
14  com.apple.Safari.Shared               0x1ba51635c SafariShared::SuddenTerminationDisabler::SuddenTerminationDisabler(NSString*) + 64
13  com.apple.Safari.Shared               0x1ba4fd5c8 SafariShared::SuddenTerminationDisabler::disableSuddenTermination() + 92
12  libdispatch.dylib                     0x1a6fbb154 _dispatch_lane_barrier_sync_invoke_and_complete + 56
11  libdispatch.dylib                     0x1a6f79808 _dispatch_client_callout + 16
10  com.apple.Safari.Shared               0x1ba4fd70c invocation function for block in SafariShared::SuddenTerminationDisabler::disableSuddenTermination() + 236
9   com.apple.Safari.Shared               0x1ba4fdc88 WTF::HashTable<SafariShared::SuddenTerminationDisabler*, SafariShared::SuddenTerminationDisabler*, WTF::IdentityExtractor, WTF::PtrHash<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*> >::add(SafariShared::SuddenTerminationDisabler*&&) + 88
8   com.apple.Safari.Shared               0x1ba4fde14 WTF::HashTable<SafariShared::SuddenTerminationDisabler*, SafariShared::SuddenTerminationDisabler*, WTF::IdentityExtractor, WTF::PtrHash<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*>, WTF::HashTraits<SafariShared::SuddenTerminationDisabler*> >::rehash(unsigned int, SafariShared::SuddenTerminationDisabler**) + 56
7   JavaScriptCore                        0x1af1202b4 WTF::fastZeroedMalloc(unsigned long) + 124
6   JavaScriptCore                        0x1af28d688 bmalloc::Cache::allocateSlowCaseNullCache(bmalloc::HeapKind, unsigned long) + 112
5   JavaScriptCore                        0x1af28da5c bmalloc::PerHeapKindBase<bmalloc::Cache>::PerHeapKindBase<>() + 44
4   JavaScriptCore                        0x1af28d4b0 bmalloc::PerProcess<bmalloc::PerHeapKind<bmalloc::Heap> >::getSlowCase() + 180
3   JavaScriptCore                        0x1af290434 bmalloc::Heap::Heap(bmalloc::HeapKind, std::__1::lock_guard<bmalloc::Mutex>&) + 532
2   libc++abi.dylib                       0x1a68236d4 operator new(unsigned long) + 44
1   libsystem_malloc.dylib                0x1a716c8a0 malloc + 32
0   libsystem_malloc.dylib                0x1a716b4e8 malloc_zone_malloc + 200 
====
    1 (96 bytes) ROOT LEAK: <std::__1::__shared_ptr_emplace<std::__1::mutex, std::__1::allocator<std::__1::mutex> > 0x11fd5e620> [96]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181207/c60e46a3/attachment.html>


More information about the webkit-unassigned mailing list