I hooked up the allocator shim on macOS and took a trace. Then, when I click on the purple "M", about 75% of the time the renderer crashes.
[1119:775:1228/091657.276643:FATAL:heap_profiler_allocation_register.h(201)] Check failed: next_unused_cell_ < num_cells_ + 1 (1500001 vs. 1500001)
0 libbase.dylib 0x0000000116a8611e _ZN4base5debug10StackTraceC2Ev + 30
1 libbase.dylib 0x0000000116a86195 _ZN4base5debug10StackTraceC1Ev + 21
2 libbase.dylib 0x0000000116b1e620 _ZN7logging10LogMessageD2Ev + 80
3 libbase.dylib 0x0000000116b1c125 _ZN7logging10LogMessageD1Ev + 21
4 libbase.dylib 0x0000000116d7ec52 _ZN4base11trace_event8internal12FixedHashMapILm262144EPKvNS0_18AllocationRegister14AllocationInfoENS5_13AddressHasherEE11GetFreeCellEv + 306
5 libbase.dylib 0x0000000116d7dbb7 _ZN4base11trace_event8internal12FixedHashMapILm262144EPKvNS0_18AllocationRegister14AllocationInfoENS5_13AddressHasherEE6InsertERKS4_RKS6_ + 343
6 libbase.dylib 0x0000000116d7d905 _ZN4base11trace_event18AllocationRegister6InsertEPKvmRKNS0_17AllocationContextE + 357
7 libblink_platform.dylib 0x000000012f20bacd _ZN5blink25BlinkGCMemoryDumpProvider6insertEPhmPKc + 269
8 libblink_platform.dylib 0x000000012f20b23d _ZN5blink12_GLOBAL__N_116reportAllocationEPhmPKc + 45
9 libblink_core.dylib 0x00000001323308b6 _ZN5blink14HeapAllocHooks23allocationHookIfEnabledEPhmPKc + 86
10 libblink_core.dylib 0x00000001323300a9 _ZN5blink10ThreadHeap20allocateOnArenaIndexEPNS_11ThreadStateEmimPKc + 233
11 libblink_core.dylib 0x0000000133ffd381 _ZN5blink13HeapAllocator24allocateHashTableBackingIN3WTF12KeyValuePairINS_13QualifiedNameENS_6MemberINS_23SVGAnimatedPropertyBaseEEEEENS2_9HashTableIS4_S8_NS2_24KeyValuePairKeyExtractorENS_17QualifiedNameHashENS2_18HashMapValueTraitsINS2_10HashTraitsIS4_EENSD_IS7_EEEESE_S0_EEEEPT_m + 65
12 libblink_core.dylib 0x0000000133ffc6b1 _ZN3WTF9HashTableIN5blink13QualifiedNameENS_12KeyValuePairIS2_NS1_6MemberINS1_23SVGAnimatedPropertyBaseEEEEENS_24KeyValuePairKeyExtractorENS1_17QualifiedNameHashENS_18HashMapValueTraitsINS_10HashTraitsIS2_EENSB_IS6_EEEESC_NS1_13HeapAllocatorEE13allocateTableEj + 33
13 libblink_core.dylib 0x0000000133ffc1fe _ZN3WTF9HashTableIN5blink13QualifiedNameENS_12KeyValuePairIS2_NS1_6MemberINS1_23SVGAnimatedPropertyBaseEEEEENS_24KeyValuePairKeyExtractorENS1_17QualifiedNameHashENS_18HashMapValueTraitsINS_10HashTraitsIS2_EENSB_IS6_EEEESC_NS1_13HeapAllocatorEE6rehashEjPS7_ + 126
14 libblink_core.dylib 0x0000000133ffbe2b _ZN3WTF9HashTableIN5blink13QualifiedNameENS_12KeyValuePairIS2_NS1_6MemberINS1_23SVGAnimatedPropertyBaseEEEEENS_24KeyValuePairKeyExtractorENS1_17QualifiedNameHashENS_18HashMapValueTraitsINS_10HashTraitsIS2_EENSB_IS6_EEEESC_NS1_13HeapAllocatorEE6expandEPS7_ + 187
15 libblink_core.dylib 0x0000000133ffb936 _ZN3WTF9HashTableIN5blink13QualifiedNameENS_12KeyValuePairIS2_NS1_6MemberINS1_23SVGAnimatedPropertyBaseEEEEENS_24KeyValuePairKeyExtractorENS1_17QualifiedNameHashENS_18HashMapValueTraitsINS_10HashTraitsIS2_EENSB_IS6_EEEESC_NS1_13HeapAllocatorEE3addINS_17HashMapTranslatorISE_S9_EERKS2_RPS5_EENS_18HashTableAddResultISG_S7_EEOT0_OT1_ + 486
16 libblink_core.dylib 0x0000000133ffb70c _ZN3WTF7HashMapIN5blink13QualifiedNameENS1_6MemberINS1_23SVGAnimatedPropertyBaseEEENS1_17QualifiedNameHashENS_10HashTraitsIS2_EENS7_IS5_EENS1_13HeapAllocatorEE9inlineAddIRKS2_RPS4_EENS_18HashTableAddResultINS_9HashTableIS2_NS_12KeyValuePairIS2_S5_EENS_24KeyValuePairKeyExtractorES6_NS_18HashMapValueTraitsIS8_S9_EES8_SA_EESK_EEOT_OT0_ + 60
17 libblink_core.dylib 0x0000000133fe8b64 _ZN3WTF7HashMapIN5blink13QualifiedNameENS1_6MemberINS1_23SVGAnimatedPropertyBaseEEENS1_17QualifiedNameHashENS_10HashTraitsIS2_EENS7_IS5_EENS1_13HeapAllocatorEE3setIRKS2_RPS4_EENS_18HashTableAddResultINS_9HashTableIS2_NS_12KeyValuePairIS2_S5_EENS_24KeyValuePairKeyExtractorES6_NS_18HashMapValueTraitsIS8_S9_EES8_SA_EESK_EEOT_OT0_ + 68
18 libblink_core.dylib 0x0000000133fe3c09 _ZN5blink10SVGElement16addToPropertyMapEPNS_23SVGAnimatedPropertyBaseE + 73
19 libblink_core.dylib 0x0000000133fe3b3c _ZN5blink10SVGElementC2ERKNS_13QualifiedNameERNS_8DocumentENS_4Node16ConstructionTypeE + 220
20 libblink_core.dylib 0x0000000134053070 _ZN5blink18SVGGraphicsElementC2ERKNS_13QualifiedNameERNS_8DocumentENS_4Node16ConstructionTypeE + 64
21 libblink_core.dylib 0x0000000134048960 _ZN5blink18SVGGeometryElementC2ERKNS_13QualifiedNameERNS_8DocumentENS_4Node16ConstructionTypeE + 64
22 libblink_core.dylib 0x0000000133fc5259 _ZN5blink16SVGCircleElementC2ERNS_8DocumentE + 57
23 libblink_core.dylib 0x0000000133fc476d _ZN5blink16SVGCircleElementC1ERNS_8DocumentE + 29
24 libblink_core.dylib 0x0000000133fc46eb _ZN5blink16SVGCircleElement6createERNS_8DocumentE + 43
25 libblink_core.dylib 0x000000013255dcc8 _ZN5blinkL17circleConstructorERNS_8DocumentENS_18CreateElementFlagsE + 24
26 libblink_core.dylib 0x000000013255c80e _ZN5blink17SVGElementFactory16createSVGElementERKN3WTF12AtomicStringERNS_8DocumentENS_18CreateElementFlagsE + 126
27 libblink_core.dylib 0x0000000132b4261a _ZN5blink8Document13createElementERKNS_13QualifiedNameENS_18CreateElementFlagsE + 234
28 libblink_core.dylib 0x0000000132b44042 _ZN5blink8Document10importNodeEPNS_4NodeEbRNS_14ExceptionStateE + 786
29 libblink_core.dylib 0x0000000132b43bdc _ZN5blink8Document27importContainerNodeChildrenEPNS_13ContainerNodeES2_RNS_14ExceptionStateE + 172
30 libblink_core.dylib 0x0000000132b4409e _ZN5blink8Document10importNodeEPNS_4NodeEbRNS_14ExceptionStateE + 878
31 libblink_core.dylib 0x0000000132b43bdc _ZN5blink8Document27importContainerNodeChildrenEPNS_13ContainerNodeES2_RNS_14ExceptionStateE + 172
32 libblink_core.dylib 0x0000000132b4409e _ZN5blink8Document10importNodeEPNS_4NodeEbRNS_14ExceptionStateE + 878
33 libblink_core.dylib 0x0000000132b43bdc _ZN5blink8Document27importContainerNodeChildrenEPNS_13ContainerNodeES2_RNS_14ExceptionStateE + 172
34 libblink_core.dylib 0x0000000132b44311 _ZN5blink8Document10importNodeEPNS_4NodeEbRNS_14ExceptionStateE + 1505
35 libblink_core.dylib 0x0000000134432107 _ZN5blink18DocumentV8InternalL16importNodeMethodERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 2503
36 libblink_core.dylib 0x000000013443170f _ZN5blink18DocumentV8Internal24importNodeMethodCallbackERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 47
37 ??? 0x0000224e6800a30b 0x0 + 37720147665675
Using https://codereview.chromium.org/2601573002/ to hook up the allocator shim on mac. Given that the trace is being successfully emitted and loaded, don't think there are any problems on that front.
|
Deleted:
trace_test10.json.gz
3.4 MB
|
Comment 1 by erikc...@chromium.org
, Dec 28 2016