secondlife / secondlife/viewer

BugSplat Crash: SecondLifeViewer!LLViewerShaderMgr::setShaders(620)

Open
#3,091 1 comment 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 Key Crash 97042

Bugsplat filter for all SecondLifeViewer!LLViewerShaderMgr::setShaders

Notes:
This is more of https://github.com/secondlife/jira-archive-internal/issues/70719

Some Customer Responses:
Unable to load basic shader windlight/atmosphericsVarsV.glsl, verify graphics driver installed and current.
Unable to load basic shader windlight/atmosphericsVarsV.glsl, verify graphics driver installed and current.
Unable to load basic shader windlight/atmosphericsVarsV.glsl, verify graphics driver installed and current.
Unable to load basic shader windlight/atmosphericsVarsV.glsl, verify graphics driver installed and current.
Unable to load basic shader windlight/atmosphericsVarsV.glsl, verify graphics driver installed and current.

Sample Version:
7.1.11.11565212741

Sample Callstack:

SecondLifeViewer!LLViewerShaderMgr::setShadersC:/a/viewer/viewer/indra/newview/llviewershadermgr.cpp(620)
SecondLifeViewer!LLPipeline::initC:/a/viewer/viewer/indra/newview/pipeline.cpp(471)
SecondLifeViewer!LLAppViewer::initWindowC:/a/viewer/viewer/indra/newview/llappviewer.cpp(3169)
SecondLifeViewer!LLAppViewer::initC:/a/viewer/viewer/indra/newview/llappviewer.cpp(949)
SecondLifeViewer!LLAppViewerWin32::initC:/a/viewer/viewer/indra/newview/llappviewerwin32.cpp(783)
SecondLifeViewer!wWinMainC:/a/viewer/viewer/indra/newview/llappviewerwin32.cpp(454)
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 with indra/newview/llviewershadermgr.cpp at setShaders line 620, then trace initialization through pipeline.cpp line 471 and llappviewer.cpp line 3169. Use BugSplat key crash 97042 and the repeated atmosphericsVarsV.glsl load error to investigate reproduction; done means shader initialization no longer crashes in this path.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.