secondlife / secondlife/viewer

BugSplat Crash: IOKit!IOConnectCallMethod

Open
#4,098 0 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 34002

View Report Group
View Report Details
View Report Attachments

Application: Second Life Release
Version: 7.1.11.12363455226 (7.1.11.12363455226)
Error Code: SIGTRAP TRAP_BRKPT at 0x0

Callstack:

FunctionFile
libsystem_kernel.dylib!mach_msg2_trap -
libsystem_kernel.dylib!mach_msg2_internal -
IOKit!io_connect_method -
IOKit!IOConnectCallMethod -
IOGPU!IOGPUCommandQueueSubmitCommandBuffers -
IOGPU!IOGPUMetalCommandQueue _submitCommandBuffers:count -
IOGPU!IOGPUMetalCommandQueue submitCommandBuffers:count -
Metal!_MTLCommandQueue _submitAvailableCommandBuffers -
Metal!_MTLCommandQueue submitCommandBuffer -
libdispatch.dylib!_dispatch_client_callout -
libdispatch.dylib!_dispatch_lane_barrier_sync_invoke_and_complete -
Metal!_MTLCommandQueue submitCommandBuffer -
AppleMetalOpenGLRenderer!_ZN13GLDContextRec12flushContextEb -
AppleMetalOpenGLRenderer!gldGenerateTexMipmaps -
GLEngine!gleGenMipmaps -
GLEngine!gleGenerateMipmap -
GLEngine!glGenerateMipmapEXT_Exec -
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(1690)
Second Life Release!LLImageGL::createGLTexture(int, LLImageRaw const*, int, bool, int, bool, unsigned int*)llimagegl.cpp
Second Life Release!LLViewerFetchedTexture::createTexture(int)llviewertexture.cpp(1509)
Second Life Release!LLViewerTextureList::updateImagesCreateTextures(float)llviewertexturelist.cpp(1080)
Second Life Release!LLViewerTextureList::updateImages(float)llviewertexturelist.cpp(848)
Second Life Release!display(bool, float, int, bool)llviewerdisplay.cpp(862)
Second Life Release!LLAppViewer::doFrame()llappviewer.cpp(1480)
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(NSEvent) _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 at LLImageGL::createGLTexture in llimagegl.cpp, especially line 1690, and trace the texture-creation path through LLViewerFetchedTexture::createTexture in llviewertexture.cpp and LLViewerTextureList::updateImagesCreateTextures in llviewertexturelist.cpp. Use the supplied macOS call stack to investigate the crash during mipmap generation; done requires identifying and resolving the crash cause, though no reproduction steps or test are named.

Written by the indexing model from the issue text.

Assessment

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