Crash in OctreePacketProcessor


#1

At hifi::/heron running Windows.
After turning around slowly to load (cache) content.
Turning around faster causes crashes in OctreePacketProcessor.
Two similar but slightly different stack traces …

First-chance exception at 0x085631CA (msvcr120d.dll) in interface.exe: 0xC0000005: Access violation reading location 0x157366F3.
Unhandled exception at 0x085631CA (msvcr120d.dll) in interface.exe: 0xC0000005: Access violation reading location 0x157366F3.

msvcr120d.dll!_memcpy() Unknown

interface.exe!EntityItem::readEntityDataFromBuffer(const unsigned char * data, int bytesLeftToRead, ReadBitstreamToTreeParams & args) Line 542 C++
interface.exe!EntityTreeElement::readElementDataFromBuffer(const unsigned char * data, int bytesLeftToRead, ReadBitstreamToTreeParams & args) Line 774 C++
interface.exe!Octree::readElementData(OctreeElement * destinationElement, const unsigned char * nodeData, int bytesAvailable, ReadBitstreamToTreeParams & args) Line 369 C++
interface.exe!Octree::readBitstreamToTree(const unsigned char * bitstream, unsigned long bufferSizeBytes, ReadBitstreamToTreeParams & args) Line 432 C++
interface.exe!OctreeRenderer::processDatagram(const QByteArray & dataByteArray, const QSharedPointer & sourceNode) Line 136 C++
interface.exe!OctreePacketProcessor::processPacket(const QSharedPointer & sendingNode, const QByteArray & packet) Line 90 C++
interface.exe!ReceivedPacketProcessor::process() Line 51 C++
interface.exe!GenericThread::threadRoutine() Line 63 C++
interface.exe!GenericThread::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 78 C++
Qt5Cored.dll!QMetaObject::activate(QObject * sender, int signalOffset, int local_signal_index, void * * argv) Line 3681 C++
Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 C++
Qt5Cored.dll!QThread::started(QThread::QPrivateSignal __formal) Line 152 C++
Qt5Cored.dll!QThreadPrivate::start(void * arg) Line 406 C++
[External Code]

First-chance exception at 0x08BC31CA (msvcr120d.dll) in interface.exe: 0xC0000005: Access violation reading location 0x1405CBB7.
Unhandled exception at 0x08BC31CA (msvcr120d.dll) in interface.exe: 0xC0000005: Access violation reading location 0x1405CBB7.

msvcr120d.dll!_memcpy() Unknown

interface.exe!EntityTreeElement::readElementDataFromBuffer(const unsigned char * data, int bytesLeftToRead, ReadBitstreamToTreeParams & args) Line 774 C++
interface.exe!Octree::readElementData(OctreeElement * destinationElement, const unsigned char * nodeData, int bytesAvailable, ReadBitstreamToTreeParams & args) Line 369 C++
interface.exe!Octree::readBitstreamToTree(const unsigned char * bitstream, unsigned long bufferSizeBytes, ReadBitstreamToTreeParams & args) Line 432 C++
interface.exe!OctreeRenderer::processDatagram(const QByteArray & dataByteArray, const QSharedPointer & sourceNode) Line 136 C++
interface.exe!OctreePacketProcessor::processPacket(const QSharedPointer & sendingNode, const QByteArray & packet) Line 90 C++
interface.exe!ReceivedPacketProcessor::process() Line 51 C++
interface.exe!GenericThread::threadRoutine() Line 63 C++
interface.exe!GenericThread::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 78 C++
Qt5Cored.dll!QMetaObject::activate(QObject * sender, int signalOffset, int local_signal_index, void * * argv) Line 3681 C++
Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 3547 C++
Qt5Cored.dll!QThread::started(QThread::QPrivateSignal __formal) Line 152 C++
Qt5Cored.dll!QThreadPrivate::start(void * arg) Line 406 C++
[External Code]