secondlife / secondlife/viewer

BugSplat Crash #1473685: SecondLifeViewer!<lambda_19108505e810ff43b1e426e9cce4dbc7>::operator()(52)

Open
#2,020 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #2022 by @LLGuru — closed without merging
bugsplat stale team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

BugSplat Crash 1473685

Notes:
The key stack frame is SecondLifeViewer!LLCoros::launch'::1'::catch$13

Customer Response:
Bad memory allocation in LLCoros::launch(LLViewerMediaImpl::mimeDiscoveryCoro)! - mailto:KonigWolf

Application Version:
7.1.7.8974243247

Callstack:

SecondLifeViewer!::operator()C:/a/viewer/viewer/indra/newview/llaccountingcostmanager.cpp(52)
SecondLifeViewer!::C:/a/viewer/viewer/indra/newview/llaccountingcostmanager.cpp(52)
SecondLifeViewer!`LLCoros::launch'::`1'::catch$13C:/a/viewer/viewer/indra/llcommon/llcoros.cpp(283)
VCRUNTIME140_1!_CallSettingFrame_LookupContinuationIndexD:/a/_work/1/s/src/vctools/crt/vcruntime/src/eh/amd64/handlers.asm(98)
VCRUNTIME140_1!__FrameHandler4::CxxCallCatchBlockD:/a/_work/1/s/src/vctools/crt/vcruntime/src/eh/frame.cpp(1393)
ntdll!RcConsolidateFrames
SecondLifeViewer!boost::context::basic_protected_fixedsize_stack::allocateC:/a/viewer/viewer/build-vc170-64/packages/include/boost/context/windows/protected_fixedsize_stack.hpp(51)
SecondLifeViewer!boost::fibers::make_worker_context_with_propertiesC:/a/viewer/viewer/build-vc170-64/packages/include/boost/fiber/context.hpp(488)
SecondLifeViewer!boost::fibers::fiber::{ctor}C:/a/viewer/viewer/build-vc170-64/packages/include/boost/fiber/fiber.hpp(170)
SecondLifeViewer!boost::fibers::fiber::{ctor}C:/a/viewer/viewer/build-vc170-64/packages/include/boost/fiber/fiber.hpp(108)
SecondLifeViewer!LLCoros::launchC:/a/viewer/viewer/indra/llcommon/llcoros.cpp(268)
SecondLifeViewer!LLViewerMediaImpl::navigateInternalC:/a/viewer/viewer/indra/newview/llviewermedia.cpp(2584)
SecondLifeViewer!LLViewerMediaImpl::createMediaSourceC:/a/viewer/viewer/indra/newview/llviewermedia.cpp(1644)
SecondLifeViewer!LLViewerMediaImpl::updateC:/a/viewer/viewer/indra/newview/llviewermedia.cpp(2819)
SecondLifeViewer!LLViewerMedia::updateMediaC:/a/viewer/viewer/indra/newview/llviewermedia.cpp(661)
SecondLifeViewer!LLCallbackList::callFunctionsC:/a/viewer/viewer/indra/llcommon/llcallbacklist.cpp(112)
SecondLifeViewer!LLAppViewer::idleC:/a/viewer/viewer/indra/newview/llappviewer.cpp(4795)
SecondLifeViewer!LLAppViewer::doFrameC:/a/viewer/viewer/indra/newview/llappviewer.cpp(1475)
SecondLifeViewer!LLAppViewer::frameC:/a/viewer/viewer/indra/newview/llappviewer.cpp(1342)
SecondLifeViewer!wWinMainC:/a/viewer/viewer/indra/newview/llappviewerwin32.cpp(510)
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/llcommon/llcoros.cpp around LLCoros::launch and indra/newview/llaccountingcostmanager.cpp at line 52, then follow the media path through llviewermedia.cpp. Investigate the reported bad allocation in Boost fiber stack creation during MIME discovery, using the call stack as the entry point. Done means the crash is diagnosed and no longer occurs in this media-loading path.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.