Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to avoid heap pools crashing on exit if items are still live. #23359

Conversation

bzbarsky-apple
Copy link
Contributor

Currently a pool's destructor crashes if there are still live objects in the pool. For heap pools, add a way to not crash if the pool's destructor is running under exit(), for consumers that don't care about exit-time-only leaks.

Currently a pool's destructor crashes if there are still live objects in the
pool.  For heap pools, add a way to not crash if the pool's destructor is
running under exit(), for consumers that don't care about exit-time-only leaks.
@github-actions
Copy link

github-actions bot commented Oct 26, 2022

PR #23359: Size comparison from 9c3feda to ee5e3ab

Increases (23 builds for bl702, k32w, linux, psoc6, telink)
platform target config section 9c3feda ee5e3ab change % change
bl702 lighting-app bl702 .debug_line 5258576 5258577 1 0.0
bl702+rpc .debug_info 41877791 41877792 1 0.0
.debug_line 5633309 5633310 1 0.0
.text 1031400 1031402 2 0.0
k32w contact k32w0+release (read/write) 661604 661620 16 0.0
.text 563348 563364 16 0.0
linux all-clusters-app debug (read only) 3086329 3086681 352 0.0
(read/write) 158264 158296 32 0.0
.bss 62432 62464 32 0.1
.rodata 281355 281387 32 0.0
.text 2620658 2620978 320 0.0
all-clusters-minimal-app debug (read only) 2912089 2912473 384 0.0
(read/write) 149696 149728 32 0.0
.bss 61632 61664 32 0.1
.rodata 280811 280875 64 0.0
.text 2449906 2450226 320 0.0
bridge-app debug+rpc (read only) 2412521 2412905 384 0.0
.rodata 211168 211232 64 0.0
.text 2033874 2034194 320 0.0
chip-tool debug (read only) 11079329 11079713 384 0.0
.rodata 592117 592149 32 0.0
.text 8963364 8963716 352 0.0
chip-tool-ipv6only arm64 (read only) 10434004 10434724 720 0.0
(read/write) 706417 706433 16 0.0
.got 13904 13912 8 0.1
.text 8260148 8260852 704 0.0
lighting-app debug+rpc (read only) 2639169 2639521 352 0.0
.rodata 227968 228000 32 0.0
.text 2235298 2235618 320 0.0
lock-app debug (read only) 2601881 2602233 352 0.0
.rodata 244232 244264 32 0.0
.text 2186114 2186434 320 0.0
ota-provider-app debug (read only) 2398529 2398881 352 0.0
.rodata 216872 216904 32 0.0
.text 2013186 2013506 320 0.0
ota-requestor-app debug (read only) 2563713 2564065 352 0.0
.rodata 223920 223952 32 0.0
.text 2162226 2162546 320 0.0
shell debug (read only) 2626089 2626425 336 0.0
.rodata 240082 240114 32 0.0
.text 2226434 2226738 304 0.0
thermostat-no-ble arm64 (read only) 2392188 2392860 672 0.0
(read/write) 143633 143649 16 0.0
.got 5176 5184 8 0.2
.text 2004736 2005376 640 0.0
tv-app debug (read only) 3235297 3235713 416 0.0
.rodata 268056 268120 64 0.0
.text 2773970 2774322 352 0.0
tv-casting-app debug (read only) 5585297 5585649 352 0.0
.rodata 355833 355865 32 0.0
.text 4954082 4954402 320 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_line 3675494 3675496 2 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_line 3696286 3696288 2 0.0
light cy8ckit_062s2_43012 .debug_line 3265852 3265854 2 0.0
lock cy8ckit_062s2_43012 .debug_line 3262810 3262812 2 0.0
telink light-switch-app tlsr9518adk80d text 554272 554274 2 0.0
lighting-app tlsr9518adk80d text 566424 566428 4 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804936 804944 8 0.0
text 565296 565298 2 0.0
Decreases (5 builds for esp32, nrfconnect, psoc6)
platform target config section 9c3feda ee5e3ab change % change
esp32 all-clusters-app c3devkit (read only) 1224082 1224078 -4 -0.0
(read/write) 1788414 1788406 -8 -0.0
.flash.rodata 257968 257960 -8 -0.0
.flash.text 1224082 1224078 -4 -0.0
m5stack (read/write) 564332 564324 -8 -0.0
.flash.rodata 315032 315024 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 816264 816260 -4 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 2664183 26641831 -1 -0.0
light cy8ckit_062s2_43012 .debug_info 22103311 22103310 -1 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 9c3feda ee5e3ab change % change
bl602 lighting-app bl602 (read/write) 1390814 1390814 0 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1070132 1070132 0 0.0
bl602+rpc (read/write) 1436038 1436038 0 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1101482 1101482 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189731 1189731 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1509383 1509383 0 0.0
.debug_aranges 132008 132008 0 0.0
.debug_frame 484332 484332 0 0.0
.debug_info 37968215 37968215 0 0.0
.debug_line 5258576 5258577 1 0.0
.debug_loc 3367742 3367742 0 0.0
.debug_ranges 358608 358608 0 0.0
.debug_str 3451153 3451153 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116600 116600 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565503 565503 0 0.0
.symtab 171856 171856 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
958210 958210 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285139 1285139 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1646798 1646798 0 0.0
.debug_aranges 139512 139512 0 0.0
.debug_frame 509704 509704 0 0.0
.debug_info 41877791 41877792 1 0.0
.debug_line 5633309 5633310 1 0.0
.debug_loc 3560375 3560375 0 0.0
.debug_ranges 381064 381064 0 0.0
.debug_str 3847130 3847130 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130008 130008 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624676 624676 0 0.0
.symtab 189664 189664 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031400 1031402 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677807 677807 0 0.0
(read/write) 173752 173752 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89863 89863 0 0.0
.text 587632 587632 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642055 642055 0 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78999 78999 0 0.0
.text 562736 562736 0 0.0
lock-ftd LP_CC2652R7 (read only) 676315 676315 0 0.0
(read/write) 172380 172380 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77387 77387 0 0.0
.text 598448 598448 0 0.0
lock-mtd LP_CC2652R7 (read only) 660047 660047 0 0.0
(read/write) 184336 184336 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103199 103199 0 0.0
.text 556368 556368 0 0.0
pump-app LP_CC2652R7 (read only) 688579 688579 0 0.0
(read/write) 160852 160852 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90835 90835 0 0.0
.text 597260 597260 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672855 672855 0 0.0
(read/write) 176672 176672 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86383 86383 0 0.0
.text 585992 585992 0 0.0
shell LP_CC2652R7 (read only) 668822 668822 0 0.0
(read/write) 185056 185056 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86566 86566 0 0.0
.text 581940 581940 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588474 588474 0 0.0
.app_xip_area 465060 465060 0 0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592522 592522 0 0.0
.app_xip_area 463812 463812 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544430 544430 0 0.0
.app_xip_area 426096 426096 0 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974516 974516 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819972 819972 0 0.0
BRD4161A+rs911x (read/write) 1032160 1032160 0 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 843368 843368 0 0.0
BRD4187C (read/write) 1146868 1146868 0 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 981012 981012 0 0.0
lock-app BRD4161A+wf200 (read/write) 1157688 1157688 0 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 997360 997360 0 0.0
window-app BRD4187C (read/write) 1140088 1140088 0 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972792 972792 0 0.0
esp32 all-clusters-app c3devkit (read only) 1224082 1224078 -4 -0.0
(read/write) 1788414 1788406 -8 -0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257968 257960 -8 -0.0
.flash.text 1224082 1224078 -4 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1234015 1234015 0 0.0
(read/write) 564332 564324 -8 -0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315032 315024 -8 -0.0
.flash.text 1228631 1228631 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661604 661620 16 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563348 563364 16 0.0
light k32w0+release (read/write) 671952 671952 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592324 592324 0 0.0
lock k32w0+release (read/write) 633412 633412 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553004 553004 0 0.0
linux all-clusters-app debug (read only) 3086329 3086681 352 0.0
(read/write) 158264 158296 32 0.0
.bss 62432 62464 32 0.1
.data 2272 2272 0 0.0
.data.rel.ro 86968 86968 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1200 1200 0 0.0
.rodata 281355 281387 32 0.0
.text 2620658 2620978 320 0.0
all-clusters-minimal-app debug (read only) 2912089 2912473 384 0.0
(read/write) 149696 149728 32 0.0
.bss 61632 61664 32 0.1
.data 2240 2240 0 0.0
.data.rel.ro 79336 79336 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 280811 280875 64 0.0
.text 2449906 2450226 320 0.0
bridge-app debug+rpc (read only) 2412521 2412905 384 0.0
(read/write) 129528 129528 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 211168 211232 64 0.0
.text 2033874 2034194 320 0.0
chip-tool debug (read only) 11079329 11079713 384 0.0
(read/write) 658376 658376 0 0.0
.bss 25944 25944 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 623040 623040 0 0.0
.dynamic 608 608 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 592117 592149 32 0.0
.text 8963364 8963716 352 0.0
chip-tool-ipv6only arm64 (read only) 10434004 10434724 720 0.0
(read/write) 706417 706433 16 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650696 650696 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13912 8 0.1
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518164 518164 0 0.0
.text 8260148 8260852 704 0.0
lighting-app debug+rpc (read only) 2639169 2639521 352 0.0
(read/write) 132184 132184 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73736 73736 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 227968 228000 32 0.0
.text 2235298 2235618 320 0.0
lock-app debug (read only) 2601881 2602233 352 0.0
(read/write) 127232 127232 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70680 70680 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 244232 244264 32 0.0
.text 2186114 2186434 320 0.0
ota-provider-app debug (read only) 2398529 2398881 352 0.0
(read/write) 120792 120792 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64600 64600 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 216872 216904 32 0.0
.text 2013186 2013506 320 0.0
ota-requestor-app debug (read only) 2563713 2564065 352 0.0
(read/write) 129104 129104 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 69944 69944 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 223920 223952 32 0.0
.text 2162226 2162546 320 0.0
shell debug (read only) 2626089 2626425 336 0.0
(read/write) 142984 142984 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78024 78024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 240082 240114 32 0.0
.text 2226434 2226738 304 0.0
thermostat-no-ble arm64 (read only) 2392188 2392860 672 0.0
(read/write) 143633 143649 16 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5184 8 0.2
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2004736 2005376 640 0.0
tv-app debug (read only) 3235297 3235713 416 0.0
(read/write) 261560 261560 0 0.0
.bss 170360 170360 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80256 80256 0 0.0
.dynamic 608 608 0 0.0
.got 4976 4976 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 268056 268120 64 0.0
.text 2773970 2774322 352 0.0
tv-casting-app debug (read only) 5585297 5585649 352 0.0
(read/write) 161896 161896 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101224 101224 0 0.0
.dynamic 608 608 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 355833 355865 32 0.0
.text 4954082 4954402 320 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452656 2452656 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415300 1415300 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1184111 1184111 0 0.0
bss 144457 144457 0 0.0
rodata 144496 144496 0 0.0
text 816264 816260 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162783 1162783 0 0.0
bss 143684 143684 0 0.0
rodata 136072 136072 0 0.0
text 804160 804160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1746164 1746164 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1231272 1231272 0 0.0
.debug_aranges 110688 110688 0 0.0
.debug_frame 371160 371160 0 0.0
.debug_info 26905200 26905200 0 0.0
.debug_line 3675494 3675496 2 0.0
.debug_loc 3592312 3592312 0 0.0
.debug_ranges 338768 338768 0 0.0
.debug_str 3435024 3435024 0 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570220 570220 0 0.0
.symtab 421536 421536 0 0.0
.text 1546384 1546384 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688764 1688764 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1223115 1223115 0 0.0
.debug_aranges 110160 110160 0 0.0
.debug_frame 374240 374240 0 0.0
.debug_info 2664183 26641831 -1 -0.0
.debug_line 3696286 3696288 2 0.0
.debug_loc 3579949 3579949 0 0.0
.debug_ranges 337384 337384 0 0.0
.debug_str 3424045 3424045 0 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534309 534309 0 0.0
.symtab 407968 407968 0 0.0
.text 1489720 1489720 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607292 1607292 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1057623 1057623 0 0.0
.debug_aranges 102368 102368 0 0.0
.debug_frame 344572 344572 0 0.0
.debug_info 22103311 22103310 -1 -0.0
.debug_line 3265852 3265854 2 0.0
.debug_loc 3277660 3277660 0 0.0
.debug_ranges 302688 302688 0 0.0
.debug_str 3229565 3229565 0 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470686 470686 0 0.0
.symtab 376416 376416 0 0.0
.text 1416432 1416432 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640980 1640980 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1059607 1059607 0 0.0
.debug_aranges 102760 102760 0 0.0
.debug_frame 346428 346428 0 0.0
.debug_info 22336503 22336503 0 0.0
.debug_line 3262810 3262812 2 0.0
.debug_loc 3305254 3305254 0 0.0
.debug_ranges 304624 304624 0 0.0
.debug_str 3248959 3248959 0 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473037 473037 0 0.0
.symtab 378032 378032 0 0.0
.text 1445128 1445128 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149248 1149248 0 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 596348 596348 0 0.0
lock-app qpg6105+debug (read/write) 1114128 1114128 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 561224 561224 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790804 790804 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554272 554274 2 0.0
lighting-app tlsr9518adk80d (read/write) 806052 806052 0 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 566424 566428 4 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804936 804944 8 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565296 565298 2 0.0

@woody-apple woody-apple merged commit 2c56e70 into project-chip:master Oct 26, 2022
@bzbarsky-apple bzbarsky-apple deleted the configurable-pool-exit-handling branch October 26, 2022 19:33
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…e. (project-chip#23359)

Currently a pool's destructor crashes if there are still live objects in the
pool.  For heap pools, add a way to not crash if the pool's destructor is
running under exit(), for consumers that don't care about exit-time-only leaks.
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…e. (project-chip#23359)

Currently a pool's destructor crashes if there are still live objects in the
pool.  For heap pools, add a way to not crash if the pool's destructor is
running under exit(), for consumers that don't care about exit-time-only leaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants