secondlife / secondlife/viewer

My clothing textures did not load. KDU errors

Open
#4,486 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Release 7.2.0.16729091892 (64bit)

Full Environment

Second Life Release 7.2.0.16729091892 (64bit)
Release Notes

You are at 130.1, 154.6, 24.6 in Bug Island 2 located at simhost-0b783bbd88a0f0f28.agni
SLURL: http://maps.secondlife.com/secondlife/Bug%20Island%202/130/155/25
(global coordinates 260,482.0, 249,499.0, 24.6)
Second Life Server 2025-04-24.14648572313
Release Notes

CPU: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz (3491.91 MHz)
Memory: 32610 MB
OS Version: Microsoft Windows 10 64-bit (Build 19045.6093)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce GTX 1080/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.6590
OpenGL Version: 4.6.0 NVIDIA 565.90

Window size: 1757x1385
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.375
Render quality: 3
Texture memory: 8192MB
Disk cache: Max size 1638.4 MB (1.9% used)

J2C Decoder Version: KDU v7.10.4
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.14.0.202408091639
CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54
Chromium: 118.0.5993.54
LibVLC Version: 3.0.21
Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 0/614 (0.0%)
August 04 2025 15:42:44

Description

My avatar clothing remained gray and the log has several KDU errors, which is likely related:

2025-08-04T22:30:20Z WARNING #Texture# newview/lltexturefetch.cpp(2334) LLTextureFetchWorker::callbackDecoded : DECODE FAILED: 910988a2-0d8f-82e9-c8c8-ab1fcfa32a1f Discard: 6, reason: LLKDUMessageError::flush()
2025-08-04T22:30:20Z WARNING #APR# llcommon/llapr.cpp(236) _ll_apr_warn_status : APR: C:\\a\\viewer\\viewer\\indra\\llcommon\\llapr.cpp:641 The system cannot find the file specified.  
2025-08-04T22:30:20Z WARNING #APR# llcommon/llapr.cpp(642) LLAPRFile::remove :  Attempting to remove filename: C:\\Users\\tester\\AppData\\Local\\SecondLife\\texturecache\\9\\910988a2-0d8f-82e9-c8c8-ab1fcfa32a1f.texture
2025-08-04T22:30:20Z INFO # llkdu/llimagej2ckdu.cpp(188) LLKDUMessage::put_text : KDU Error: Kakadu Core Error:\n
2025-08-04T22:30:20Z INFO # llkdu/llimagej2ckdu.cpp(188) LLKDUMessage::put_text : KDU Error: Attempting to access a non-existent resolution level within some tile-component.  Problem almost certainly caused by trying to discard more resolution levels than the number of DWT levels used to compress a tile-component.
Reproduction steps
  1. Logged in
  2. May have tabbed to another window, but I don't know if this is a trigger for the bug.
  3. Looked at my avatar after a few minutes

Observed: Much of my clothing is still gray.

Image

clothing texture did not load SecondLife.log


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4486 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @Dan-Linden (replace 20 with the amount, and @Dan-Linden with the user to tip).

📖 If you want to learn more, check out our documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported decode failure in newview/lltexturefetch.cpp, then trace the related cleanup warning in llcommon/llapr.cpp and decoder message in llkdu/llimagej2ckdu.cpp. Use the attached log and reproduction steps to investigate whether clothing textures can be made to load without the KDU error; done means the textures render instead of remaining gray.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.