secondlife / secondlife/viewer

BugSplat Crash: SecondLifeViewer!LLFace::setGeomIndex(419)

Open
#3,871 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BugSplat Key Crash 99212

Sample Version:
7.1.13.14174767759

Sample Callstack:

SecondLifeViewer!LLFace::setGeomIndexC:/a/viewer/viewer/indra/newview/llface.cpp(419)
SecondLifeViewer!LLParticlePartition::getGeometryC:/a/viewer/viewer/indra/newview/llvopartgroup.cpp(816)
SecondLifeViewer!LLParticlePartition::rebuildGeomC:/a/viewer/viewer/indra/newview/llvopartgroup.cpp(730)
SecondLifeViewer!LLSpatialGroup::rebuildGeomC:/a/viewer/viewer/indra/newview/llspatialpartition.cpp(325)
SecondLifeViewer!LLPipeline::rebuildPriorityGroupsC:/a/viewer/viewer/indra/newview/pipeline.cpp(2802)
SecondLifeViewer!LLPipeline::postSortC:/a/viewer/viewer/indra/newview/pipeline.cpp(3569)
SecondLifeViewer!displayC:/a/viewer/viewer/indra/newview/llviewerdisplay.cpp(881)
SecondLifeViewer!LLAppViewer::doFrameC:/a/viewer/viewer/indra/newview/llappviewer.cpp(1476)
SecondLifeViewer!LLAppViewer::frameC:/a/viewer/viewer/indra/newview/llappviewer.cpp(1309)
SecondLifeViewer!wWinMainC:/a/viewer/viewer/indra/newview/llappviewerwin32.cpp(506)
SecondLifeViewer!invoke_mainD:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl(118)
SecondLifeViewer!__scrt_common_main_sehD:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl(288)
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart

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 at indra/newview/llface.cpp:419, then trace the particle geometry path through LLParticlePartition::getGeometry and rebuildGeom in indra/newview/llvopartgroup.cpp:816 and :730. Review the surrounding spatial rebuild calls in llspatialpartition.cpp and pipeline.cpp to identify the crash condition. Done means the reported setGeomIndex crash is prevented and the affected rendering path remains functional.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.