summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-21 21:11:46 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-21 21:11:46 +0800
commitcdfd5dc4cc68a9882f4ef54f1a0bdaa277e8d2da (patch)
treebe387baca58b40606fc28d4f52735b59d436fceb
parent8d34bb549736c341e84123760901bc981c46b184 (diff)
Fix crash upon login on Linux aarch64
Tested on Debian Asahi so far, will try on Fedora Asahi next. I had to trace this down, setting Logging Level to Debug, and comparing SecondLife.log with a successful login on Linux x86-64. At first setWeight() in LLViewerVisualParam::setInfo seemed to be avoiding a crash too when commented out, but turns out it's still okay when re-enabled.
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 7ea70a781b..53832422d8 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -8938,6 +8938,7 @@ void LLVOAvatar::updateMeshTextures()
bool is_ltda = layerset
&& layerset->getViewerComposite()->isInitialized()
&& layerset->isLocalTextureDataAvailable();
+#ifndef __aarch64__
mBakedTextureDebugText += llformat("%4d %4s %4d %4d %4d %4d %4s\n",
i,
(layerset?"*":"0"),
@@ -8946,6 +8947,7 @@ void LLVOAvatar::updateMeshTextures()
is_layer_baked[i],
use_lkg_baked_layer[i],
last_id_string.c_str());
+#endif
}
for (U32 i=0; i < mBakedTextureDatas.size(); i++)