Comments (3)
Some more data:
(lldb) f 2
frame #2: 0x00000001181d2a10 Matter`chip::System::TLVPacketBufferBackingStore::FinalizeBuffer(this=0x000000016dc40838, writer=0x000000016dc407f8, bufStart="\U000000150\U00000001 }A\xc7N\xa8\U00000012\xaa\x97\xfd\xc2\xda`)+N\xeb\xb5\U0000001bF#C+\xe7\U0000001f\x9b\U0000000eS\xcd", dataLen=76) at TLVPacketBufferBackingStore.cpp:82:21
(lldb) p sizeof(chip::System::PacketBuffer)
(unsigned long) 24
(lldb) f 1
frame #1: 0x00000001181616a0 Matter`chip::System::PacketBuffer::SetDataLength(this=0x00000001095028a0, aNewLen=76, aChainHead=0x000000016dc40840) at SystemPacketBuffer.h:703:19
(lldb) p sizeof(chip::System::PacketBuffer)
error: <user expression 14>:1:22: reference to 'PacketBuffer' is ambiguous
sizeof(chip::System::PacketBuffer)
^
note: candidate found by name lookup is 'chip::System::PacketBuffer'
note: candidate found by name lookup is 'chip::System::PacketBuffer'
which seems like for some reason we have two definitions of chip::System::PacketBuffer around, and different objects end up linking different ones...
from connectedhomeip.
I wonder whether we have a copy from libCHIP.a
and another copy from the direct uses in Matter.framework
(included by MTRBaseDevice_Internal.h
and used in MTRCommandPayloadsObjc.mm
and MTRBaseDevice.mm
). And the latter is not getting recompiled when the header changes, leading to link-time randomness depending on which things end up finding which version of the class to link to.
from connectedhomeip.
OK, so running
touch src/darwin/Framework/CHIP/MTRBaseDevice.mm src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
when in the broken state makes things work.
from connectedhomeip.
Related Issues (20)
- [Feature] Overwrite the default implementation of Administrator Commissioning Cluster for bridged devices
- [BUG] Buffer used by emberAfExternalAttributeWrite/Read callbacks is not cleared HOT 2
- [Feature] Ethernet commissioning for Zephyr standalone platform
- [BUG] commissiong failed with src/controller/python/ChipDeviceController-ScriptPairingDeviceDiscoveryDelegate.h:59: CHIP Error 0x00000032: Timeout
- [BUG] Commission failed with src/app/ClusterStateCache.cpp:303: CHIP Error 0x00000010: Key not found HOT 2
- [BUG] Unpairing function is failed with src/app/CommandSender.cpp:328: CHIP Error 0x00000032
- [BUG] Commissioning failed with src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
- [Feature] Make PushCommand block until the command is successfully processed
- [Feature] Make RPC call synchronous in Fabric Admin and Fabric Bridge
- [BUG] Chip-Cert-Bins docker container script failing on TOT Master HOT 5
- [1.3] Building Darwin tool on latest commits giving error response HOT 2
- The CHIP_CONFIG_MAX_GROUP_ENDPOINTS_PER_FABRIC macro is inconsistent with the requirements in the specification HOT 1
- [Feature] Allows opening a commissioning window on a bridged node that is not on Endpoint 0.
- [1.3] Failed to generate and build a CHEF Basic Video Player matter example for efr32 platform
- [BUG] GetCredentialStatus with invalid user index shows run time failure error
- [BUG] SetCredentialResponse Command -nextCredentialIndex value deviates from Spec when RESOURCE_EXHAUTION
- Need better ways to read "last event of a given type" in YAML
- [Documentation] Flag List Change Actions Replace and Delete as provisional and document write List behavior HOT 1
- [Documentation] Partial Invoke Responses are very unclear in Specification
- [Documentation] Conformance for DataVersionFilter and EventFilters wrong for Read/Subscribe? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.