secondlife / secondlife/viewer

BugSplat Crash: libGPUSupportMercury.dylib!gpuiTestFence

Open
#4,246 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BugSplat Crash Group 17450

View Report Group
View Report Details
View Report Attachments

Application: Second Life Release
Version: 7.1.14.15192634334 (7.1.14.15192634334)
Error Code: SIGSEGV SEGV_MAPERR at 0x14

Callstack:

FunctionFile
libGPUSupportMercury.dylib!gpuiTestFence -
GLEngine!gleTestSync -
GLEngine!glWaitSync_ListExec -
GLEngine!gleCmdProcessor -
libdispatch.dylib!_dispatch_client_callout -
libdispatch.dylib!_dispatch_lane_barrier_sync_invoke_and_complete -
GLEngine!glTexImage2D_PackThread -
libGL.dylib!glTexImage2D -
Second Life Release!LLImageGL::setManualImage(unsigned int, int, int, int, int, unsigned int, unsigned int, void const*, bool)llimagegl.cpp(1475)
Second Life Release!LLImageGL::setImage(unsigned char const*, bool, int)llimagegl.cpp
Second Life Release!LLImageGL::createGLTexture(int, unsigned char const*, bool, int, bool, unsigned int*)llimagegl.cpp(1691)
Second Life Release!LLImageGL::createGLTexture(int, LLImageRaw const*, int, bool, int, bool, unsigned int*)llimagegl.cpp
Second Life Release!LLGLTexture::createGLTexture(int, LLImageRaw const*, int, bool, int, bool, unsigned int*)llgltexture.cpp(158)
Second Life Release!LLViewerMediaImpl::doMediaTexUpdate(LLViewerMediaTexture*, unsigned char*, int, int, int, int, int, int, bool)llviewermedia.cpp
Second Life Release!LLViewerMediaImpl::update()llviewermedia.cpp
Second Life Release!LLViewerMedia::updateMedia(void*)llviewermedia.cpp(661)
Second Life Release!LLCallbackList::callFunctions()llcallbacklist.cpp
Second Life Release!LLAppViewer::idle()llappviewer.cpp(4880)
Second Life Release!LLAppViewer::doFrame()llappviewer.cpp
Second Life Release!LLAppViewer::frame()llappviewer.cpp
Second Life Release!LLAppDelegate oneFramellappdelegate-objc.mm(153)
Foundation!__NSFireTimer -
CoreFoundation!__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ -
CoreFoundation!__CFRunLoopDoTimer -
CoreFoundation!__CFRunLoopDoTimers -
CoreFoundation!__CFRunLoopRun -
CoreFoundation!CFRunLoopRunSpecific -
HIToolbox!RunCurrentEventLoopInMode -
HIToolbox!ReceiveNextEventCommon -
HIToolbox!_BlockUntilNextEventMatchingListInModeWithFilter -
AppKit!_DPSNextEvent -
AppKit!NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue -
AppKit!NSApplication run -
AppKit!NSApplicationMain -
???!0 -

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 the BugSplat call stack and inspect llimagegl.cpp at lines 1475 and 1691, then follow LLGLTexture::createGLTexture in llgltexture.cpp and the media update path in llviewermedia.cpp. Determine the cause of the macOS GPU crash during media texture creation; done means the reported crash path is addressed and the relevant behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
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.