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 handling command handler status for group messages #30484

Merged

Conversation

kkasperczyk-no
Copy link
Contributor

The command handler status is added for the response purposes even in case of invoking commands targeted to the group. In case of using more than one endpoint on a single Matter node that was added to the same group, it leads to the application crash. The direct reason is a state check, that succeeds only for the first endpoint and fails for the subsequent calls.

Added a new state flag, which informs if the command that is currently handled origins from groupcast communication or not. In case of targeting the group, application returns prematurely and do not try to add status.

Fixes: #30472

The command handler status is added for the response purposes
even in case of invoking commands targeted to the group.
In case of using more than one endpoint on a single
Matter node that was added to the same group, it leads to the
application crash. The direct reason is a state check,
that succeeds only for the first endpoint and fails for the
subsequent calls.

Added a new state flag, which informs if the command that is
currently handled origins from groupcast communication or not.
In case of targeting the group, application returns prematurely
and do not try to add status.

Fixes: project-chip#30472
Copy link

github-actions bot commented Nov 15, 2023

PR #30484: Size comparison from 75cf38c to 124cea2

Increases above 0.2%:

platform target config section 75cf38c8 124cea2 change % change
linux chip-tool-ipv6only arm64 (read/write) 520896 524848 3952 0.8
Increases (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 75cf38c8 124cea2 change % change
bl602 lighting-app bl602 (read/write) 1408518 1408558 40 0.0
.bss 84512 84528 16 0.0
.text 1077526 1077548 22 0.0
bl602+mfd (read/write) 1422974 1423014 40 0.0
.bss 84680 84696 16 0.0
.text 1092878 1092900 22 0.0
bl602+rpc (read/write) 1456038 1456078 40 0.0
.bss 92544 92560 16 0.0
.text 1109014 1109036 22 0.0
bl702 lighting-app bl702 (read/write) 1174691 1174731 40 0.0
.text 948020 948042 22 0.0
bl702+mfd (read/write) 1185559 1185599 40 0.0
.text 959828 959850 22 0.0
bl702+rpc (read/write) 1274759 1274795 36 0.0
.text 1023086 1023108 22 0.0
bl706-eth (read/write) 993625 993665 40 0.0
.text 740492 740514 22 0.0
bl706-wifi (read/write) 1228842 1228878 36 0.0
.text 964986 965008 22 0.0
bl702l lighting-app bl702l (read/write) 1144408 1144956 548 0.0
.text 941114 941136 22 0.0
bl702l+mfd .text 953490 953512 22 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read/write) 166536 166544 8 0.0
.bss 88948 88956 8 0.0
lock-ftd LP_EM_CC1354P10_6 (read/write) 176764 176772 8 0.0
.bss 99132 99140 8 0.0
lock-mtd LP_EM_CC1354P10_6 (read/write) 171220 171228 8 0.0
.bss 93588 93596 8 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697635 697651 16 0.0
.text 616788 616804 16 0.0
pump-controller-app LP_EM_CC1354P10_6 (read/write) 165768 165776 8 0.0
.bss 87960 87968 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 564482 564506 24 0.0
(read/write) 206496 206512 16 0.0
.bss 199956 199972 16 0.0
.text 478628 478652 24 0.0
lock CC3235SF_LAUNCHXL (read only) 616722 616746 24 0.0
(read/write) 206836 206852 16 0.0
.bss 200272 200288 16 0.0
.text 509080 509104 24 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 555295 555359 64 0.0
.app_xip_area 446361 446409 48 0.0
.bss 63848 63864 16 0.0
lock cyw930739m2evb_01 (read/write) 538887 538943 56 0.0
.app_xip_area 425217 425257 40 0.0
.bss 68552 68568 16 0.0
ota-requestor cyw930739m2evb_01 (read/write) 577039 577095 56 0.0
.app_xip_area 469433 469473 40 0.0
.bss 62592 62608 16 0.0
switch cyw930739m2evb_01 (read/write) 553055 553111 56 0.0
.app_xip_area 442361 442401 40 0.0
.bss 65576 65592 16 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1009356 1009452 96 0.0
.bss 171920 171936 16 0.0
.text 834720 834800 80 0.0
BRD4187C (read/write) 1095436 1095500 64 0.0
.bss 195572 195588 16 0.0
.text 896540 896588 48 0.0
lock-app BRD4161A+wf200 (read/write) 1103344 1103424 80 0.0
.bss 186576 186592 16 0.0
.text 914036 914100 64 0.0
window-app BRD4187C (read/write) 1131608 1131696 88 0.0
.bss 167980 167996 16 0.0
.text 960432 960504 72 0.0
esp32 all-clusters-app c3devkit (read only) 1130650 1130672 22 0.0
(read/write) 1670140 1670156 16 0.0
.dram0.bss 71856 71872 16 0.0
.flash.text 1130650 1130672 22 0.0
m5stack (read only) 1175711 1175747 36 0.0
(read/write) 520136 520152 16 0.0
.dram0.bss 78496 78512 16 0.0
.flash.text 1170327 1170363 36 0.0
k32w contact k32w0+release (read/write) 87608 87616 8 0.0
.bss 70848 70856 8 0.0
k32w1+release .bss 67048 67056 8 0.0
light k32w0+release (read/write) 87284 87292 8 0.0
.bss 70536 70544 8 0.0
k32w1+release .bss 76724 76732 8 0.0
lock k32w0+release (read only) 563380 563412 32 0.0
.text 562844 562876 32 0.0
linux air-purifier-app debug (read only) 2489141 2489285 144 0.0
.text 2137877 2138021 144 0.0
all-clusters-app debug (read only) 5296529 5296657 128 0.0
.text 4611299 4611427 128 0.0
all-clusters-minimal-app debug (read only) 4903673 4903801 128 0.0
.text 4402371 4402499 128 0.0
bridge-app debug (read only) 4384505 4384633 128 0.0
.text 3948739 3948867 128 0.0
chip-tool debug (read only) 10552401 10552529 128 0.0
.text 9537075 9537203 128 0.0
chip-tool-ipv6only arm64 (read only) 10408896 10409040 144 0.0
(read/write) 520896 524848 3952 0.8
.text 9294920 9295064 144 0.0
lighting-app debug+rpc+ui (read only) 5249345 5249473 128 0.0
.text 4668307 4668435 128 0.0
lock-app debug (read only) 4469793 4469921 128 0.0
.text 4014611 4014739 128 0.0
ota-provider-app debug (read only) 4133937 4134065 128 0.0
.text 3742563 3742691 128 0.0
ota-requestor-app debug (read only) 4220209 4220353 144 0.0
.text 3820787 3820931 144 0.0
shell debug (read only) 2754297 2754425 128 0.0
.text 2404642 2404770 128 0.0
thermostat-no-ble arm64 (read only) 4372520 4372680 160 0.0
.text 3871736 3871896 160 0.0
tv-app debug (read only) 5253913 5254041 128 0.0
.text 4752403 4752531 128 0.0
tv-casting-app debug (read only) 8484873 8485001 128 0.0
.text 7725171 7725299 128 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2521888 2521952 64 0.0
.bss 219008 219024 16 0.0
.text 1484572 1484636 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1054888 1054952 64 0.0
bss 128347 128363 16 0.0
text 774828 774880 52 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1181736 1181800 64 0.0
bss 120549 120565 16 0.0
text 772536 772580 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1040244 1040420 176 0.0
bss 128640 128656 16 0.0
text 764616 764668 52 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1733220 1733268 48 0.0
.bss 193236 193252 16 0.0
.text 1529116 1529148 32 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1697092 1697124 32 0.0
.bss 191516 191532 16 0.0
.text 1494708 1494724 16 0.0
light cy8ckit_062s2_43012 (read/write) 1623276 1623308 32 0.0
.bss 185076 185092 16 0.0
.text 1427444 1427460 16 0.0
lock cy8ckit_062s2_43012 (read/write) 1652052 1652084 32 0.0
.bss 212268 212284 16 0.0
.text 1429012 1429028 16 0.0
qpg lighting-app qpg6105+debug .bss 100672 100680 8 0.0
lock-app qpg6105+debug .bss 95448 95456 8 0.0
telink air-quality-sensor-app tlsr9528a_retention (read/write) 812342 812358 16 0.0
text 606874 606896 22 0.0
all-clusters-app tlsr9518adk80d (read/write) 1072120 1072160 40 0.0
bss 99392 99408 16 0.0
text 755602 755624 22 0.0
all-clusters-minimal-app tlsr9528a (read/write) 1077052 1077084 32 0.0
bss 109088 109104 16 0.0
text 747294 747316 22 0.0
bridge-app tlsr9518adk80d (read/write) 930776 930816 40 0.0
bss 93688 93704 16 0.0
text 643674 643696 22 0.0
contact-sensor-app tlsr9528a_retention (read/write) 815578 815602 24 0.0
text 609924 609946 22 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 969824 969840 16 0.0
text 687850 687872 22 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1086876 1086916 40 0.0
bss 99196 99212 16 0.0
text 764406 764428 22 0.0
lock-app-dfu tlsr9528a_retention (read/write) 869342 869366 24 0.0
text 637036 637058 22 0.0
ota-requestor-app tlsr9518adk80d (read/write) 944064 944104 40 0.0
bss 91796 91812 16 0.0
text 659416 659438 22 0.0
pump-app tlsr9528a (read/write) 872232 872256 24 0.0
text 616450 616472 22 0.0
pump-controller-app tlsr9518adk80d (read/write) 812796 812820 24 0.0
text 583426 583448 22 0.0
resource-monitoring-app tlsr9518adk80d (read/write) 828496 828520 24 0.0
text 594040 594062 22 0.0
smoke_co_alarm-app tlsr9528a_retention (read/write) 817314 817338 24 0.0
text 612654 612676 22 0.0
temperature-measurement-app tlsr9528a_retention (read/write) 805150 805174 24 0.0
text 602284 602306 22 0.0
thermostat tlsr9518adk80d (read/write) 833888 833904 16 0.0
text 598782 598804 22 0.0
window-covering tlsr9518adk80d (read/write) 831348 831372 24 0.0
text 595832 595854 22 0.0
Decreases (14 builds for bl702l, cc13x4_26x4, k32w, linux, psoc6, qpg)
platform target config section 75cf38c8 124cea2 change % change
bl702l lighting-app bl702l+mfd (read/write) 1156380 1155904 -476 -0.0
cc13x4_26x4 lock-ftd LP_EM_CC1354P10_6 (read only) 756931 756923 -8 -0.0
.text 676724 676716 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 743619 743611 -8 -0.0
.text 637716 637708 -8 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 683315 683307 -8 -0.0
.text 606636 606628 -8 -0.0
k32w contact k32w1+release .text 573704 573696 -8 -0.0
light k32w0+release (read only) 591564 591548 -16 -0.0
.text 591028 591012 -16 -0.0
k32w1+release .text 656840 656832 -8 -0.0
linux thermostat-no-ble arm64 (read/write) 245160 245000 -160 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837624 837608 -16 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839344 839328 -16 -0.0
light cy8ckit_062s2_43012 (read only) 845896 845880 -16 -0.0
lock cy8ckit_062s2_43012 (read only) 818688 818672 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1113368 1113352 -16 -0.0
.text 625744 625728 -16 -0.0
lock-app qpg6105+debug (read/write) 1074484 1074460 -24 -0.0
.text 586860 586836 -24 -0.0
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 75cf38c8 124cea2 change % change
bl602 lighting-app bl602 (read/write) 1408518 1408558 40 0.0
.bss 84512 84528 16 0.0
.data 9376 9376 0 0.0
.rodata 156456 156456 0 0.0
.text 1077526 1077548 22 0.0
bl602+mfd (read/write) 1422974 1423014 40 0.0
.bss 84680 84696 16 0.0
.data 9344 9344 0 0.0
.rodata 155416 155416 0 0.0
.text 1092878 1092900 22 0.0
bl602+rpc (read/write) 1456038 1456078 40 0.0
.bss 92544 92560 16 0.0
.data 9744 9744 0 0.0
.rodata 164072 164072 0 0.0
.text 1109014 1109036 22 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1174691 1174731 40 0.0
.bss 11197 11197 0 0.0
.data 3560 3560 0 0.0
.rodata 106192 106192 0 0.0
.text 948020 948042 22 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1185559 1185599 40 0.0
.bss 11373 11373 0 0.0
.data 3536 3536 0 0.0
.rodata 105132 105132 0 0.0
.text 959828 959850 22 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1274759 1274795 36 0.0
.bss 19677 19677 0 0.0
.data 4112 4112 0 0.0
.rodata 121600 121600 0 0.0
.text 1023086 1023108 22 0.0
bl706-eth (read/write) 993625 993665 40 0.0
.bss 23772 23772 0 0.0
.data 3128 3128 0 0.0
.rodata 99280 99280 0 0.0
.text 740492 740514 22 0.0
bl706-wifi (read/write) 1228842 1228878 36 0.0
.bss 10657 10657 0 0.0
.data 3568 3568 0 0.0
.rodata 120140 120140 0 0.0
.text 964986 965008 22 0.0
bl702l lighting-app bl702l (read/write) 1144408 1144956 548 0.0
.bss 16408 16408 0 0.0
.data 4920 4920 0 0.0
.rodata 100196 100196 0 0.0
.text 941114 941136 22 0.0
bl702l+mfd (read/write) 1156380 1155904 -476 -0.0
.bss 16584 16584 0 0.0
.data 4904 4904 0 0.0
.rodata 99136 99136 0 0.0
.text 953490 953512 22 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737979 737979 0 0.0
(read/write) 166536 166544 8 0.0
.bss 88948 88956 8 0.0
.data 3424 3424 0 0.0
.rodata 84703 84703 0 0.0
.text 652884 652884 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 756931 756923 -8 -0.0
(read/write) 176764 176772 8 0.0
.bss 99132 99140 8 0.0
.data 3444 3444 0 0.0
.rodata 79815 79815 0 0.0
.text 676724 676716 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 743619 743611 -8 -0.0
(read/write) 171220 171228 8 0.0
.bss 93588 93596 8 0.0
.data 3444 3444 0 0.0
.rodata 105511 105511 0 0.0
.text 637716 637708 -8 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 697635 697651 16 0.0
(read/write) 165636 165636 0 0.0
.bss 87816 87816 0 0.0
.data 3412 3412 0 0.0
.rodata 80455 80455 0 0.0
.text 616788 616804 16 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 683315 683307 -8 -0.0
(read/write) 165768 165776 8 0.0
.bss 87960 87968 8 0.0
.data 3408 3408 0 0.0
.rodata 76287 76287 0 0.0
.text 606636 606628 -8 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 564482 564506 24 0.0
(read/write) 206496 206512 16 0.0
.bss 199956 199972 16 0.0
.data 1416 1416 0 0.0
.rodata 83730 83730 0 0.0
.text 478628 478652 24 0.0
lock CC3235SF_LAUNCHXL (read only) 616722 616746 24 0.0
(read/write) 206836 206852 16 0.0
.bss 200272 200288 16 0.0
.data 1444 1444 0 0.0
.rodata 105522 105522 0 0.0
.text 509080 509104 24 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 555295 555359 64 0.0
.app_xip_area 446361 446409 48 0.0
.bss 63848 63864 16 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 538887 538943 56 0.0
.app_xip_area 425217 425257 40 0.0
.bss 68552 68568 16 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 577039 577095 56 0.0
.app_xip_area 469433 469473 40 0.0
.bss 62592 62608 16 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 553055 553111 56 0.0
.app_xip_area 442361 442401 40 0.0
.bss 65576 65592 16 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1009356 1009452 96 0.0
.bss 171920 171936 16 0.0
.data 2696 2696 0 0.0
.text 834720 834800 80 0.0
BRD4187C (read/write) 1095436 1095500 64 0.0
.bss 195572 195588 16 0.0
.data 3304 3304 0 0.0
.text 896540 896588 48 0.0
lock-app BRD4161A+wf200 (read/write) 1103344 1103424 80 0.0
.bss 186576 186592 16 0.0
.data 2708 2708 0 0.0
.text 914036 914100 64 0.0
window-app BRD4187C (read/write) 1131608 1131696 88 0.0
.bss 167980 167996 16 0.0
.data 3176 3176 0 0.0
.text 960432 960504 72 0.0
esp32 all-clusters-app c3devkit (read only) 1130650 1130672 22 0.0
(read/write) 1670140 1670156 16 0.0
.dram0.bss 71856 71872 16 0.0
.dram0.data 12996 12996 0 0.0
.flash.rodata 241416 241416 0 0.0
.flash.text 1130650 1130672 22 0.0
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1175711 1175747 36 0.0
(read/write) 520136 520152 16 0.0
.dram0.bss 78496 78512 16 0.0
.dram0.data 34020 34020 0 0.0
.flash.rodata 273256 273256 0 0.0
.flash.text 1170327 1170363 36 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 591860 591860 0 0.0
(read/write) 87608 87616 8 0.0
.bss 70848 70856 8 0.0
.data 2136 2136 0 0.0
.text 591324 591324 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 686952 686952 0 0.0
.bss 67048 67056 8 0.0
.data 2720 2720 0 0.0
.text 573704 573696 -8 -0.0
light k32w0+release (read only) 591564 591548 -16 -0.0
(read/write) 87284 87292 8 0.0
.bss 70536 70544 8 0.0
.data 2124 2124 0 0.0
.text 591028 591012 -16 -0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 778956 778956 0 0.0
.bss 76724 76732 8 0.0
.data 1932 1932 0 0.0
.text 656840 656832 -8 -0.0
lock k32w0+release (read only) 563380 563412 32 0.0
(read/write) 85112 85112 0 0.0
.bss 68424 68424 0 0.0
.data 2064 2064 0 0.0
.text 562844 562876 32 0.0
linux air-purifier-app debug (read only) 2489141 2489285 144 0.0
(read/write) 126608 126608 0 0.0
.bss 46880 46880 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 177032 177032 0 0.0
.text 2137877 2138021 144 0.0
all-clusters-app debug (read only) 5296529 5296657 128 0.0
(read/write) 424440 424440 0 0.0
.bss 129104 129104 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 284240 284240 0 0.0
.dynamic 624 624 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 300924 300924 0 0.0
.text 4611299 4611427 128 0.0
all-clusters-minimal-app debug (read only) 4903673 4903801 128 0.0
(read/write) 233408 233408 0 0.0
.bss 126928 126928 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 95568 95568 0 0.0
.dynamic 624 624 0 0.0
.got 5312 5312 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 269933 269933 0 0.0
.text 4402371 4402499 128 0.0
bridge-app debug (read only) 4384505 4384633 128 0.0
(read/write) 215456 215456 0 0.0
.bss 119128 119128 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 84864 84864 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 218005 218005 0 0.0
.text 3948739 3948867 128 0.0
chip-tool debug (read only) 10552401 10552529 128 0.0
(read/write) 457544 457544 0 0.0
.bss 94008 94008 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 351304 351304 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 397801 397801 0 0.0
.text 9537075 9537203 128 0.0
chip-tool-ipv6only arm64 (read only) 10408896 10409040 144 0.0
(read/write) 520896 524848 3952 0.8
.bss 103320 103320 0 0.0
.data 4296 4296 0 0.0
.data.rel.ro 389024 389024 0 0.0
.dynamic 512 512 0 0.0
.got 18800 18800 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 322552 322552 0 0.0
.text 9294920 9295064 144 0.0
lighting-app debug+rpc+ui (read only) 5249345 5249473 128 0.0
(read/write) 223624 223624 0 0.0
.bss 118592 118592 0 0.0
.data 4384 4384 0 0.0
.data.rel.ro 93104 93104 0 0.0
.dynamic 672 672 0 0.0
.got 5896 5896 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 337588 337588 0 0.0
.text 4668307 4668435 128 0.0
lock-app debug (read only) 4469793 4469921 128 0.0
(read/write) 203072 203072 0 0.0
.bss 113536 113536 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79144 79144 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 245909 245909 0 0.0
.text 4014611 4014739 128 0.0
ota-provider-app debug (read only) 4133937 4134065 128 0.0
(read/write) 192288 192288 0 0.0
.bss 113568 113568 0 0.0
.data 3920 3920 0 0.0
.data.rel.ro 68880 68880 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 200309 200309 0 0.0
.text 3742563 3742691 128 0.0
ota-requestor-app debug (read only) 4220209 4220353 144 0.0
(read/write) 196536 196536 0 0.0
.bss 114592 114592 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 71840 71840 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204053 204053 0 0.0
.text 3820787 3820931 144 0.0
shell debug (read only) 2754297 2754425 128 0.0
(read/write) 148832 148832 0 0.0
.bss 59752 59752 0 0.0
.data 784 784 0 0.0
.data.rel.ro 82496 82496 0 0.0
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 179136 179136 0 0.0
.text 2404642 2404770 128 0.0
thermostat-no-ble arm64 (read only) 4372520 4372680 160 0.0
(read/write) 245160 245000 -160 -0.1
.bss 122184 122184 0 0.0
.data 2800 2800 0 0.0
.data.rel.ro 101864 101864 0 0.0
.dynamic 512 512 0 0.0
.got 11936 11936 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161540 161540 0 0.0
.text 3871736 3871896 160 0.0
tv-app debug (read only) 5253913 5254041 128 0.0
(read/write) 344984 344984 0 0.0
.bss 242336 242336 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 90352 90352 0 0.0
.dynamic 624 624 0 0.0
.got 5520 5520 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 266749 266749 0 0.0
.text 4752403 4752531 128 0.0
tv-casting-app debug (read only) 8484873 8485001 128 0.0
(read/write) 318912 318912 0 0.0
.bss 156192 156192 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 153408 153408 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 344136 344136 0 0.0
.text 7725171 7725299 128 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2521888 2521952 64 0.0
.bss 219008 219024 16 0.0
.data 5136 5136 0 0.0
.text 1484572 1484636 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1054888 1054952 64 0.0
bss 128347 128363 16 0.0
rodata 104136 104136 0 0.0
text 774828 774880 52 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1181736 1181800 64 0.0
bss 120549 120565 16 0.0
rodata 138328 138328 0 0.0
text 772536 772580 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1040244 1040420 176 0.0
bss 128640 128656 16 0.0
rodata 99404 99404 0 0.0
text 764616 764668 52 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837624 837608 -16 -0.0
(read/write) 1733220 1733268 48 0.0
.bss 193236 193252 16 0.0
.data 2480 2480 0 0.0
.text 1529116 1529148 32 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839344 839328 -16 -0.0
(read/write) 1697092 1697124 32 0.0
.bss 191516 191532 16 0.0
.data 2480 2480 0 0.0
.text 1494708 1494724 16 0.0
light cy8ckit_062s2_43012 (read only) 845896 845880 -16 -0.0
(read/write) 1623276 1623308 32 0.0
.bss 185076 185092 16 0.0
.data 2368 2368 0 0.0
.text 1427444 1427460 16 0.0
lock cy8ckit_062s2_43012 (read only) 818688 818672 -16 -0.0
(read/write) 1652052 1652084 32 0.0
.bss 212268 212284 16 0.0
.data 2384 2384 0 0.0
.text 1429012 1429028 16 0.0
qpg lighting-app qpg6105+debug (read/write) 1113368 1113352 -16 -0.0
.bss 100672 100680 8 0.0
.data 748 748 0 0.0
.text 625744 625728 -16 -0.0
lock-app qpg6105+debug (read/write) 1074484 1074460 -24 -0.0
.bss 95448 95456 8 0.0
.data 780 780 0 0.0
.text 586860 586836 -24 -0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 812342 812358 16 0.0
bss 53168 53168 0 0.0
text 606874 606896 22 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072120 1072160 40 0.0
bss 99392 99408 16 0.0
text 755602 755624 22 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1077052 1077084 32 0.0
bss 109088 109104 16 0.0
text 747294 747316 22 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930776 930816 40 0.0
bss 93688 93704 16 0.0
text 643674 643696 22 0.0
contact-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 815578 815602 24 0.0
bss 53276 53276 0 0.0
text 609924 609946 22 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 969824 969840 16 0.0
bss 77076 77076 0 0.0
text 687850 687872 22 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086876 1086916 40 0.0
bss 99196 99212 16 0.0
text 764406 764428 22 0.0
lock-app-dfu tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 869342 869366 24 0.0
bss 53916 53916 0 0.0
text 637036 637058 22 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944064 944104 40 0.0
bss 91796 91812 16 0.0
text 659416 659438 22 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 872232 872256 24 0.0
bss 67112 67112 0 0.0
text 616450 616472 22 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 812796 812820 24 0.0
bss 55356 55356 0 0.0
text 583426 583448 22 0.0
resource-monitoring-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 828496 828520 24 0.0
bss 55760 55760 0 0.0
text 594040 594062 22 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705712 705712 0 0.0
bss 73232 73232 0 0.0
text 462250 462250 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 817314 817338 24 0.0
bss 53368 53368 0 0.0
text 612654 612676 22 0.0
temperature-measurement-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 805150 805174 24 0.0
bss 53116 53116 0 0.0
text 602284 602306 22 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 833888 833904 16 0.0
bss 55644 55644 0 0.0
text 598782 598804 22 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 831348 831372 24 0.0
bss 55996 55996 0 0.0
text 595832 595854 22 0.0

@kkasperczyk-no
Copy link
Contributor Author

kkasperczyk-no commented Nov 15, 2023

Changing to draft, as I want to prevent mergify from merging it before getting reviews from people involved in a slack discussion. Btw. is there a more convenient way to do that? 😄

@kkasperczyk-no kkasperczyk-no marked this pull request as draft November 15, 2023 09:08
@tehampson
Copy link
Contributor

Changing to draft, as I want to prevent mergify from merging it before getting reviews from people involved in a slack discussion. Btw. is there a more convenient way to do that? 😄

Future reference you can also add a comment to the change saying that it is blocking comment for reason x,y,z and that you will resolve to allow merging once condition is satisfied. At least I prefer that method personally over draft PR

@kkasperczyk-no kkasperczyk-no marked this pull request as ready for review November 15, 2023 16:37
@mergify mergify bot merged commit 1ada682 into project-chip:master Nov 15, 2023
57 checks passed
MauritsFassaert pushed a commit to meulemanelectronics/connectedhomeip that referenced this pull request Aug 23, 2024
…30484)

The command handler status is added for the response purposes
even in case of invoking commands targeted to the group.
In case of using more than one endpoint on a single
Matter node that was added to the same group, it leads to the
application crash. The direct reason is a state check,
that succeeds only for the first endpoint and fails for the
subsequent calls.

Added a new state flag, which informs if the command that is
currently handled origins from groupcast communication or not.
In case of targeting the group, application returns prematurely
and do not try to add status.

Fixes: project-chip#30472
MauritsFassaert added a commit to meulemanelectronics/connectedhomeip that referenced this pull request Aug 23, 2024
…atus_crash_fix

Fix handling command handler status for group messages (project-chip#30484)
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] The command handler state tracking does not work properly for the groupcast messages.
5 participants