-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[1.2] All-cluster-app pairing with chip tool #32037
Comments
In your |
Apparently, this function is never called. |
Is |
Both are not called. |
OK, then What does your Also, your file listing above seems to list |
Hi , this is PluginApplicationCallback.h : #pragma once #define MATTER_PLUGINS_INIT |
OK, in that case is |
Yes this is the output: ########EmberInit |
Just an update: I've missed MATTER_PLUGINS_INIT flag definition used in EmberAfInit(), Now I added it including #include <app/PluginApplicationCallbacks.h>, so now void MatterGeneralCommissioningPluginServerInitCallback() function is called but it crashes with this error: [1708343305.098015][96225:96225] CHIP:DMG: AccessControlCluster: initializing Thread 1 "matter" received signal SIGSEGV, Segmentation fault. |
I've done some step forward: now I tried to pair app with chip-tool it stops at Commissioning step 14 [1708510958.104938][72731:72731] CHIP:ZCL: OpCreds: Got FailSafeTimerExpired Thread 1 "matter" received signal SIGSEGV, Segmentation fault. |
Um... Is that not included in It's hard to say anything intelligent about your situation if there are random code modifications that I don't know about.... |
Hi no , there aren't random ,code , for the include yes it was in util but it was commented , we leave the comment . Now the problem is that wrote before in the fabriTable index: |
Well, that's the commissioner expiring the fail-safe. I strongly suggest attaching, not pasting, logs from both the commissioner and the commissionee here. That might be enough information to figure out why it did that. |
Reproduction steps
We have a version of all-cluster-app , which is built from an sdk that contains the matter toolchian built from the build.gn present here https://github.com/project-chip/connectedhomeip/blob/v1.2.0.1 /BUILD.gn.
We took the following source and header files of the all-cluster-app example and the other useful example folders as necessary, such as examle/tracing example/platform/linux, example/persistend and example/provider, we brought with us then the folder generated by zap tools and the callback-stub.cpp and PluginApplicationCallbacks.h files too .
we have the following error:
when we try to pair, the commission command fails because we have the following error:
Failed to read BasicCommissioningInfo: src/app/ClusterStateCache.cpp:270: CHIP Error 0x000000CA: Interaction Model Error
[1706866858.595449][125120:125122] CHIP:CTL: Failed to read RegulatoryConfig: src/app/ClusterStateCache.cpp:270: CHIP Error 0x000000CA: Interaction Model Error
[1706866858.595452][125120:125122] CHIP:CTL: Failed to read LocationCapability: src/app/ClusterStateCache.cpp:270: CHIP Error 0x000000CA: Interaction Model Error
We noticed that the attributes that cause us errors are declared as extrernal
I will attach also the txt file log , with the run of the chip-tool and all-cluster-app.
all-cluster.app.log.md
chip-tool-log.txt
this is our tree directory:
.
├── include
│ ├── all-cluster-app
│ │ ├── air-quality-instance.h
│ │ ├── AllClustersCommandDelegate.h
│ │ ├── AppOptions.h
│ │ ├── binding-handler.h
│ │ ├── CHIPProjectAppConfig.h
│ │ ├── dishwasher-mode.h
│ │ ├── laundry-washer-controls-delegate-impl.h
│ │ ├── laundry-washer-mode.h
│ │ ├── LockEndpoint.h
│ │ ├── LockManager.h
│ │ ├── main-common.h
│ │ ├── operational-state-delegate-impl.h
│ │ ├── resource-monitoring-delegates.h
│ │ ├── rvc-modes.h
│ │ ├── static-supported-modes-manager.h
│ │ ├── static-supported-temperature-levels.h
│ │ ├── SystemProjectConfig.h
│ │ ├── tcc-mode.h
│ │ ├── TestHarnessDACProvider.h
│ │ ├── tv-callbacks.h
│ │ ├── WindowCoveringManager.h
│ │ └── zap-generated
│ │ ├── access.h
│ │ ├── CHIPClusters.h
│ │ ├── endpoint_config.h
│ │ ├── gen_config.h
│ │ └── PluginApplicationCallbacks.h
│ └── inipp
│ └── inipp
│ └── inipp.h
└── src
├── all-cluster-app
│ ├── all-cluster-common
│ │ ├── air-quality-instance.cpp
│ │ ├── binding-handler.cpp
│ │ ├── bridged-actions-stub.cpp
│ │ ├── concentration-measurement-instances.cpp
│ │ ├── dishwasher-alarm-stub.cpp
│ │ ├── dishwasher-mode.cpp
│ │ ├── fan-stub.cpp
│ │ ├── laundry-washer-controls-delegate-impl.cpp
│ │ ├── laundry-washer-mode.cpp
│ │ ├── operational-state-delegate-impl.cpp
│ │ ├── resource-monitoring-delegates.cpp
│ │ ├── rvc-modes.cpp
│ │ ├── smco-stub.cpp
│ │ ├── static-supported-modes-manager.cpp
│ │ ├── static-supported-temperature-levels.cpp
│ │ └── tcc-mode.cpp
│ ├── AllClustersCommandDelegate.cpp
│ ├── app
│ │ └── icd
│ │ ├── ICDManagementServer.cpp
│ │ ├── ICDManager.cpp
│ │ ├── ICDMonitoringTable.cpp
│ │ └── ICDNotifier.cpp
│ ├── app-common
│ │ └── app-common
│ │ └── zap-generated
│ │ ├── attributes
│ │ │ ├── Accessors.cpp
│ │ │ └── Accessors.h
│ │ ├── attribute-size.h
│ │ ├── attribute-type.h
│ │ ├── callback.h
│ │ ├── cluster-enums-check.h
│ │ ├── cluster-enums.h
│ │ ├── cluster-objects.cpp
│ │ ├── cluster-objects.h
│ │ ├── enums.h
│ │ ├── ids
│ │ │ ├── Attributes.h
│ │ │ ├── Clusters.h
│ │ │ ├── Commands.h
│ │ │ └── Events.h
│ │ ├── print-cluster.h
│ │ └── tests
│ │ └── simulated-cluster-objects.h
│ ├── AppOptions.cpp
│ ├── app-platform
│ │ ├── ContentApp.cpp
│ │ └── ContentAppPlatform.cpp
│ ├── clusters
│ │ ├── access-control-server
│ │ │ └── access-control-server.cpp
│ │ ├── account-login-server
│ │ │ ├── account-login-delegate.h
│ │ │ ├── account-login-server.cpp
│ │ │ └── account-login-server.h
│ │ ├── administrator-commissioning-server
│ │ │ └── administrator-commissioning-server.cpp
│ │ ├── air-quality-server
│ │ │ ├── air-quality-server.cpp
│ │ │ └── air-quality-server.h
│ │ ├── application-basic-server
│ │ │ ├── application-basic-delegate.h
│ │ │ ├── application-basic-server.cpp
│ │ │ └── application-basic-server.h
│ │ ├── application-launcher-server
│ │ │ ├── application-launcher-delegate.h
│ │ │ ├── application-launcher-server.cpp
│ │ │ └── application-launcher-server.h
│ │ ├── audio-output-server
│ │ │ ├── audio-output-delegate.h
│ │ │ ├── audio-output-server.cpp
│ │ │ └── audio-output-server.h
│ │ ├── barrier-control-server
│ │ │ ├── barrier-control-server.cpp
│ │ │ └── barrier-control-server.h
│ │ ├── basic-information
│ │ │ ├── basic-information.cpp
│ │ │ └── basic-information.h
│ │ ├── bindings
│ │ │ ├── BindingManager.cpp
│ │ │ ├── BindingManager.h
│ │ │ ├── bindings.cpp
│ │ │ ├── bindings.h
│ │ │ ├── PendingNotificationMap.cpp
│ │ │ └── PendingNotificationMap.h
│ │ ├── bridged-device-basic-information-server
│ │ │ └── bridged-device-basic-information-server.cpp
│ │ ├── channel-server
│ │ │ ├── channel-delegate.h
│ │ │ ├── channel-server.cpp
│ │ │ └── channel-server.h
│ │ ├── color-control-server
│ │ │ ├── color-control-server.cpp
│ │ │ └── color-control-server.h
│ │ ├── concentration-measurement-server
│ │ │ ├── concentration-measurement-cluster-objects.h
│ │ │ └── concentration-measurement-server.h
│ │ ├── content-launch-server
│ │ │ ├── content-launch-delegate.h
│ │ │ ├── content-launch-server.cpp
│ │ │ └── content-launch-server.h
│ │ ├── descriptor
│ │ │ └── descriptor.cpp
│ │ ├── diagnostic-logs-server
│ │ │ ├── diagnostic-logs-server.cpp
│ │ │ └── diagnostic-logs-server.h
│ │ ├── dishwasher-alarm-server
│ │ │ ├── dishwasher-alarm-delegate.h
│ │ │ ├── dishwasher-alarm-server.cpp
│ │ │ └── dishwasher-alarm-server.h
│ │ ├── door-lock-server
│ │ │ ├── door-lock-server-callback.cpp
│ │ │ ├── door-lock-server.cpp
│ │ │ └── door-lock-server.h
│ │ ├── ethernet-network-diagnostics-server
│ │ │ └── ethernet-network-diagnostics-server.cpp
│ │ ├── fan-control-server
│ │ │ ├── fan-control-delegate.h
│ │ │ ├── fan-control-server.cpp
│ │ │ └── fan-control-server.h
│ │ ├── fault-injection-server
│ │ │ └── fault-injection-server.cpp
│ │ ├── fixed-label-server
│ │ │ └── fixed-label-server.cpp
│ │ ├── general-commissioning-server
│ │ │ ├── general-commissioning-server.cpp
│ │ │ └── general-commissioning-server.h
│ │ ├── general-diagnostics-server
│ │ │ ├── general-diagnostics-server.cpp
│ │ │ ├── general-diagnostics-server.h
│ │ │ ├── GenericFaultTestEventTriggerDelegate.cpp
│ │ │ └── GenericFaultTestEventTriggerDelegate.h
│ │ ├── group-key-mgmt-server
│ │ │ └── group-key-mgmt-server.cpp
│ │ ├── groups-server
│ │ │ ├── groups-server.cpp
│ │ │ └── groups-server.h
│ │ ├── ias-zone-client
│ │ │ └── README.md
│ │ ├── ias-zone-server
│ │ │ └── README.md
│ │ ├── icd-management-server
│ │ │ ├── icd-management-server.cpp
│ │ │ └── icd-management-server.h
│ │ ├── identify-server
│ │ │ ├── identify-server.cpp
│ │ │ └── identify-server.h
│ │ ├── keypad-input-server
│ │ │ ├── keypad-input-delegate.h
│ │ │ ├── keypad-input-server.cpp
│ │ │ └── keypad-input-server.h
│ │ ├── laundry-washer-controls-server
│ │ │ ├── laundry-washer-controls-delegate.h
│ │ │ ├── laundry-washer-controls-server.cpp
│ │ │ └── laundry-washer-controls-server.h
│ │ ├── level-control
│ │ │ ├── level-control.cpp
│ │ │ └── level-control.h
│ │ ├── localization-configuration-server
│ │ │ └── localization-configuration-server.cpp
│ │ ├── low-power-server
│ │ │ ├── low-power-delegate.h
│ │ │ ├── low-power-server.cpp
│ │ │ └── low-power-server.h
│ │ ├── media-input-server
│ │ │ ├── media-input-delegate.h
│ │ │ ├── media-input-server.cpp
│ │ │ └── media-input-server.h
│ │ ├── media-playback-server
│ │ │ ├── media-playback-delegate.h
│ │ │ ├── media-playback-server.cpp
│ │ │ └── media-playback-server.h
│ │ ├── mode-base-server
│ │ │ ├── mode-base-cluster-objects.cpp
│ │ │ ├── mode-base-cluster-objects.h
│ │ │ ├── mode-base-server.cpp
│ │ │ ├── mode-base-server.h
│ │ │ └── README.md
│ │ ├── mode-select-server
│ │ │ ├── mode-select-server.cpp
│ │ │ └── supported-modes-manager.h
│ │ ├── network-commissioning
│ │ │ ├── network-commissioning.cpp
│ │ │ └── network-commissioning.h
│ │ ├── occupancy-sensor-server
│ │ │ ├── occupancy-hal.h
│ │ │ ├── occupancy-sensor-server.cpp
│ │ │ └── occupancy-sensor-server.h
│ │ ├── on-off-server
│ │ │ ├── on-off-server.cpp
│ │ │ └── on-off-server.h
│ │ ├── operational-credentials-server
│ │ │ └── operational-credentials-server.cpp
│ │ ├── operational-state-server
│ │ │ ├── operational-state-cluster-objects.h
│ │ │ ├── operational-state-server.cpp
│ │ │ └── operational-state-server.h
│ │ ├── ota-provider
│ │ │ ├── DefaultOTAProviderUserConsent.h
│ │ │ ├── ota-provider.cpp
│ │ │ ├── ota-provider-delegate.h
│ │ │ ├── ota-provider.h
│ │ │ └── OTAProviderUserConsentDelegate.h
│ │ ├── ota-requestor
│ │ │ ├── BDXDownloader.cpp
│ │ │ ├── BDXDownloader.h
│ │ │ ├── DefaultOTARequestor.cpp
│ │ │ ├── DefaultOTARequestorDriver.cpp
│ │ │ ├── DefaultOTARequestorDriver.h
│ │ │ ├── DefaultOTARequestor.h
│ │ │ ├── DefaultOTARequestorStorage.cpp
│ │ │ ├── DefaultOTARequestorStorage.h
│ │ │ ├── DefaultOTARequestorUserConsent.h
│ │ │ ├── ExtendedOTARequestorDriver.cpp
│ │ │ ├── ExtendedOTARequestorDriver.h
│ │ │ ├── OTADownloader.h
│ │ │ ├── OTARequestorDriver.h
│ │ │ ├── OTARequestorInterface.h
│ │ │ ├── ota-requestor-server.cpp
│ │ │ ├── ota-requestor-server.h
│ │ │ ├── OTARequestorStorage.h
│ │ │ ├── OTARequestorUserConsentDelegate.h
│ │ │ ├── OTATestEventTriggerDelegate.cpp
│ │ │ ├── OTATestEventTriggerDelegate.h
│ │ │ └── README.md
│ │ ├── power-source-configuration-server
│ │ │ └── power-source-configuration-server.cpp
│ │ ├── power-source-server
│ │ │ ├── power-source-server.cpp
│ │ │ └── power-source-server.h
│ │ ├── pump-configuration-and-control-client
│ │ │ └── pump-configuration-and-control-client.cpp
│ │ ├── pump-configuration-and-control-server
│ │ │ └── pump-configuration-and-control-server.cpp
│ │ ├── refrigerator-alarm-server
│ │ │ ├── refrigerator-alarm-server.cpp
│ │ │ └── refrigerator-alarm-server.h
│ │ ├── resource-monitoring-server
│ │ │ ├── README.md
│ │ │ ├── replacement-product-list-manager.h
│ │ │ ├── resource-monitoring-cluster-objects.cpp
│ │ │ ├── resource-monitoring-cluster-objects.h
│ │ │ ├── resource-monitoring-server.cpp
│ │ │ └── resource-monitoring-server.h
│ │ ├── sample-mei-server
│ │ │ ├── sample-mei-server.cpp
│ │ │ └── sample-mei-server.h
│ │ ├── scenes-server
│ │ │ ├── BUILD.gn
│ │ │ ├── ExtensionFieldSets.h
│ │ │ ├── ExtensionFieldSetsImpl.cpp
│ │ │ ├── ExtensionFieldSetsImpl.h
│ │ │ ├── scenes-server.cpp
│ │ │ ├── scenes-server.h
│ │ │ ├── SceneTable.h
│ │ │ ├── SceneTableImpl.cpp
│ │ │ └── SceneTableImpl.h
│ │ ├── smoke-co-alarm-server
│ │ │ ├── smoke-co-alarm-server.cpp
│ │ │ ├── smoke-co-alarm-server.h
│ │ │ ├── SmokeCOTestEventTriggerDelegate.cpp
│ │ │ └── SmokeCOTestEventTriggerDelegate.h
│ │ ├── software-diagnostics-server
│ │ │ ├── software-diagnostics-server.cpp
│ │ │ └── software-diagnostics-server.h
│ │ ├── switch-server
│ │ │ ├── switch-server.cpp
│ │ │ └── switch-server.h
│ │ ├── target-navigator-server
│ │ │ ├── target-navigator-delegate.h
│ │ │ ├── target-navigator-server.cpp
│ │ │ └── target-navigator-server.h
│ │ ├── temperature-control-server
│ │ │ ├── supported-temperature-levels-manager.h
│ │ │ └── temperature-control-server.cpp
│ │ ├── test-cluster-server
│ │ │ └── test-cluster-server.cpp
│ │ ├── thermostat-client
│ │ │ └── thermostat-client.cpp
│ │ ├── thermostat-server
│ │ │ └── thermostat-server.cpp
│ │ ├── thermostat-user-interface-configuration-server
│ │ │ └── thermostat-user-interface-configuration-server.cpp
│ │ ├── thread-network-diagnostics-server
│ │ │ └── thread-network-diagnostics-server.cpp
│ │ ├── time-format-localization-server
│ │ │ └── time-format-localization-server.cpp
│ │ ├── time-synchronization-server
│ │ │ ├── DefaultTimeSyncDelegate.cpp
│ │ │ ├── DefaultTimeSyncDelegate.h
│ │ │ ├── TimeSyncDataProvider.cpp
│ │ │ ├── TimeSyncDataProvider.h
│ │ │ ├── time-synchronization-delegate.h
│ │ │ ├── time-synchronization-server.cpp
│ │ │ └── time-synchronization-server.h
│ │ ├── user-label-server
│ │ │ └── user-label-server.cpp
│ │ ├── wake-on-lan-server
│ │ │ ├── wake-on-lan-delegate.h
│ │ │ ├── wake-on-lan-server.cpp
│ │ │ └── wake-on-lan-server.h
│ │ ├── wifi-network-diagnostics-server
│ │ │ └── wifi-network-diagnostics-server.cpp
│ │ └── window-covering-server
│ │ ├── window-covering-delegate.h
│ │ ├── window-covering-server.cpp
│ │ └── window-covering-server.h
│ ├── fuzzing-main.cpp
│ ├── lock-app-common
│ │ ├── LockEndpoint.cpp
│ │ ├── LockManager.cpp
│ │ └── ZCLDoorLockCallbacks.cpp
│ ├── main-common.cpp
│ ├── main.cpp
│ ├── TestHarnessDACProvider.cpp
│ ├── tv-callbacks.cpp
│ ├── util
│ │ ├── attribute-size-util.cpp
│ │ ├── attribute-storage.cpp
│ │ ├── attribute-table.cpp
│ │ ├── binding-table.cpp
│ │ ├── DataModelHandler.cpp
│ │ ├── ember-compatibility-functions.cpp
│ │ ├── generic-callback-stubs.cpp
│ │ ├── message.cpp
│ │ ├── privilege-storage.cpp
│ │ └── util.cpp
│ ├── WindowCoveringManager.cpp
│ └── zap-generated
│ ├── access.h
│ ├── callback-stub.cpp
│ ├── CHIPClusters.h
│ ├── endpoint_config.h
│ ├── gen_config.h
│ ├── IMClusterCommandHandler.cpp
│ └── PluginApplicationCallbacks.h
├── app
│ └── icd
├── lib
│ └── support
│ └── logging
│ ├── BinaryLogging.cpp
│ └── TextOnlyLogging.cpp
├── main.cpp
├── persistent
├── platform_linux
│ ├── AppMain.cpp
│ ├── AppMain.h
│ ├── CommissionableInit.cpp
│ ├── CommissionableInit.h
│ ├── CommissioneeShellCommands.cpp
│ ├── CommissioneeShellCommands.h
│ ├── CommissionerMain.cpp
│ ├── CommissionerMain.h
│ ├── CommonRpc.h
│ ├── ControllerShellCommands.cpp
│ ├── ControllerShellCommands.h
│ ├── DeviceInfoProviderImpl.cpp
│ ├── DeviceInfoProviderImpl.h
│ ├── LinuxCommissionableDataProvider.cpp
│ ├── LinuxCommissionableDataProvider.h
│ ├── NamedPipeCommands.cpp
│ ├── NamedPipeCommands.h
│ ├── Options.cpp
│ ├── Options.h
│ └── testing
│ ├── CustomCSRResponse.cpp
│ ├── CustomCSRResponse.h
│ ├── CustomCSRResponseOperationalKeyStore.cpp
│ └── CustomCSRResponseOperationalKeyStore.h
├── provider
│ ├── DeviceInfoProviderImpl.cpp
│ └── DeviceInfoProviderImpl.h
└── tracing
├── decoder
│ ├── bdx
│ │ ├── Decoder.cpp
│ │ └── Decoder.h
│ ├── echo
│ │ ├── Decoder.cpp
│ │ └── Decoder.h
│ ├── interaction_model
│ │ ├── Decoder.cpp
│ │ ├── DecoderCustomLog.cpp
│ │ ├── DecoderCustomLog.h
│ │ └── Decoder.h
│ ├── logging
│ │ ├── Log.cpp
│ │ ├── Log.h
│ │ ├── ToCertificateString.cpp
│ │ └── ToCertificateString.h
│ ├── secure_channel
│ │ ├── Decoder.cpp
│ │ └── Decoder.h
│ ├── TraceDecoderProtocols.cpp
│ ├── TraceDecoderProtocols.h
│ └── udc
│ ├── Decoder.cpp
│ └── Decoder.h
├── main.cpp
├── TraceDecoderArgumentParser.cpp
├── TraceDecoderArgumentParser.h
├── TraceDecoder.cpp
├── TraceDecoder.h
├── TraceDecoderOptions.h
├── TraceHandlers.cpp
├── TraceHandlers.h
├── TracingCommandLineArgument.cpp
└── TracingCommandLineArgument.h
Bug prevalence
everytime
GitHub hash of the SDK that was being used
0b9dfec
Platform
other
Platform Version(s)
1.2
Type
Core SDK Memory Issue
Anything else?
No response
The text was updated successfully, but these errors were encountered: