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

Fixing few issues with BindingManager and issues with how clients used BindingManager #22133

Conversation

tehampson
Copy link
Contributor

@tehampson tehampson commented Aug 24, 2022

Problem

Change overview

  • Fixed
    • Issue where BindingManager::EstablishConnection only called once
    • Prevented used after free
    • Prevented buffer overrun

Testing

  • CI passes
  • Ran the following sequence:
    • Build all clusters app with command scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug/standalone chip_config_network_layer_ble=false chip_build_libshell=true
    • rm -f rm -f kvs1 kvs2 kvs3
    • Terminal 1 run ./out/debug/standalone/chip-all-clusters-app --secured-device-port 72564 --KVS kvs1 (port was picked by mashing keys)
    • Terminal 2 run ./out/debug/standalone/chip-tool pairing onnetwork 1 20202021
    • Terminal 3 run ./out/debug/standalone/chip-all-clusters-app --secured-device-port 72574 --KVS kvs2
    • Terminal 2 run ./out/debug/standalone/chip-tool pairing onnetwork 2 20202021
    • Terminal 4 run ./out/debug/standalone/chip-all-clusters-app --KVS kvs3
    • Terminal 2 run ./out/debug/standalone/chip-tool pairing onnetwork 3 20202021
    • Terminal 2 run ./out/debug/standalone/chip-tool binding write binding '[{"fabricIndex": 1, "node": 2, "endpoint": 1, "cluster": 6}, {"fabricIndex": 1, "node": 3, "endpoint": 1, "cluster": 6}]' 1 1
    • Confirm on Terminal 3 and and Terminal 4 that come connection was established to node 1
    • Stop running the all clusters application on Terminal 3 and and Terminal 4
    • Terminal 1 run switch on
      • Wait until you see that the messages were dropped after the max number of re-tries and that the CASESession to node 2 and 3 are now in a defunct state
    • Terminal 3 run ./out/debug/standalone/chip-all-clusters-app --secured-device-port 72574 --KVS kvs2
    • Terminal 4 run ./out/debug/standalone/chip-all-clusters-app --KVS kvs3
    • Terminal 1 run switch on
    • Confirm on Terminal 3 and and Terminal 4 that come connection was established to node 1 and that it got the notification

Fixed:
* Issue where BindingManager::EstablishConnection only called once
* Prevented used after free
* Prevented buffer overrun
@mrjerryjohns
Copy link
Contributor

Justification for 1.0 inclusion: Fixes a use-after-free bug with Bindings which can/should crash.

@github-actions
Copy link

github-actions bot commented Aug 24, 2022

PR #22133: Size comparison from 591b386 to bc56a4a

Increases (7 builds for bl602, cc13x2_26x2, efr32, psoc6)
platform target config section 591b3863 bc56a4a change % change
bl602 lighting-app bl602 (read/write) 1383642 1383650 8 0.0
.text 1050812 1050816 4 0.0
bl602+rpc (read/write) 1429298 1429306 8 0.0
.text 1082572 1082576 4 0.0
cc13x2_26x2 shell LP_CC2652R7 (read only) 665518 665526 8 0.0
.text 579420 579428 8 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 971380 971396 16 0.0
.text 818260 818276 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26644735 26644809 74 0.0
.debug_line 3646957 3647005 48 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26381430 26381504 74 0.0
.debug_line 3667361 3667409 48 0.0
lock cy8ckit_062s2_43012 .debug_info 22199261 22199262 1 0.0
Decreases (4 builds for cc13x2_26x2, cyw30739, psoc6)
platform target config section 591b3863 bc56a4a change % change
cc13x2_26x2 shell LP_CC2652R7 (read/write) 181496 181488 -8 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586586 586578 -8 -0.0
.app_xip_area 463244 463236 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_loc 3561998 3561994 -4 -0.0
.debug_ranges 336696 336688 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_loc 3549635 3549631 -4 -0.0
.debug_ranges 335312 335304 -8 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6)
platform target config section 591b3863 bc56a4a change % change
bl602 lighting-app bl602 (read/write) 1383642 1383650 8 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1050812 1050816 4 0.0
bl602+rpc (read/write) 1429298 1429306 8 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082572 1082576 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672835 672835 0 0.0
(read/write) 178660 178660 0 0.0
.bss 74388 74388 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583684 583684 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637547 637547 0 0.0
(read/write) 157948 157948 0 0.0
.bss 73660 73660 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559244 559244 0 0.0
lock-ftd LP_CC2652R7 (read only) 673919 673919 0 0.0
(read/write) 167784 167784 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596768 596768 0 0.0
lock-mtd LP_CC2652R7 (read only) 656687 656687 0 0.0
(read/write) 180704 180704 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101767 101767 0 0.0
.text 554440 554440 0 0.0
pump-app LP_CC2652R7 (read only) 684551 684551 0 0.0
(read/write) 157960 157960 0 0.0
.bss 71524 71524 0 0.0
.data 3296 3296 0 0.0
.rodata 89927 89927 0 0.0
.text 594140 594140 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669059 669059 0 0.0
(read/write) 173572 173572 0 0.0
.bss 71644 71644 0 0.0
.data 3292 3292 0 0.0
.rodata 85483 85483 0 0.0
.text 583096 583096 0 0.0
shell LP_CC2652R7 (read only) 665518 665526 8 0.0
(read/write) 181496 181488 -8 -0.0
.bss 76708 76708 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579420 579428 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586586 586578 -8 -0.0
.app_xip_area 463244 463236 -8 -0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592346 592346 0 0.0
.app_xip_area 464220 464220 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599450 599450 0 0.0
.app_xip_area 476828 476828 0 0.0
.bss 65088 65088 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 (read/write) 1107316 1107316 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 968892 968892 0 0.0
BRD4161A+rpc (read/write) 971380 971396 16 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818260 818276 16 0.0
BRD4161A+rs911x (read/write) 999928 999928 0 0.0
.bss 169088 169088 0 0.0
.data 2056 2056 0 0.0
.text 828764 828764 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149196 1149196 0 0.0
.bss 152168 152168 0 0.0
.data 2064 2064 0 0.0
.text 994944 994944 0 0.0
window-app BRD4161A (read/write) 1098580 1098580 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958692 958692 0 0.0
esp32 all-clusters-app c3devkit (read only) 1031038 1031038 0 0.0
(read/write) 1489610 1489610 0 0.0
.dram0.bss 71144 71144 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 218424 218424 0 0.0
.flash.text 1031038 1031038 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1084175 1084175 0 0.0
(read/write) 491528 491528 0 0.0
.dram0.bss 76648 76648 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248740 248740 0 0.0
.flash.text 1078791 1078791 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 646516 646516 0 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571320 571320 0 0.0
lock k32w0+release (read/write) 704012 704012 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628344 628344 0 0.0
linux all-clusters-app debug (read only) 3037929 3037929 0 0.0
(read/write) 156024 156024 0 0.0
.bss 61920 61920 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274635 274635 0 0.0
.text 2584146 2584146 0 0.0
all-clusters-minimal-app debug (read only) 2873793 2873793 0 0.0
(read/write) 147624 147624 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274827 274827 0 0.0
.text 2422594 2422594 0 0.0
bridge-app debug+rpc (read only) 2372313 2372313 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203464 203464 0 0.0
.text 2006226 2006226 0 0.0
chip-tool debug (read only) 10877025 10877025 0 0.0
(read/write) 651328 651328 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 616312 616312 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 562741 562741 0 0.0
.text 8807556 8807556 0 0.0
chip-tool-ipv6only arm64 (read only) 10259508 10259508 0 0.0
(read/write) 699169 699169 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643848 643848 0 0.0
.dynamic 560 560 0 0.0
.got 13784 13784 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493364 493364 0 0.0
.text 8127988 8127988 0 0.0
lighting-app debug+rpc (read only) 2597257 2597257 0 0.0
(read/write) 130304 130304 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72488 72488 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220368 220368 0 0.0
.text 2205986 2205986 0 0.0
lock-app debug (read only) 2580241 2580241 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237328 237328 0 0.0
.text 2176258 2176258 0 0.0
ota-provider-app debug (read only) 2357401 2357401 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209304 209304 0 0.0
.text 1984626 1984626 0 0.0
ota-requestor-app debug (read only) 2523001 2523001 0 0.0
(read/write) 127384 127384 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68744 68744 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216128 216128 0 0.0
.text 2134258 2134258 0 0.0
shell debug (read only) 2606233 2606233 0 0.0
(read/write) 142144 142144 0 0.0
.bss 57832 57832 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234738 234738 0 0.0
.text 2213074 2213074 0 0.0
thermostat-no-ble arm64 (read only) 2356644 2356644 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140588 140588 0 0.0
.text 1978336 1978336 0 0.0
tv-app debug (read only) 3182729 3182729 0 0.0
(read/write) 257968 257968 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259080 259080 0 0.0
.text 2733906 2733906 0 0.0
tv-casting-app debug (read only) 5503505 5503505 0 0.0
(read/write) 160464 160464 0 0.0
.bss 51480 51480 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100120 100120 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 344273 344273 0 0.0
.text 4887618 4887618 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454312 2454312 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1416956 1416956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180591 0 0.0
bss 143745 143745 0 0.0
rodata 143328 143328 0 0.0
text 814560 814560 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159675 0 0.0
bss 142972 142972 0 0.0
rodata 134916 134916 0 0.0
text 802968 802968 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 881000 881000 0 0.0
(read/write) 1700692 1700692 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 149688 149688 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 2656 2656 0 0.0
.debug_abbrev 1217526 1217526 0 0.0
.debug_aranges 111544 111544 0 0.0
.debug_frame 372400 372400 0 0.0
.debug_info 26644735 26644809 74 0.0
.debug_line 3646957 3647005 48 0.0
.debug_loc 3561998 3561994 -4 -0.0
.debug_ranges 336696 336688 -8 -0.0
.debug_str 3393533 3393533 0 0.0
.heap 881000 881000 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 569137 569137 0 0.0
.symtab 420320 420320 0 0.0
.text 1539960 1539960 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 881736 881736 0 0.0
(read/write) 1643884 1643884 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 148952 148952 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 2656 2656 0 0.0
.debug_abbrev 1209365 1209365 0 0.0
.debug_aranges 111016 111016 0 0.0
.debug_frame 375480 375480 0 0.0
.debug_info 26381430 26381504 74 0.0
.debug_line 3667361 3667409 48 0.0
.debug_loc 3549635 3549631 -4 -0.0
.debug_ranges 335312 335304 -8 -0.0
.debug_str 3382522 3382522 0 0.0
.heap 881736 881736 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 533611 533611 0 0.0
.symtab 406912 406912 0 0.0
.text 1483888 1483888 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 890080 890080 0 0.0
(read/write) 1561132 1561132 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 140816 140816 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 2448 2448 0 0.0
.debug_abbrev 1044038 1044038 0 0.0
.debug_aranges 103184 103184 0 0.0
.debug_frame 345724 345724 0 0.0
.debug_info 21845987 21845987 0 0.0
.debug_line 3238540 3238540 0 0.0
.debug_loc 3249150 3249150 0 0.0
.debug_ranges 301152 301152 0 0.0
.debug_str 3188616 3188616 0 0.0
.heap 890080 890080 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 466892 466892 0 0.0
.symtab 373968 373968 0 0.0
.text 1409480 1409480 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 885584 885584 0 0.0
(read/write) 1598372 1598372 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 145296 145296 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 2464 2464 0 0.0
.debug_abbrev 1051210 1051210 0 0.0
.debug_aranges 103856 103856 0 0.0
.debug_frame 348548 348548 0 0.0
.debug_info 22199261 22199262 1 0.0
.debug_line 3247103 3247103 0 0.0
.debug_loc 3289002 3289002 0 0.0
.debug_ranges 304496 304496 0 0.0
.debug_str 3216047 3216047 0 0.0
.heap 885584 885584 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 473107 473107 0 0.0
.symtab 377152 377152 0 0.0
.text 1442224 1442224 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0

This allows multiple connection async establishments to multiple
nodes.
@tehampson tehampson requested a review from mrjerryjohns August 25, 2022 14:46
@github-actions
Copy link

PR #22133: Size comparison from 591b386 to 780e73b

Increases (2 builds for nrfconnect)
platform target config section 591b3863 780e73b change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814560 814604 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159723 48 0.0
text 802968 803012 44 0.0
Decreases (2 builds for nrfconnect)
platform target config section 591b3863 780e73b change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142972 142868 -104 -0.1
Full report (2 builds for nrfconnect)
platform target config section 591b3863 780e73b change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
rodata 143328 143328 0 0.0
text 814560 814604 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159723 48 0.0
bss 142972 142868 -104 -0.1
rodata 134916 134916 0 0.0
text 802968 803012 44 0.0

@github-actions
Copy link

github-actions bot commented Aug 26, 2022

PR #22133: Size comparison from 7870328 to 6c78c16

Increases (23 builds for bl602, cc13x2_26x2, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 7870328 6c78c16 change % change
bl602 lighting-app bl602 .text 1050856 1050860 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672835 672867 32 0.0
.text 583684 583716 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637555 637579 24 0.0
.text 559252 559276 24 0.0
lock-mtd LP_CC2652R7 (read only) 656679 656687 8 0.0
.text 554432 554440 8 0.0
pump-app LP_CC2652R7 (read only) 684551 684599 48 0.0
.text 594140 594188 48 0.0
pump-controller-app LP_CC2652R7 (read only) 669059 669091 32 0.0
.text 583096 583128 32 0.0
shell LP_CC2652R7 (read only) 665526 665574 48 0.0
.text 579428 579476 48 0.0
esp32 all-clusters-app c3devkit (read only) 1031178 1031284 106 0.0
.flash.text 1031178 1031284 106 0.0
m5stack (read only) 1084287 1084319 32 0.0
.flash.text 1078903 1078935 32 0.0
linux all-clusters-app debug (read only) 3037929 3038249 320 0.0
.text 2584146 2584466 320 0.0
all-clusters-minimal-app debug (read only) 2873793 2874113 320 0.0
.text 2422594 2422914 320 0.0
shell debug (read only) 2606233 2606553 320 0.0
.text 2213074 2213394 320 0.0
thermostat-no-ble arm64 (read only) 2356644 2356996 352 0.0
.text 1978336 1978704 368 0.0
tv-app debug (read only) 3182745 3183065 320 0.0
.text 2733922 2734242 320 0.0
tv-casting-app debug (read only) 5503505 5503825 320 0.0
.text 4887618 4887938 320 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814560 814596 36 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159707 32 0.0
text 802968 803004 36 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842120 842224 104 0.0
.debug_info 26646621 26647573 952 0.0
.debug_line 3647676 3648191 515 0.0
.debug_loc 3562758 3563899 1141 0.0
.debug_ranges 336864 337208 344 0.1
.debug_str 3393925 3394775 850 0.0
.heap 842120 842224 104 0.0
.text 1540760 1540856 96 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842856 842960 104 0.0
.debug_info 26383317 26384268 951 0.0
.debug_line 3668080 3668595 515 0.0
.debug_loc 3550395 3551536 1141 0.0
.debug_ranges 335480 335824 344 0.1
.debug_str 3382914 3383764 850 0.0
.heap 842856 842960 104 0.0
.text 1484704 1484784 80 0.0
light cy8ckit_062s2_43012 .debug_info 21847874 21847875 1 0.0
lock cy8ckit_062s2_43012 .debug_info 22227603 22227604 1 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808416 808444 28 0.0
text 571026 571098 72 0.0
lighting-app tlsr9518adk80d text 589148 589194 46 0.0
Decreases (20 builds for cc13x2_26x2, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 7870328 6c78c16 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 178660 178524 -136 -0.1
.bss 74388 74284 -104 -0.1
all-clusters-minimal-app LP_CC2652R7 (read/write) 157948 157844 -104 -0.1
.bss 73660 73556 -104 -0.1
lock-mtd LP_CC2652R7 (read/write) 180712 180704 -8 -0.0
pump-app LP_CC2652R7 (read/write) 157960 157808 -152 -0.1
.bss 71524 71420 -104 -0.1
pump-controller-app LP_CC2652R7 (read/write) 173572 173428 -144 -0.1
.bss 71644 71532 -112 -0.2
shell LP_CC2652R7 (read/write) 181488 181336 -152 -0.1
.bss 76708 76604 -104 -0.1
esp32 all-clusters-app c3devkit (read/write) 1489650 1489538 -112 -0.0
.dram0.bss 71160 71056 -104 -0.1
m5stack (read/write) 491568 491460 -108 -0.0
.dram0.bss 76664 76560 -104 -0.1
.flash.rodata 248764 248760 -4 -0.0
linux all-clusters-app debug (read/write) 156024 155896 -128 -0.1
.bss 61920 61792 -128 -0.2
all-clusters-minimal-app debug (read/write) 147624 147496 -128 -0.1
.bss 61152 61024 -128 -0.2
shell debug (read/write) 142144 142016 -128 -0.1
.bss 57832 57704 -128 -0.2
thermostat-no-ble arm64 (read/write) 141825 141681 -144 -0.1
.bss 55345 55217 -128 -0.2
.got 5048 5040 -8 -0.2
tv-app debug (read/write) 257968 257840 -128 -0.0
.bss 167480 167352 -128 -0.1
tv-casting-app debug (read/write) 160464 160336 -128 -0.1
.bss 51480 51352 -128 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142972 142868 -104 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1740372 1740364 -8 -0.0
.bss 188568 188464 -104 -0.1
.debug_abbrev 1217558 1217412 -146 -0.0
.debug_aranges 111560 111552 -8 -0.0
.debug_frame 372476 372452 -24 -0.0
.strtab 569449 569431 -18 -0.0
.symtab 420640 420608 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1683580 1683556 -24 -0.0
.bss 187832 187728 -104 -0.1
.debug_abbrev 1209397 1209251 -146 -0.0
.debug_aranges 111032 111024 -8 -0.0
.debug_frame 375556 375532 -24 -0.0
.strtab 533923 533905 -18 -0.0
.symtab 407232 407200 -32 -0.0
telink light-switch-app tlsr9518adk80d bss 71448 71344 -104 -0.1
lighting-app tlsr9518adk80d (read/write) 830384 830328 -56 -0.0
bss 72304 72200 -104 -0.1
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 7870328 6c78c16 change % change
bl602 lighting-app bl602 (read/write) 1383690 1383690 0 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1050856 1050860 4 0.0
bl602+rpc (read/write) 1429602 1429602 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082872 1082872 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672835 672867 32 0.0
(read/write) 178660 178524 -136 -0.1
.bss 74388 74284 -104 -0.1
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583684 583716 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637555 637579 24 0.0
(read/write) 157948 157844 -104 -0.1
.bss 73660 73556 -104 -0.1
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559252 559276 24 0.0
lock-ftd LP_CC2652R7 (read only) 673919 673919 0 0.0
(read/write) 167784 167784 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596768 596768 0 0.0
lock-mtd LP_CC2652R7 (read only) 656679 656687 8 0.0
(read/write) 180712 180704 -8 -0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101767 101767 0 0.0
.text 554432 554440 8 0.0
pump-app LP_CC2652R7 (read only) 684551 684599 48 0.0
(read/write) 157960 157808 -152 -0.1
.bss 71524 71420 -104 -0.1
.data 3296 3296 0 0.0
.rodata 89927 89927 0 0.0
.text 594140 594188 48 0.0
pump-controller-app LP_CC2652R7 (read only) 669059 669091 32 0.0
(read/write) 173572 173428 -144 -0.1
.bss 71644 71532 -112 -0.2
.data 3292 3292 0 0.0
.rodata 85483 85483 0 0.0
.text 583096 583128 32 0.0
shell LP_CC2652R7 (read only) 665526 665574 48 0.0
(read/write) 181488 181336 -152 -0.1
.bss 76708 76604 -104 -0.1
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579428 579476 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586586 586586 0 0.0
.app_xip_area 463244 463244 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592346 592346 0 0.0
.app_xip_area 464220 464220 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599450 599450 0 0.0
.app_xip_area 476828 476828 0 0.0
.bss 65088 65088 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 (read/write) 1107284 1107284 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 968860 968860 0 0.0
BRD4161A+rpc (read/write) 971396 971396 0 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818276 818276 0 0.0
BRD4161A+rs911x (read/write) 999896 999896 0 0.0
.bss 169088 169088 0 0.0
.data 2056 2056 0 0.0
.text 828732 828732 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149196 1149196 0 0.0
.bss 152168 152168 0 0.0
.data 2064 2064 0 0.0
.text 994944 994944 0 0.0
window-app BRD4161A (read/write) 1098548 1098548 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958660 958660 0 0.0
esp32 all-clusters-app c3devkit (read only) 1031178 1031284 106 0.0
(read/write) 1489650 1489538 -112 -0.0
.dram0.bss 71160 71056 -104 -0.1
.dram0.data 14600 14600 0 0.0
.flash.rodata 218448 218448 0 0.0
.flash.text 1031178 1031284 106 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1084287 1084319 32 0.0
(read/write) 491568 491460 -108 -0.0
.dram0.bss 76664 76560 -104 -0.1
.dram0.data 34144 34144 0 0.0
.flash.rodata 248764 248760 -4 -0.0
.flash.text 1078903 1078935 32 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 646516 646516 0 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571320 571320 0 0.0
lock k32w0+release (read/write) 704012 704012 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628344 628344 0 0.0
linux all-clusters-app debug (read only) 3037929 3038249 320 0.0
(read/write) 156024 155896 -128 -0.1
.bss 61920 61792 -128 -0.2
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274635 274635 0 0.0
.text 2584146 2584466 320 0.0
all-clusters-minimal-app debug (read only) 2873793 2874113 320 0.0
(read/write) 147624 147496 -128 -0.1
.bss 61152 61024 -128 -0.2
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274827 274827 0 0.0
.text 2422594 2422914 320 0.0
bridge-app debug+rpc (read only) 2372313 2372313 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203464 203464 0 0.0
.text 2006226 2006226 0 0.0
chip-tool debug (read only) 10876545 10876545 0 0.0
(read/write) 657184 657184 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 622168 622168 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 561013 561013 0 0.0
.text 8794980 8794980 0 0.0
chip-tool-ipv6only arm64 (read only) 10262564 10262564 0 0.0
(read/write) 705073 705073 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 649704 649704 0 0.0
.dynamic 560 560 0 0.0
.got 13832 13832 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 491796 491796 0 0.0
.text 8118644 8118644 0 0.0
lighting-app debug+rpc (read only) 2597257 2597257 0 0.0
(read/write) 130304 130304 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72488 72488 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220368 220368 0 0.0
.text 2205986 2205986 0 0.0
lock-app debug (read only) 2580241 2580241 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237328 237328 0 0.0
.text 2176258 2176258 0 0.0
ota-provider-app debug (read only) 2357401 2357401 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209304 209304 0 0.0
.text 1984626 1984626 0 0.0
ota-requestor-app debug (read only) 2522921 2522921 0 0.0
(read/write) 127384 127384 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68744 68744 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216128 216128 0 0.0
.text 2134178 2134178 0 0.0
shell debug (read only) 2606233 2606553 320 0.0
(read/write) 142144 142016 -128 -0.1
.bss 57832 57704 -128 -0.2
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234738 234738 0 0.0
.text 2213074 2213394 320 0.0
thermostat-no-ble arm64 (read only) 2356644 2356996 352 0.0
(read/write) 141825 141681 -144 -0.1
.bss 55345 55217 -128 -0.2
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5040 -8 -0.2
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140588 140588 0 0.0
.text 1978336 1978704 368 0.0
tv-app debug (read only) 3182745 3183065 320 0.0
(read/write) 257968 257840 -128 -0.0
.bss 167480 167352 -128 -0.1
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259080 259080 0 0.0
.text 2733922 2734242 320 0.0
tv-casting-app debug (read only) 5503505 5503825 320 0.0
(read/write) 160464 160336 -128 -0.1
.bss 51480 51352 -128 -0.2
.data 2432 2432 0 0.0
.data.rel.ro 100120 100120 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 344273 344273 0 0.0
.text 4887618 4887938 320 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454312 2454312 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1416956 1416956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
rodata 143328 143328 0 0.0
text 814560 814596 36 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159707 32 0.0
bss 142972 142868 -104 -0.1
rodata 134916 134916 0 0.0
text 802968 803004 36 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842120 842224 104 0.0
(read/write) 1740372 1740364 -8 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188568 188464 -104 -0.1
.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 2656 2656 0 0.0
.debug_abbrev 1217558 1217412 -146 -0.0
.debug_aranges 111560 111552 -8 -0.0
.debug_frame 372476 372452 -24 -0.0
.debug_info 26646621 26647573 952 0.0
.debug_line 3647676 3648191 515 0.0
.debug_loc 3562758 3563899 1141 0.0
.debug_ranges 336864 337208 344 0.1
.debug_str 3393925 3394775 850 0.0
.heap 842120 842224 104 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 569449 569431 -18 -0.0
.symtab 420640 420608 -32 -0.0
.text 1540760 1540856 96 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842856 842960 104 0.0
(read/write) 1683580 1683556 -24 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187832 187728 -104 -0.1
.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 2656 2656 0 0.0
.debug_abbrev 1209397 1209251 -146 -0.0
.debug_aranges 111032 111024 -8 -0.0
.debug_frame 375556 375532 -24 -0.0
.debug_info 26383317 26384268 951 0.0
.debug_line 3668080 3668595 515 0.0
.debug_loc 3550395 3551536 1141 0.0
.debug_ranges 335480 335824 344 0.1
.debug_str 3382914 3383764 850 0.0
.heap 842856 842960 104 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 533923 533905 -18 -0.0
.symtab 407232 407200 -32 -0.0
.text 1484704 1484784 80 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 851200 851200 0 0.0
(read/write) 1600828 1600828 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179696 179696 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 2448 2448 0 0.0
.debug_abbrev 1044070 1044070 0 0.0
.debug_aranges 103200 103200 0 0.0
.debug_frame 345800 345800 0 0.0
.debug_info 21847874 21847875 1 0.0
.debug_line 3239259 3239259 0 0.0
.debug_loc 3249910 3249910 0 0.0
.debug_ranges 301320 301320 0 0.0
.debug_str 3189008 3189008 0 0.0
.heap 851200 851200 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 467204 467204 0 0.0
.symtab 374288 374288 0 0.0
.text 1410296 1410296 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 846168 846168 0 0.0
(read/write) 1638540 1638540 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184712 184712 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 2464 2464 0 0.0
.debug_abbrev 1051505 1051505 0 0.0
.debug_aranges 103872 103872 0 0.0
.debug_frame 348628 348628 0 0.0
.debug_info 22227603 22227604 1 0.0
.debug_line 3248153 3248153 0 0.0
.debug_loc 3289747 3289747 0 0.0
.debug_ranges 304664 304664 0 0.0
.debug_str 3216491 3216491 0 0.0
.heap 846168 846168 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 473419 473419 0 0.0
.symtab 377472 377472 0 0.0
.text 1442976 1442976 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808416 808444 28 0.0
bss 71448 71344 -104 -0.1
noinit 43488 43488 0 0.0
text 571026 571098 72 0.0
lighting-app tlsr9518adk80d (read/write) 830384 830328 -56 -0.0
bss 72304 72200 -104 -0.1
noinit 43488 43488 0 0.0
text 589148 589194 46 0.0

@github-actions
Copy link

github-actions bot commented Aug 26, 2022

PR #22133: Size comparison from 3d7cc78 to 13e80a9

Increases (25 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 3d7cc78 13e80a9 change % change
bl602 lighting-app bl602+rpc .text 1082872 1082876 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672835 672867 32 0.0
.text 583684 583716 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637555 637587 32 0.0
.text 559252 559284 32 0.0
pump-app LP_CC2652R7 (read only) 684551 684599 48 0.0
.text 594140 594188 48 0.0
pump-controller-app LP_CC2652R7 (read only) 669059 669091 32 0.0
.text 583096 583128 32 0.0
shell LP_CC2652R7 (read only) 665526 665574 48 0.0
.text 579428 579476 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586578 586586 8 0.0
.app_xip_area 463236 463244 8 0.0
lock cyw930739m2evb_01 (read/write) 592338 592346 8 0.0
.app_xip_area 464212 464220 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599442 599450 8 0.0
.app_xip_area 476820 476828 8 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 971380 971396 16 0.0
.text 818260 818276 16 0.0
esp32 all-clusters-app c3devkit (read only) 1031176 1031280 104 0.0
.flash.text 1031176 1031280 104 0.0
m5stack (read only) 1084287 1084319 32 0.0
.flash.text 1078903 1078935 32 0.0
linux all-clusters-app debug (read only) 3037929 3038249 320 0.0
.text 2584146 2584466 320 0.0
all-clusters-minimal-app debug (read only) 2873793 2874113 320 0.0
.text 2422594 2422914 320 0.0
shell debug (read only) 2606233 2606553 320 0.0
.text 2213074 2213394 320 0.0
thermostat-no-ble arm64 (read only) 2356644 2356996 352 0.0
.text 1978336 1978704 368 0.0
tv-app debug (read only) 3182745 3183065 320 0.0
.text 2733922 2734242 320 0.0
tv-casting-app debug (read only) 5503505 5503825 320 0.0
.text 4887618 4887938 320 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814560 814596 36 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159707 32 0.0
text 802964 803004 40 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842120 842224 104 0.0
.debug_info 26646623 26647572 949 0.0
.debug_line 3647676 3648191 515 0.0
.debug_loc 3562758 3563899 1141 0.0
.debug_ranges 336864 337208 344 0.1
.debug_str 3393925 3394775 850 0.0
.heap 842120 842224 104 0.0
.text 1540760 1540856 96 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842856 842960 104 0.0
.debug_info 26383316 26384267 951 0.0
.debug_line 3668080 3668595 515 0.0
.debug_loc 3550395 3551536 1141 0.0
.debug_ranges 335480 335824 344 0.1
.debug_str 3382914 3383764 850 0.0
.heap 842856 842960 104 0.0
.text 1484704 1484784 80 0.0
lock cy8ckit_062s2_43012 .debug_info 22227604 22227605 1 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808416 808452 36 0.0
text 571028 571102 74 0.0
lighting-app tlsr9518adk80d text 589152 589198 46 0.0
Decreases (20 builds for cc13x2_26x2, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 3d7cc78 13e80a9 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 178660 178524 -136 -0.1
.bss 74388 74284 -104 -0.1
all-clusters-minimal-app LP_CC2652R7 (read/write) 157948 157844 -104 -0.1
.bss 73660 73556 -104 -0.1
pump-app LP_CC2652R7 (read/write) 157960 157808 -152 -0.1
.bss 71524 71420 -104 -0.1
pump-controller-app LP_CC2652R7 (read/write) 173572 173428 -144 -0.1
.bss 71644 71532 -112 -0.2
shell LP_CC2652R7 (read/write) 181488 181336 -152 -0.1
.bss 76708 76604 -104 -0.1
esp32 all-clusters-app c3devkit (read/write) 1489650 1489538 -112 -0.0
.dram0.bss 71160 71056 -104 -0.1
m5stack (read/write) 491568 491460 -108 -0.0
.dram0.bss 76664 76560 -104 -0.1
.flash.rodata 248764 248760 -4 -0.0
linux all-clusters-app debug (read/write) 156024 155896 -128 -0.1
.bss 61920 61792 -128 -0.2
all-clusters-minimal-app debug (read/write) 147624 147496 -128 -0.1
.bss 61152 61024 -128 -0.2
shell debug (read/write) 142144 142016 -128 -0.1
.bss 57832 57704 -128 -0.2
thermostat-no-ble arm64 (read/write) 141825 141681 -144 -0.1
.bss 55345 55217 -128 -0.2
.got 5048 5040 -8 -0.2
tv-app debug (read/write) 257968 257840 -128 -0.0
.bss 167480 167352 -128 -0.1
tv-casting-app debug (read/write) 160464 160336 -128 -0.1
.bss 51480 51352 -128 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142972 142868 -104 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1740372 1740364 -8 -0.0
.bss 188568 188464 -104 -0.1
.debug_abbrev 1217558 1217412 -146 -0.0
.debug_aranges 111560 111552 -8 -0.0
.debug_frame 372476 372452 -24 -0.0
.strtab 569449 569431 -18 -0.0
.symtab 420640 420608 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1683580 1683556 -24 -0.0
.bss 187832 187728 -104 -0.1
.debug_abbrev 1209397 1209251 -146 -0.0
.debug_aranges 111032 111024 -8 -0.0
.debug_frame 375556 375532 -24 -0.0
.strtab 533923 533905 -18 -0.0
.symtab 407232 407200 -32 -0.0
light cy8ckit_062s2_43012 .debug_info 21847874 21847873 -1 -0.0
telink light-switch-app tlsr9518adk80d bss 71448 71344 -104 -0.1
lighting-app tlsr9518adk80d (read/write) 830392 830336 -56 -0.0
bss 72304 72200 -104 -0.1
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 3d7cc78 13e80a9 change % change
bl602 lighting-app bl602 (read/write) 1383690 1383690 0 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1050860 1050860 0 0.0
bl602+rpc (read/write) 1429602 1429602 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082872 1082876 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672835 672867 32 0.0
(read/write) 178660 178524 -136 -0.1
.bss 74388 74284 -104 -0.1
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583684 583716 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637555 637587 32 0.0
(read/write) 157948 157844 -104 -0.1
.bss 73660 73556 -104 -0.1
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559252 559284 32 0.0
lock-ftd LP_CC2652R7 (read only) 673919 673919 0 0.0
(read/write) 167784 167784 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596768 596768 0 0.0
lock-mtd LP_CC2652R7 (read only) 656687 656687 0 0.0
(read/write) 180704 180704 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101767 101767 0 0.0
.text 554440 554440 0 0.0
pump-app LP_CC2652R7 (read only) 684551 684599 48 0.0
(read/write) 157960 157808 -152 -0.1
.bss 71524 71420 -104 -0.1
.data 3296 3296 0 0.0
.rodata 89927 89927 0 0.0
.text 594140 594188 48 0.0
pump-controller-app LP_CC2652R7 (read only) 669059 669091 32 0.0
(read/write) 173572 173428 -144 -0.1
.bss 71644 71532 -112 -0.2
.data 3292 3292 0 0.0
.rodata 85483 85483 0 0.0
.text 583096 583128 32 0.0
shell LP_CC2652R7 (read only) 665526 665574 48 0.0
(read/write) 181488 181336 -152 -0.1
.bss 76708 76604 -104 -0.1
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579428 579476 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586578 586586 8 0.0
.app_xip_area 463236 463244 8 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592338 592346 8 0.0
.app_xip_area 464212 464220 8 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599442 599450 8 0.0
.app_xip_area 476820 476828 8 0.0
.bss 65088 65088 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 (read/write) 1107284 1107284 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 968860 968860 0 0.0
BRD4161A+rpc (read/write) 971380 971396 16 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818260 818276 16 0.0
BRD4161A+rs911x (read/write) 999896 999896 0 0.0
.bss 169088 169088 0 0.0
.data 2056 2056 0 0.0
.text 828732 828732 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149196 1149196 0 0.0
.bss 152168 152168 0 0.0
.data 2064 2064 0 0.0
.text 994944 994944 0 0.0
window-app BRD4161A (read/write) 1098548 1098548 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958660 958660 0 0.0
esp32 all-clusters-app c3devkit (read only) 1031176 1031280 104 0.0
(read/write) 1489650 1489538 -112 -0.0
.dram0.bss 71160 71056 -104 -0.1
.dram0.data 14600 14600 0 0.0
.flash.rodata 218448 218448 0 0.0
.flash.text 1031176 1031280 104 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1084287 1084319 32 0.0
(read/write) 491568 491460 -108 -0.0
.dram0.bss 76664 76560 -104 -0.1
.dram0.data 34144 34144 0 0.0
.flash.rodata 248764 248760 -4 -0.0
.flash.text 1078903 1078935 32 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 646516 646516 0 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571320 571320 0 0.0
lock k32w0+release (read/write) 704012 704012 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628344 628344 0 0.0
linux all-clusters-app debug (read only) 3037929 3038249 320 0.0
(read/write) 156024 155896 -128 -0.1
.bss 61920 61792 -128 -0.2
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274635 274635 0 0.0
.text 2584146 2584466 320 0.0
all-clusters-minimal-app debug (read only) 2873793 2874113 320 0.0
(read/write) 147624 147496 -128 -0.1
.bss 61152 61024 -128 -0.2
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274827 274827 0 0.0
.text 2422594 2422914 320 0.0
bridge-app debug+rpc (read only) 2372313 2372313 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203464 203464 0 0.0
.text 2006226 2006226 0 0.0
chip-tool debug (read only) 10876545 10876545 0 0.0
(read/write) 657184 657184 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 622168 622168 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 561013 561013 0 0.0
.text 8794980 8794980 0 0.0
chip-tool-ipv6only arm64 (read only) 10262564 10262564 0 0.0
(read/write) 705073 705073 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 649704 649704 0 0.0
.dynamic 560 560 0 0.0
.got 13832 13832 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 491796 491796 0 0.0
.text 8118644 8118644 0 0.0
lighting-app debug+rpc (read only) 2597257 2597257 0 0.0
(read/write) 130304 130304 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72488 72488 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220368 220368 0 0.0
.text 2205986 2205986 0 0.0
lock-app debug (read only) 2580241 2580241 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237328 237328 0 0.0
.text 2176258 2176258 0 0.0
ota-provider-app debug (read only) 2357401 2357401 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209304 209304 0 0.0
.text 1984626 1984626 0 0.0
ota-requestor-app debug (read only) 2522921 2522921 0 0.0
(read/write) 127384 127384 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68744 68744 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216128 216128 0 0.0
.text 2134178 2134178 0 0.0
shell debug (read only) 2606233 2606553 320 0.0
(read/write) 142144 142016 -128 -0.1
.bss 57832 57704 -128 -0.2
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234738 234738 0 0.0
.text 2213074 2213394 320 0.0
thermostat-no-ble arm64 (read only) 2356644 2356996 352 0.0
(read/write) 141825 141681 -144 -0.1
.bss 55345 55217 -128 -0.2
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5040 -8 -0.2
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140588 140588 0 0.0
.text 1978336 1978704 368 0.0
tv-app debug (read only) 3182745 3183065 320 0.0
(read/write) 257968 257840 -128 -0.0
.bss 167480 167352 -128 -0.1
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259080 259080 0 0.0
.text 2733922 2734242 320 0.0
tv-casting-app debug (read only) 5503505 5503825 320 0.0
(read/write) 160464 160336 -128 -0.1
.bss 51480 51352 -128 -0.2
.data 2432 2432 0 0.0
.data.rel.ro 100120 100120 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 344273 344273 0 0.0
.text 4887618 4887938 320 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454312 2454312 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1416956 1416956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180511 -80 -0.0
bss 143745 143641 -104 -0.1
rodata 143328 143328 0 0.0
text 814560 814596 36 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159675 1159707 32 0.0
bss 142972 142868 -104 -0.1
rodata 134916 134916 0 0.0
text 802964 803004 40 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842120 842224 104 0.0
(read/write) 1740372 1740364 -8 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188568 188464 -104 -0.1
.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 2656 2656 0 0.0
.debug_abbrev 1217558 1217412 -146 -0.0
.debug_aranges 111560 111552 -8 -0.0
.debug_frame 372476 372452 -24 -0.0
.debug_info 26646623 26647572 949 0.0
.debug_line 3647676 3648191 515 0.0
.debug_loc 3562758 3563899 1141 0.0
.debug_ranges 336864 337208 344 0.1
.debug_str 3393925 3394775 850 0.0
.heap 842120 842224 104 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 569449 569431 -18 -0.0
.symtab 420640 420608 -32 -0.0
.text 1540760 1540856 96 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842856 842960 104 0.0
(read/write) 1683580 1683556 -24 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187832 187728 -104 -0.1
.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 2656 2656 0 0.0
.debug_abbrev 1209397 1209251 -146 -0.0
.debug_aranges 111032 111024 -8 -0.0
.debug_frame 375556 375532 -24 -0.0
.debug_info 26383316 26384267 951 0.0
.debug_line 3668080 3668595 515 0.0
.debug_loc 3550395 3551536 1141 0.0
.debug_ranges 335480 335824 344 0.1
.debug_str 3382914 3383764 850 0.0
.heap 842856 842960 104 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 533923 533905 -18 -0.0
.symtab 407232 407200 -32 -0.0
.text 1484704 1484784 80 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 851200 851200 0 0.0
(read/write) 1600828 1600828 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179696 179696 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 2448 2448 0 0.0
.debug_abbrev 1044070 1044070 0 0.0
.debug_aranges 103200 103200 0 0.0
.debug_frame 345800 345800 0 0.0
.debug_info 21847874 21847873 -1 -0.0
.debug_line 3239259 3239259 0 0.0
.debug_loc 3249910 3249910 0 0.0
.debug_ranges 301320 301320 0 0.0
.debug_str 3189008 3189008 0 0.0
.heap 851200 851200 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 467204 467204 0 0.0
.symtab 374288 374288 0 0.0
.text 1410296 1410296 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 846168 846168 0 0.0
(read/write) 1638540 1638540 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184712 184712 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 2464 2464 0 0.0
.debug_abbrev 1051505 1051505 0 0.0
.debug_aranges 103872 103872 0 0.0
.debug_frame 348628 348628 0 0.0
.debug_info 22227604 22227605 1 0.0
.debug_line 3248153 3248153 0 0.0
.debug_loc 3289747 3289747 0 0.0
.debug_ranges 304664 304664 0 0.0
.debug_str 3216491 3216491 0 0.0
.heap 846168 846168 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 473419 473419 0 0.0
.symtab 377472 377472 0 0.0
.text 1442976 1442976 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808416 808452 36 0.0
bss 71448 71344 -104 -0.1
noinit 43488 43488 0 0.0
text 571028 571102 74 0.0
lighting-app tlsr9518adk80d (read/write) 830392 830336 -56 -0.0
bss 72304 72200 -104 -0.1
noinit 43488 43488 0 0.0
text 589152 589198 46 0.0

@mrjerryjohns mrjerryjohns merged commit 7e00546 into project-chip:master Aug 26, 2022
if (mLastSessionEstablishmentError == CHIP_ERROR_NO_MEMORY)
{
// Release the least recently used entry
// TODO: Some reference counting mechanism shall be added the CASESessionManager
// so that other session clients don't get accidentally closed.
ScopedNodeId peerToRemove;
if (mPendingNotificationMap.FindLRUConnectPeer(peerToRemove) == CHIP_NO_ERROR)
{
mPendingNotificationMap.RemoveAllEntriesForNode(peerToRemove);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this help, though? If we got NO_MEMORY that means the SessionSetup pool is full, no? How else can we end up here? And messing with our notification map will not help with that, I don't think; we would have to cancel some session setups, which is what this code used to do when it was working with OperationalDeviceProxy.

This part needs some thought as to how exactly it should work. Is this what #22173 is about?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct.

When I was trying to get this in I was trying to changes as little as possible while fixing #21606, this has been broken before this PR. Part of my thinking is that this should be thought out a little more and addressed in #22173

isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
…d BindingManager (project-chip#22133)

* Couple with BindingManager

Fixed:
* Issue where BindingManager::EstablishConnection only called once
* Prevented used after free
* Prevented buffer overrun

* Restyle

* Allocate callbacks in EstablishConnection

This allows multiple connection async establishments to multiple
nodes.

* Address PR comments
@tehampson tehampson deleted the binding-manager-parallel-connections-21606 branch November 24, 2022 18:32
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.

Binding manager thinks it can connect to multiple things in parallel, but it can't
4 participants