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

Fix invariant violation if we get a message without piggyback ack while expecting an ack. #23282

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Such messages are not allowed per spec, so we should just ignore them.

Fixes #22854

…le expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes project-chip#22854
@bzbarsky-apple bzbarsky-apple changed the title Fix invariant violation if we get a message without piggyback ack whie expecting an ack. Fix invariant violation if we get a message without piggyback ack while expecting an ack. Oct 20, 2022
@github-actions
Copy link

github-actions bot commented Oct 20, 2022

PR #23282: Size comparison from d7cd5aa to a5a4b20

Increases (17 builds for bl602, bl702, efr32, esp32, linux, psoc6, telink)
platform target config section d7cd5aa a5a4b20 change % change
bl602 lighting-app bl602 (read/write) 1390246 1390254 8 0.0
.text 1069636 1069648 12 0.0
bl602+rpc (read/write) 1435470 1435478 8 0.0
.text 1100986 1100994 8 0.0
bl702 lighting-app bl702 (read/write) 1189219 1189235 16 0.0
.debug_info 37909063 37909157 94 0.0
.debug_line 5257986 5258045 59 0.0
.debug_loc 3367729 3367781 52 0.0
.text 957578 957588 10 0.0
bl702+rpc (read/write) 1284883 1284899 16 0.0
.debug_info 41815677 41815769 92 0.0
.debug_line 5632517 5632576 59 0.0
.debug_loc 3560376 3560428 52 0.0
.text 1031024 1031030 6 0.0
efr32 lighting-app BRD4187C (read/write) 1146348 1146356 8 0.0
.text 980492 980500 8 0.0
window-app BRD4187C (read/write) 1139568 1139576 8 0.0
.text 972272 972280 8 0.0
esp32 all-clusters-app c3devkit (read only) 1223648 1223656 8 0.0
.flash.text 1223648 1223656 8 0.0
m5stack (read only) 1233699 1233703 4 0.0
(read/write) 564252 564260 8 0.0
.flash.rodata 314952 314960 8 0.0
.flash.text 1228315 1228319 4 0.0
linux chip-tool-ipv6only arm64 (read only) 10429700 10429748 48 0.0
.text 8255988 8256036 48 0.0
thermostat-no-ble arm64 (read only) 2390796 2390844 48 0.0
.text 2003408 2003456 48 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745644 1745660 16 0.0
.debug_info 26837503 26837661 158 0.0
.debug_line 3673331 3673387 56 0.0
.debug_loc 3590250 3590353 103 0.0
.debug_ranges 339704 339728 24 0.0
.text 1545864 1545880 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26574284 26574443 159 0.0
.debug_line 3694048 3694104 56 0.0
.debug_loc 3577887 3577990 103 0.0
.debug_ranges 338320 338344 24 0.0
light cy8ckit_062s2_43012 (read/write) 1606788 1606804 16 0.0
.debug_info 22038006 22038165 159 0.0
.debug_line 3263972 3264028 56 0.0
.debug_loc 3275848 3275951 103 0.0
.debug_ranges 303624 303648 24 0.0
.text 1415928 1415944 16 0.0
lock cy8ckit_062s2_43012 .debug_info 22271296 22271456 160 0.0
.debug_line 3260937 3260993 56 0.0
.debug_loc 3303430 3303533 103 0.0
.debug_ranges 305560 305584 24 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790300 790308 8 0.0
text 553856 553868 12 0.0
lighting-app tlsr9518adk80d (read/write) 805532 805548 16 0.0
text 565992 566006 14 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804416 804432 16 0.0
text 564864 564874 10 0.0
Decreases (3 builds for cyw30739, k32w, qpg)
platform target config section d7cd5aa a5a4b20 change % change
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543998 543990 -8 -0.0
.app_xip_area 425664 425656 -8 -0.0
k32w lock k32w0+release (read/write) 633092 633076 -16 -0.0
.text 552684 552668 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1148824 1148816 -8 -0.0
.text 595924 595916 -8 -0.0
Full report (38 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d7cd5aa a5a4b20 change % change
bl602 lighting-app bl602 (read/write) 1390246 1390254 8 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069636 1069648 12 0.0
bl602+rpc (read/write) 1435470 1435478 8 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100986 1100994 8 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189219 1189235 16 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506978 1506978 0 0.0
.debug_aranges 133168 133168 0 0.0
.debug_frame 486752 486752 0 0.0
.debug_info 37909063 37909157 94 0.0
.debug_line 5257986 5258045 59 0.0
.debug_loc 3367729 3367781 52 0.0
.debug_ranges 359568 359568 0 0.0
.debug_str 3458100 3458100 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565314 565314 0 0.0
.symtab 171728 171728 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957578 957588 10 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284883 1284899 16 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 1644523 1644523 0 0.0
.debug_aranges 140672 140672 0 0.0
.debug_frame 512124 512124 0 0.0
.debug_info 41815677 41815769 92 0.0
.debug_line 5632517 5632576 59 0.0
.debug_loc 3560376 3560428 52 0.0
.debug_ranges 382024 382024 0 0.0
.debug_str 3854070 3854070 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624487 624487 0 0.0
.symtab 189536 189536 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031024 1031030 6 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677359 677359 0 0.0
(read/write) 174200 174200 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587256 587256 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641607 641607 0 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562360 562360 0 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675851 0 0.0
(read/write) 172844 172844 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 659615 659615 0 0.0
(read/write) 184768 184768 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 556000 556000 0 0.0
pump-app LP_CC2652R7 (read only) 688131 688131 0 0.0
(read/write) 161300 161300 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90763 90763 0 0.0
.text 596884 596884 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672455 672455 0 0.0
(read/write) 177072 177072 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86319 86319 0 0.0
.text 585656 585656 0 0.0
shell LP_CC2652R7 (read only) 668382 668382 0 0.0
(read/write) 185496 185496 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581564 581564 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588138 588138 0 0.0
.app_xip_area 464724 464724 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) 592178 592178 0 0.0
.app_xip_area 463468 463468 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) 543998 543990 -8 -0.0
.app_xip_area 425664 425656 -8 -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) 974092 974092 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819548 819548 0 0.0
BRD4161A+rs911x (read/write) 1031448 1031448 0 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842656 842656 0 0.0
BRD4187C (read/write) 1146348 1146356 8 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980492 980500 8 0.0
lock-app BRD4161A+wf200 (read/write) 1157056 1157056 0 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996728 996728 0 0.0
window-app BRD4187C (read/write) 1139568 1139576 8 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972272 972280 8 0.0
esp32 all-clusters-app c3devkit (read only) 1223648 1223656 8 0.0
(read/write) 1788342 1788342 0 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257896 257896 0 0.0
.flash.text 1223648 1223656 8 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233699 1233703 4 0.0
(read/write) 564252 564260 8 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314952 314960 8 0.0
.flash.text 1228315 1228319 4 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661284 661284 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563028 563028 0 0.0
light k32w0+release (read/write) 671528 671528 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591900 591900 0 0.0
lock k32w0+release (read/write) 633092 633076 -16 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552684 552668 -16 -0.0
linux chip-tool-ipv6only arm64 (read only) 10429700 10429748 48 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518148 518148 0 0.0
.text 8255988 8256036 48 0.0
thermostat-no-ble arm64 (read only) 2390796 2390844 48 0.0
(read/write) 143633 143633 0 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 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144484 144484 0 0.0
.text 2003408 2003456 48 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452200 2452200 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414844 1414844 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183659 1183659 0 0.0
bss 144457 144457 0 0.0
rodata 144428 144428 0 0.0
text 815888 815888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162343 1162343 0 0.0
bss 143684 143684 0 0.0
rodata 136000 136000 0 0.0
text 803784 803784 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841952 841952 0 0.0
(read/write) 1745644 1745660 16 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 1229487 1229487 0 0.0
.debug_aranges 111904 111904 0 0.0
.debug_frame 373628 373628 0 0.0
.debug_info 26837503 26837661 158 0.0
.debug_line 3673331 3673387 56 0.0
.debug_loc 3590250 3590353 103 0.0
.debug_ranges 339704 339728 24 0.0
.debug_str 3441503 3441503 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 569882 569882 0 0.0
.symtab 421328 421328 0 0.0
.text 1545864 1545880 16 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842688 842688 0 0.0
(read/write) 1688244 1688244 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 1221286 1221286 0 0.0
.debug_aranges 111376 111376 0 0.0
.debug_frame 376708 376708 0 0.0
.debug_info 26574284 26574443 159 0.0
.debug_line 3694048 3694104 56 0.0
.debug_loc 3577887 3577990 103 0.0
.debug_ranges 338320 338344 24 0.0
.debug_str 3430516 3430516 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 533971 533971 0 0.0
.symtab 407760 407760 0 0.0
.text 1489200 1489200 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850872 850872 0 0.0
(read/write) 1606788 1606804 16 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 1055397 1055397 0 0.0
.debug_aranges 103584 103584 0 0.0
.debug_frame 347040 347040 0 0.0
.debug_info 22038006 22038165 159 0.0
.debug_line 3263972 3264028 56 0.0
.debug_loc 3275848 3275951 103 0.0
.debug_ranges 303624 303648 24 0.0
.debug_str 3236048 3236048 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 470348 470348 0 0.0
.symtab 376208 376208 0 0.0
.text 1415928 1415944 16 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845880 845880 0 0.0
(read/write) 1640492 1640492 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 1057336 1057336 0 0.0
.debug_aranges 103976 103976 0 0.0
.debug_frame 348896 348896 0 0.0
.debug_info 22271296 22271456 160 0.0
.debug_line 3260937 3260993 56 0.0
.debug_loc 3303430 3303533 103 0.0
.debug_ranges 305560 305584 24 0.0
.debug_str 3255446 3255446 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 472699 472699 0 0.0
.symtab 377824 377824 0 0.0
.text 1444640 1444640 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148824 1148816 -8 -0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595924 595916 -8 -0.0
lock-app qpg6105+debug (read/write) 1113712 1113712 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560808 560808 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790300 790308 8 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553856 553868 12 0.0
lighting-app tlsr9518adk80d (read/write) 805532 805548 16 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 565992 566006 14 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804416 804432 16 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 564864 564874 10 0.0

Copy link
Contributor

@turon turon left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

src/messaging/ExchangeContext.cpp Show resolved Hide resolved
@bzbarsky-apple
Copy link
Contributor Author

The test failures are somewhat real in the sense that we have tests that manually remove (some but not enough) retrans table entries and then send two messages in a row on the same exchange without having gotten a reply to the first one (which gets dropped in the test). Those tests need adjusting to deal with this behavior, because they are in fact relying on these messages getting delivered to the other side and the other side responding. @turon

I tried just clearing all the retrans entries, but then that drops the exchange on the server entirely, and we actually get different behavior because an injected unexpected Status Response message is handled differently depending on whether it matches a closed but still alive exchange or does not match any exchange at all. In the latter case, InteractionModelEngine::OnMessageReceived responds with a failure Status Response, etc...

@yunhanw-google do you have time to sort out how these tests (TestReadInteraction, TestWriteInteraction, TestCommandInteraction) should handle this?

@github-actions
Copy link

github-actions bot commented Oct 24, 2022

PR #23282: Size comparison from 0998742 to 683f467

Increases (46 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 0998742 683f467 change % change
bl602 lighting-app bl602 (read/write) 1390446 1390542 96 0.0
.text 1069836 1069858 22 0.0
bl602+rpc (read/write) 1435662 1435758 96 0.0
.text 1101182 1101208 26 0.0
bl702 lighting-app bl702 (read/write) 1189363 1189443 80 0.0
.debug_abbrev 1509144 1509169 25 0.0
.debug_info 37917641 37917768 127 0.0
.debug_line 5258210 5258282 72 0.0
.debug_loc 3369144 3369222 78 0.0
.rodata 116536 116600 64 0.1
.text 957908 957932 24 0.0
bl702+rpc (read/write) 1284755 1284867 112 0.0
.debug_abbrev 1646551 1646576 25 0.0
.debug_info 41824631 41824758 127 0.0
.debug_line 5632928 5633000 72 0.0
.debug_loc 3561846 3561937 91 0.0
.rodata 129928 130008 80 0.1
.text 1031098 1031122 24 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677479 677567 88 0.0
.rodata 89791 89863 72 0.1
.text 587376 587392 16 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641735 641831 96 0.0
.rodata 78927 78999 72 0.1
.text 562488 562512 24 0.0
lock-ftd LP_CC2652R7 (read only) 675987 676075 88 0.0
.rodata 77315 77387 72 0.1
.text 598192 598208 16 0.0
lock-mtd LP_CC2652R7 (read only) 659743 659823 80 0.0
.rodata 103135 103199 64 0.1
.text 556128 556144 16 0.0
pump-app LP_CC2652R7 (read only) 688251 688331 80 0.0
.rodata 90763 90835 72 0.1
.text 597004 597012 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672535 672615 80 0.0
.rodata 86319 86383 64 0.1
.text 585736 585752 16 0.0
shell LP_CC2652R7 (read only) 668518 668598 80 0.0
.rodata 86502 86566 64 0.1
.text 581700 581716 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588250 588258 8 0.0
.app_xip_area 464836 464844 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544126 544214 88 0.0
.app_xip_area 425792 425880 88 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974220 974308 88 0.0
.text 819676 819764 88 0.0
BRD4161A+rs911x (read/write) 1031784 1031888 104 0.0
.text 842992 843096 104 0.0
BRD4187C (read/write) 1146500 1146596 96 0.0
.text 980644 980740 96 0.0
lock-app BRD4161A+wf200 (read/write) 1157376 1157464 88 0.0
.text 997048 997136 88 0.0
window-app BRD4187C (read/write) 1139720 1139816 96 0.0
.text 972424 972520 96 0.0
esp32 all-clusters-app c3devkit (read only) 1223868 1223892 24 0.0
(read/write) 1788342 1788406 64 0.0
.flash.rodata 257896 257960 64 0.0
.flash.text 1223868 1223892 24 0.0
m5stack (read only) 1233807 1233827 20 0.0
(read/write) 564252 564332 80 0.0
.flash.rodata 314952 315032 80 0.0
.flash.text 1228423 1228443 20 0.0
k32w light k32w0+release (read/write) 671640 671728 88 0.0
.text 592012 592100 88 0.0
linux all-clusters-app debug (read only) 3085609 3085753 144 0.0
.rodata 281291 281355 64 0.0
.text 2620002 2620082 80 0.0
all-clusters-minimal-app debug (read only) 2911401 2911545 144 0.0
.rodata 280779 280843 64 0.0
.text 2449250 2449330 80 0.0
bridge-app debug+rpc (read only) 2411801 2411945 144 0.0
.rodata 211104 211168 64 0.0
.text 2033218 2033298 80 0.0
chip-tool debug (read only) 11076945 11077089 144 0.0
.rodata 592085 592149 64 0.0
.text 8961012 8961092 80 0.0
chip-tool-ipv6only arm64 (read only) 10430932 10431092 160 0.0
.rodata 518148 518228 80 0.0
.text 8257220 8257300 80 0.0
lighting-app debug+rpc (read only) 2638417 2638593 176 0.0
.rodata 227872 227968 96 0.0
.text 2234642 2234722 80 0.0
lock-app debug (read only) 2601145 2601289 144 0.0
.rodata 244200 244264 64 0.0
.text 2185410 2185490 80 0.0
ota-provider-app debug (read only) 2397777 2397921 144 0.0
.rodata 216840 216904 64 0.0
.text 2012466 2012546 80 0.0
ota-requestor-app debug (read only) 2563025 2563169 144 0.0
.rodata 223888 223952 64 0.0
.text 2161570 2161650 80 0.0
shell debug (read only) 2625353 2625545 192 0.0
.rodata 240018 240114 96 0.0
.text 2225762 2225858 96 0.0
thermostat-no-ble arm64 (read only) 2391420 2391564 144 0.0
.rodata 144484 144548 64 0.0
.text 2004032 2004112 80 0.0
tv-app debug (read only) 3234593 3234753 160 0.0
.rodata 268024 268088 64 0.0
.text 2773298 2773394 96 0.0
tv-casting-app debug (read only) 5577025 5577169 144 0.0
.rodata 355545 355609 64 0.0
.text 4946098 4946178 80 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452328 2452400 72 0.0
.text 1414972 1415044 72 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183787 1183871 84 0.0
rodata 144428 144496 68 0.0
text 816016 816032 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162471 1162559 88 0.0
rodata 136000 136072 72 0.1
text 803912 803928 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745804 1745908 104 0.0
.debug_abbrev 1231442 1231467 25 0.0
.debug_info 26848540 26848734 194 0.0
.debug_line 3673832 3673899 67 0.0
.debug_loc 3592717 3592803 86 0.0
.debug_ranges 338864 338888 24 0.0
.symtab 421376 421392 16 0.0
.text 1546024 1546128 104 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688404 1688492 88 0.0
.debug_abbrev 1223241 1223266 25 0.0
.debug_info 26585294 26585488 194 0.0
.debug_line 3694576 3694643 67 0.0
.debug_loc 3580354 3580440 86 0.0
.debug_ranges 337480 337504 24 0.0
.symtab 407808 407824 16 0.0
.text 1489360 1489448 88 0.0
light cy8ckit_062s2_43012 (read/write) 1606932 1607020 88 0.0
.debug_abbrev 1057333 1057358 25 0.0
.debug_info 22048747 22048939 192 0.0
.debug_line 3264212 3264280 68 0.0
.debug_loc 3278066 3278169 103 0.0
.debug_ranges 302784 302808 24 0.0
.symtab 376256 376272 16 0.0
.text 1416072 1416160 88 0.0
lock cy8ckit_062s2_43012 (read/write) 1640620 1640724 104 0.0
.debug_abbrev 1059271 1059296 25 0.0
.debug_info 22282023 22282217 194 0.0
.debug_line 3261196 3261263 67 0.0
.debug_loc 3305689 3305777 88 0.0
.debug_ranges 304720 304744 24 0.0
.symtab 377872 377888 16 0.0
.text 1444768 1444872 104 0.0
qpg lighting-app qpg6105+debug (read/write) 1148952 1149032 80 0.0
.text 596052 596132 80 0.0
lock-app qpg6105+debug (read/write) 1113840 1113920 80 0.0
.text 560936 561016 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790468 790572 104 0.0
text 554012 554040 28 0.0
lighting-app tlsr9518adk80d (read/write) 805724 805828 104 0.0
text 566172 566200 28 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804616 804712 96 0.0
text 565046 565070 24 0.0
Decreases (6 builds for cc13x2_26x2)
platform target config section 0998742 683f467 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174080 173992 -88 -0.1
lock-ftd LP_CC2652R7 (read/write) 172708 172620 -88 -0.1
lock-mtd LP_CC2652R7 (read/write) 184640 184560 -80 -0.0
pump-app LP_CC2652R7 (read/write) 161180 161100 -80 -0.0
pump-controller-app LP_CC2652R7 (read/write) 176992 176912 -80 -0.0
shell LP_CC2652R7 (read/write) 185360 185280 -80 -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 0998742 683f467 change % change
bl602 lighting-app bl602 (read/write) 1390446 1390542 96 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069836 1069858 22 0.0
bl602+rpc (read/write) 1435662 1435758 96 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1101182 1101208 26 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189363 1189443 80 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 1509144 1509169 25 0.0
.debug_aranges 132144 132144 0 0.0
.debug_frame 484736 484736 0 0.0
.debug_info 37917641 37917768 127 0.0
.debug_line 5258210 5258282 72 0.0
.debug_loc 3369144 3369222 78 0.0
.debug_ranges 358704 358704 0 0.0
.debug_str 3452505 3452505 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 116536 116600 64 0.1
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565320 565320 0 0.0
.symtab 171808 171808 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957908 957932 24 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284755 1284867 112 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 1646551 1646576 25 0.0
.debug_aranges 139648 139648 0 0.0
.debug_frame 510108 510108 0 0.0
.debug_info 41824631 41824758 127 0.0
.debug_line 5632928 5633000 72 0.0
.debug_loc 3561846 3561937 91 0.0
.debug_ranges 381160 381160 0 0.0
.debug_str 3848482 3848482 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 129928 130008 80 0.1
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624493 624493 0 0.0
.symtab 189616 189616 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031098 1031122 24 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677479 677567 88 0.0
(read/write) 174080 173992 -88 -0.1
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89863 72 0.1
.text 587376 587392 16 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641735 641831 96 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78999 72 0.1
.text 562488 562512 24 0.0
lock-ftd LP_CC2652R7 (read only) 675987 676075 88 0.0
(read/write) 172708 172620 -88 -0.1
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77387 72 0.1
.text 598192 598208 16 0.0
lock-mtd LP_CC2652R7 (read only) 659743 659823 80 0.0
(read/write) 184640 184560 -80 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103199 64 0.1
.text 556128 556144 16 0.0
pump-app LP_CC2652R7 (read only) 688251 688331 80 0.0
(read/write) 161180 161100 -80 -0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90763 90835 72 0.1
.text 597004 597012 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672535 672615 80 0.0
(read/write) 176992 176912 -80 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86319 86383 64 0.1
.text 585736 585752 16 0.0
shell LP_CC2652R7 (read only) 668518 668598 80 0.0
(read/write) 185360 185280 -80 -0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86566 64 0.1
.text 581700 581716 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588250 588258 8 0.0
.app_xip_area 464836 464844 8 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) 592306 592306 0 0.0
.app_xip_area 463596 463596 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) 544126 544214 88 0.0
.app_xip_area 425792 425880 88 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) 974220 974308 88 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819676 819764 88 0.0
BRD4161A+rs911x (read/write) 1031784 1031888 104 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842992 843096 104 0.0
BRD4187C (read/write) 1146500 1146596 96 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980644 980740 96 0.0
lock-app BRD4161A+wf200 (read/write) 1157376 1157464 88 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 997048 997136 88 0.0
window-app BRD4187C (read/write) 1139720 1139816 96 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972424 972520 96 0.0
esp32 all-clusters-app c3devkit (read only) 1223868 1223892 24 0.0
(read/write) 1788342 1788406 64 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257896 257960 64 0.0
.flash.text 1223868 1223892 24 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233807 1233827 20 0.0
(read/write) 564252 564332 80 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314952 315032 80 0.0
.flash.text 1228423 1228443 20 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661412 661412 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563156 563156 0 0.0
light k32w0+release (read/write) 671640 671728 88 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592012 592100 88 0.0
lock k32w0+release (read/write) 633220 633220 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552812 552812 0 0.0
linux all-clusters-app debug (read only) 3085609 3085753 144 0.0
(read/write) 158264 158264 0 0.0
.bss 62432 62432 0 0.0
.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 281291 281355 64 0.0
.text 2620002 2620082 80 0.0
all-clusters-minimal-app debug (read only) 2911401 2911545 144 0.0
(read/write) 149696 149696 0 0.0
.bss 61632 61632 0 0.0
.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 280779 280843 64 0.0
.text 2449250 2449330 80 0.0
bridge-app debug+rpc (read only) 2411801 2411945 144 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 211104 211168 64 0.0
.text 2033218 2033298 80 0.0
chip-tool debug (read only) 11076945 11077089 144 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 592085 592149 64 0.0
.text 8961012 8961092 80 0.0
chip-tool-ipv6only arm64 (read only) 10430932 10431092 160 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518148 518228 80 0.0
.text 8257220 8257300 80 0.0
lighting-app debug+rpc (read only) 2638417 2638593 176 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 227872 227968 96 0.0
.text 2234642 2234722 80 0.0
lock-app debug (read only) 2601145 2601289 144 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 244200 244264 64 0.0
.text 2185410 2185490 80 0.0
ota-provider-app debug (read only) 2397777 2397921 144 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 216840 216904 64 0.0
.text 2012466 2012546 80 0.0
ota-requestor-app debug (read only) 2563025 2563169 144 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 223888 223952 64 0.0
.text 2161570 2161650 80 0.0
shell debug (read only) 2625353 2625545 192 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 240018 240114 96 0.0
.text 2225762 2225858 96 0.0
thermostat-no-ble arm64 (read only) 2391420 2391564 144 0.0
(read/write) 143633 143633 0 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 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144484 144548 64 0.0
.text 2004032 2004112 80 0.0
tv-app debug (read only) 3234593 3234753 160 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 268024 268088 64 0.0
.text 2773298 2773394 96 0.0
tv-casting-app debug (read only) 5577025 5577169 144 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 355545 355609 64 0.0
.text 4946098 4946178 80 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452328 2452400 72 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414972 1415044 72 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183787 1183871 84 0.0
bss 144457 144457 0 0.0
rodata 144428 144496 68 0.0
text 816016 816032 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162471 1162559 88 0.0
bss 143684 143684 0 0.0
rodata 136000 136072 72 0.1
text 803912 803928 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745804 1745908 104 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 1231442 1231467 25 0.0
.debug_aranges 110824 110824 0 0.0
.debug_frame 371524 371524 0 0.0
.debug_info 26848540 26848734 194 0.0
.debug_line 3673832 3673899 67 0.0
.debug_loc 3592717 3592803 86 0.0
.debug_ranges 338864 338888 24 0.0
.debug_str 3436383 3436383 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 570037 570037 0 0.0
.symtab 421376 421392 16 0.0
.text 1546024 1546128 104 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) 1688404 1688492 88 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 1223241 1223266 25 0.0
.debug_aranges 110296 110296 0 0.0
.debug_frame 374604 374604 0 0.0
.debug_info 26585294 26585488 194 0.0
.debug_line 3694576 3694643 67 0.0
.debug_loc 3580354 3580440 86 0.0
.debug_ranges 337480 337504 24 0.0
.debug_str 3425404 3425404 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 534126 534126 0 0.0
.symtab 407808 407824 16 0.0
.text 1489360 1489448 88 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) 1606932 1607020 88 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 1057333 1057358 25 0.0
.debug_aranges 102504 102504 0 0.0
.debug_frame 344936 344936 0 0.0
.debug_info 22048747 22048939 192 0.0
.debug_line 3264212 3264280 68 0.0
.debug_loc 3278066 3278169 103 0.0
.debug_ranges 302784 302808 24 0.0
.debug_str 3230924 3230924 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 470503 470503 0 0.0
.symtab 376256 376272 16 0.0
.text 1416072 1416160 88 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) 1640620 1640724 104 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 1059271 1059296 25 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 346792 346792 0 0.0
.debug_info 22282023 22282217 194 0.0
.debug_line 3261196 3261263 67 0.0
.debug_loc 3305689 3305777 88 0.0
.debug_ranges 304720 304744 24 0.0
.debug_str 3250318 3250318 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 472854 472854 0 0.0
.symtab 377872 377888 16 0.0
.text 1444768 1444872 104 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148952 1149032 80 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 596052 596132 80 0.0
lock-app qpg6105+debug (read/write) 1113840 1113920 80 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560936 561016 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790468 790572 104 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554012 554040 28 0.0
lighting-app tlsr9518adk80d (read/write) 805724 805828 104 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 566172 566200 28 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804616 804712 96 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565046 565070 24 0.0

@bzbarsky-apple
Copy link
Contributor Author

I decided to fix the tests to make it look like a response from the server had in fact been received and just ignored at the data model layer instead of dropped at the message layer. That means:

  1. Clearing the "waiting for an ack" state on the client.
  2. Telling the client to send an ack for the right message id to the server when it next sends.

@bzbarsky-apple bzbarsky-apple merged commit d30cff3 into project-chip:master Oct 25, 2022
@bzbarsky-apple bzbarsky-apple deleted the fix-missing-ack-crash branch October 25, 2022 12:23
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Oct 25, 2022
…le expecting an ack. (project-chip#23282)

* Fix invariant violation if we get a message without piggyback ack while expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes project-chip#22854

* Fix tests.

* Address review comment.
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Oct 25, 2022
…le expecting an ack. (project-chip#23282)

* Fix invariant violation if we get a message without piggyback ack while expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes project-chip#22854

* Fix tests.

* Address review comment.
andy31415 pushed a commit that referenced this pull request Oct 25, 2022
…le expecting an ack. (#23282) (#23337)

* Fix invariant violation if we get a message without piggyback ack while expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes #22854

* Fix tests.

* Address review comment.
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…le expecting an ack. (project-chip#23282)

* Fix invariant violation if we get a message without piggyback ack while expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes project-chip#22854

* Fix tests.

* Address review comment.
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…le expecting an ack. (project-chip#23282)

* Fix invariant violation if we get a message without piggyback ack while expecting an ack.

Such messages are not allowed per spec, so we should just ignore them.

Fixes project-chip#22854

* Fix tests.

* Address review comment.
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.

[BUG] [crash] [mrp] Receiving a mid-exchange message without ACK bit set will crash
4 participants