Presence of mesh with legacy rigging causes fps drop and crash

Description

Presence of mesh with legacy rigging causes provided spam:

2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name Right_Foot Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name R_Lower_Leg Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name Right_Hip Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name R_Upper_Leg Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name Left_Foot Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name Left_Hip Using 'root' fallback.
2017-08-10T03:41:11Z WARNING: LLSkinningUtil::initSkinningMatrixPalette: ONCE (960900th time seen): Rigged to invalid joint name L_Upper_Leg Using 'root' fallback.

The message repeats hundreds times per second for every single mesh present, It cause drastic fps drops and viewer crashes quickly with allocation error and huge log file created (size 100-800Mb), ending with this message:

2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Current allocated physical memory(KB): 3634800KB
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Current allocated page size (KB): 3617460KB
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Current available physical memory(KB): 244931KB
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Current max usable memory(KB): 3879731KB
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: — private pool information –
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Total reserved (KB): 0
2017-08-10T03:41:11Z INFO: LLMemory::logMemoryInfo: Total allocated (KB): 0
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: ************* PRINT OUT LL CALL STACKS *************
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3802
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3766
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3681
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3570
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3565
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: LLPipeline:ostSort line: 3554
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: display line: 850
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: display line: 818
2017-08-10T03:41:11Z INFO: LLError::LLCallStacks:rint: *************** END OF LL CALL STACKS ***************
newview/llappviewer.cpp(1450) : 2017-08-10T03:41:11Z error
newview/llappviewer.cpp(1450) : 2017-08-10T03:41:11Z ERROR: LLAppViewer::mainLoop: Bad memory allocation in LLAppViewer::mainLoop()!
2017-08-10T04:06:48Z WARNING: LLViewerJoystick::init: ndof_init_first FAILED
2017-08-10T04:06:48Z INFO: LLViewerJoystick::init: ndof: mDriverState=0; mNdofDev=0E69DC80; libinit=1
2017-08-10T04:06:51Z WARNING: LLViewerJoystick::init: ndof_init_first FAILED
2017-08-10T04:06:51Z INFO: LLViewerJoystick::init: ndof: mDriverState=0; mNdofDev=0E69DC80; libinit=1
2017-08-10T04:06:51Z WARNING: LLViewerJoystick::init: ndof_init_first FAILED
2017-08-10T04:06:51Z INFO: LLViewerJoystick::init: ndof: mDriverState=0; mNdofDev=0E69DC80; libinit=1
2017-08-10T04:06:51Z WARNING: LLViewerJoystick::init: ndof_init_first FAILED
2017-08-10T04:06:51Z INFO: LLViewerJoystick::init: ndof: mDriverState=0; mNdofDev=0E69DC80; libinit=1
2017-08-10T04:06:51Z WARNING: LLViewerJoystick::init: ndof_init_first FAILED
2017-08-10T04:06:51Z INFO: LLViewerJoystick::init: ndof: mDriverState=0; mNdofDev=0E69DC80; libinit=1

Crash happens very quickly with one mesh present, roughly 5-10 minutes.

Environment

Built with MSVC version 1900

You are at 255710.9, 256666.0, 59.8 in Lusk (998, 1002) located at sim10442.agni.lindenlab.com (216.82.51.148:13003)
Second Life RC Magnum 17.07.27.327933
Release Notes

CPU: Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz (3300.09 MHz)
Memory: 32688 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 1060 6GB/PCIe/SSE2
Windows Graphics Driver Version: 22.21.0013.8253
OpenGL Version: 4.5.0 NVIDIA 382.53
RLV Version: RLV v2.8.0 / RLVa v1.4.10a

libcurl Version: libcurl/7.48.0 OpenSSL/1.0.2g zlib/1.2.8 WinIDN
J2C Decoder Version: OpenJPEG: 1.5.2
Audio Driver Version: FMOD Studio 1.08.04
LLCEFLib/CEF Version: 1.6.0-(CEF-WIN-3.2526.1364)
Packets Lost: 99/2781 (3.6%)

Status

Assignee

Unassigned

Reporter

Yaroslav Sterkhov

Labels

None

Build Number

6937

External issue ID

None

External issue ID

None

External issue ID

None

Components

Priority

Blocker
Configure