Marcus Lindblom Sonestedt
2017-02-08 16:54:24 UTC
Hi all!
We are consistently triggering a probable bug in OpenSG where it complains
about "link inconsistent" after shallow clone and destroying all refs to
the original.
This happens on the following sequence of events (which the attached code
demonstrates)
1. create node with group core
2. apply changelist in another aspect's thread
3. clone node with cloneTree (share core)
4. clear refereces to original
5. apply change list in another aspect's thread again
I've attached the log output (with dumped changelists), if it helps.
The attached code provides a small repro case (testSyncChangeLists) which I
believe is the minimal code to trigger the bug, and does run on it's own
(no dependency except the changelist dump).
Before I dig deeper to the cause in OpenSG, are we doing something wrong
with how we sync changelists/clone objects, or is this a genuine bug?
Cheers,
We are consistently triggering a probable bug in OpenSG where it complains
about "link inconsistent" after shallow clone and destroying all refs to
the original.
This happens on the following sequence of events (which the attached code
demonstrates)
1. create node with group core
2. apply changelist in another aspect's thread
3. clone node with cloneTree (share core)
4. clear refereces to original
5. apply change list in another aspect's thread again
I've attached the log output (with dumped changelists), if it helps.
The attached code provides a small repro case (testSyncChangeLists) which I
believe is the minimal code to trigger the bug, and does run on it's own
(no dependency except the changelist dump).
Before I dig deeper to the cause in OpenSG, are we doing something wrong
with how we sync changelists/clone objects, or is this a genuine bug?
Cheers,
--
Marcus Lindblom Sonestedt
*Systemarkitekt*
*BIT ADDICT *- Passion för utveckling
+46 (0)706 43 63 28
***@bitaddict.se
www.bitaddict.se
Marcus Lindblom Sonestedt
*Systemarkitekt*
*BIT ADDICT *- Passion för utveckling
+46 (0)706 43 63 28
***@bitaddict.se
www.bitaddict.se