secondlife / secondlife/viewer
BugSplat Crash #1473685: SecondLifeViewer!<lambda_19108505e810ff43b1e426e9cce4dbc7>::operator()(52)
Nobody has claimed this yet.
- #2022 by @LLGuru — closed without merging
- 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$13 | C:/a/viewer/viewer/indra/llcommon/llcoros.cpp(283) |
| VCRUNTIME140_1!_CallSettingFrame_LookupContinuationIndex | D:/a/_work/1/s/src/vctools/crt/vcruntime/src/eh/amd64/handlers.asm(98) |
| VCRUNTIME140_1!__FrameHandler4::CxxCallCatchBlock | D:/a/_work/1/s/src/vctools/crt/vcruntime/src/eh/frame.cpp(1393) |
| ntdll!RcConsolidateFrames | |
| SecondLifeViewer!boost::context::basic_protected_fixedsize_stack::allocate | C:/a/viewer/viewer/build-vc170-64/packages/include/boost/context/windows/protected_fixedsize_stack.hpp(51) |
| SecondLifeViewer!boost::fibers::make_worker_context_with_properties | C:/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::launch | C:/a/viewer/viewer/indra/llcommon/llcoros.cpp(268) |
| SecondLifeViewer!LLViewerMediaImpl::navigateInternal | C:/a/viewer/viewer/indra/newview/llviewermedia.cpp(2584) |
| SecondLifeViewer!LLViewerMediaImpl::createMediaSource | C:/a/viewer/viewer/indra/newview/llviewermedia.cpp(1644) |
| SecondLifeViewer!LLViewerMediaImpl::update | C:/a/viewer/viewer/indra/newview/llviewermedia.cpp(2819) |
| SecondLifeViewer!LLViewerMedia::updateMedia | C:/a/viewer/viewer/indra/newview/llviewermedia.cpp(661) |
| SecondLifeViewer!LLCallbackList::callFunctions | C:/a/viewer/viewer/indra/llcommon/llcallbacklist.cpp(112) |
| SecondLifeViewer!LLAppViewer::idle | C:/a/viewer/viewer/indra/newview/llappviewer.cpp(4795) |
| SecondLifeViewer!LLAppViewer::doFrame | C:/a/viewer/viewer/indra/newview/llappviewer.cpp(1475) |
| SecondLifeViewer!LLAppViewer::frame | C:/a/viewer/viewer/indra/newview/llappviewer.cpp(1342) |
| SecondLifeViewer!wWinMain | C:/a/viewer/viewer/indra/newview/llappviewerwin32.cpp(510) |
| SecondLifeViewer!invoke_main | D:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl(118) |
| SecondLifeViewer!__scrt_common_main_seh | D:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl(288) |
| kernel32!BaseThreadInitThunk | |
| ntdll!RtlUserThreadStart |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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