How to reproduce: 1) Create a vector, don't use it 2) Create a label and use a scalar from the vector to monitor, for instance, last sample 3) Purge The vector is destroyed so the label never updates.
Options appear to be: * Replace value with something appropriate (e.g. --- or ???) * Reference count the vector in the label so it isn't purged Which is prefered?
On Thursday 11 November 2004 17:23, Andrew Walker wrote: > * Replace value with something appropriate (e.g. --- or ???) > * Reference count the vector in the label so it isn't purged > > Which is prefered? or c) reference count scalars. I am very hesitant to put this into 1.0 at this point, but it is a rather big bug too. I noticed that somehow we manage to reference count with scalars properly in some places and not others, so maybe we're just missing something in one small place. Let's approach this cautiously. I don't like solution a), but b) and c) are both reasonable to me at this point.
CVS commit by staikos: Object dependency fixes - scalars in particular, plus other random fixes CCBUG: 93037 M +13 -11 enodes.cpp 1.46 M +6 -5 enodes.h 1.31 M +6 -3 kstequation.cpp 1.32 M +3 -2 ksteventmonitorentry.cpp 1.37 M +1 -1 kstplugin.cpp 1.88 M +11 -0 kstvector.cpp 1.101 M +1 -1 kstvector.h 1.66
Generally fixed, but there might be more individual cases where it fails.
Change version to 1.x