So I map my initData as follows:

         if (!mapObject(&_initData, uInitDataID))
        {
            EQERROR << "Unable to map InitData. Maybe UUID is invalid?" <<
std::endl;
            return false;
        }
        _initData.sync(co::VERSION_HEAD);

and it works fine. I get my frameDataID from it (which looks the same as the
one on the application side) then proceed to map the frame data in the same
way:

        eq::uint128_t uFrameDataID = _initData.getFrameDataId();
        
        if (!mapObject(&_frameData, uFrameDataID))
        {
            EQERROR << "Unable to map FrameData. Maybe UUID is invalid?" <<
std::endl;
            return false;
        }

However, I'm hit with an EXC_BAD_ACCESS error with the following stack
trace:

#0      0x0107aebd in co::base::CPUCompressor::decompress(void const* const*,
unsigned long long const*, unsigned int, void*, unsigned long long*) ()
#1      0x01090d22 in co::DataIStream::_decompress(void const*, unsigned int,
unsigned int, unsigned long long) ()
#2      0x01090ebe in co::DataIStream::getRemainingBufferSize() ()
#3      0x00014f42 in
eq::fabric::Serializable::applyInstanceData(co::DataIStream&) at
/usr/local/include/eq/fabric/serializable.h:133
#4      0x010b8baa in co::VersionedSlaveCM::applyMapData(co::base::uint128_t
const&) ()
#5      0x010a93ad in co::Object::applyMapData(co::base::uint128_t const&) ()
#6      0x010b04b2 in co::ObjectStore::mapObjectSync(unsigned int) ()
#7      0x0109fcad in co::LocalNode::mapObject(co::Object*, co::base::UUID
const&, co::base::uint128_t const&) ()
#8      0x0000e90b in gpixel::CommandClient::_connectCollage() at
/Users/shodanjr/Dropbox/Development/Current/Source/NetworkCommand/CommandClient.cxx:255


and this showing up in the log:

19425 
/Users/eile/Software/equalizergraphics.com/Equalizer-1.0.2/libs/collage/staticSlaveCM.h:51
33498 Code is not supposed to be called in this context

Any ideas?

PS: Stefan, if we ever meet, I owe you a beer :P.

--
View this message in context: 
http://software.1713.n2.nabble.com/Affecting-Collage-objects-outside-an-Equalizer-application-tp7301888p7306103.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to