secondlife / secondlife/viewer

BugSplat Crash: SecondLifeViewer!std::_Tree_unchecked_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<LLUUID const ,int> > >,std::_Iterator_base0>::operator++(52)

Open
#4,523 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BugSplat Crash Group 96544

View Report Group
View Report Details
View Report Attachments

Application: Second Life Release
Version: 7.2.0.16729091892
Error Code: c0000005 Access violation

Callstack:

FunctionFile
SecondLifeViewer!std::_Tree_unchecked_const_iterator > >,std::_Iterator_base0>::operator++C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/xtree(52)
SecondLifeViewer!std::_Tree_const_iterator > > >::operator++C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/xtree(198)
SecondLifeViewer!std::_Tree_iterator > > >::operator++C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/xtree(282)
SecondLifeViewer!LLTextureCache::purgeTexturesLazyC:/a/viewer/viewer/indra/newview/lltexturecache.cpp(1663)
SecondLifeViewer!LLTextureCache::writeToCacheC:/a/viewer/viewer/indra/newview/lltexturecache.cpp(1990)
SecondLifeViewer!LLTextureFetchWorker::doWorkC:/a/viewer/viewer/indra/newview/lltexturefetch.cpp(1870)
SecondLifeViewer!LLWorkerThread::WorkRequest::processRequestC:/a/viewer/viewer/indra/llcommon/llworkerthread.cpp(186)
SecondLifeViewer!LLQueuedThread::processRequestC:/a/viewer/viewer/indra/llcommon/llqueuedthread.cpp(432)
SecondLifeViewer!std::_Func_class::operator()C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/functional(926)
SecondLifeViewer!`anonymous namespace'::cpphandleC:/a/viewer/viewer/indra/llcommon/workqueue.cpp(138)
SecondLifeViewer!`anonymous namespace'::sehandleC:/a/viewer/viewer/indra/llcommon/workqueue.cpp(154)
SecondLifeViewer!LL::WorkQueueBase::callWorkC:/a/viewer/viewer/indra/llcommon/workqueue.cpp(173)
SecondLifeViewer!LL::WorkQueueBase::runUntilCloseC:/a/viewer/viewer/indra/llcommon/workqueue.cpp(47)
SecondLifeViewer!LLQueuedThread::runC:/a/viewer/viewer/indra/llcommon/llqueuedthread.cpp(541)
SecondLifeViewer!LLThread::tryRunC:/a/viewer/viewer/indra/llcommon/llthread.cpp(209)
SecondLifeViewer!LLThread::sehHandleC:/a/viewer/viewer/indra/llcommon/llthread.cpp(254)
SecondLifeViewer!LLThread::threadRunC:/a/viewer/viewer/indra/llcommon/llthread.cpp(195)
SecondLifeViewer!std::invokeC:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/type_traits(1686)
SecondLifeViewer!std::_Invoker_ret::_CallC:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/functional(2117)
SecondLifeViewer!std::_Call_binderC:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/functional(2127)
SecondLifeViewer!std::_Binder::operator()C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/functional(2181)
SecondLifeViewer!std::invokeC:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/type_traits(1670)
SecondLifeViewer!std::thread::_Invoke >,0>C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/include/thread(61)
ucrtbase!thread_start -
kernel32!BaseThreadInitThunk -
ntdll!RtlUserThreadStart -


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 #4523 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @sl-service-account (replace 20 with the amount, and @sl-service-account 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 in indra/newview/lltexturecache.cpp at LLTextureCache::purgeTexturesLazy (line 1663), then trace its call from writeToCache (line 1990) and the worker path in lltexturefetch.cpp. Use the BugSplat group and call stack to investigate the iterator access violation; done means the reported crash path is fixed and verified without reproducing the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.