secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
209 stars 53 forks source link

BugSplat Crash: HockeySDK!0x105439000 #1263

Open sl-service-account opened 5 months ago

sl-service-account commented 5 months ago

BugSplat Key Crash 92499

Sample Version: 7.1.5.8443591509

Sample Callstack:

HockeySDK!0x105439000
HockeySDK!0x105439000
HockeySDK!0x105439000
libc++abi.dylib!_ZSt11__terminatePFvvE
libc++abi.dylib!_ZSt9terminatev
Second Life Release!___clang_call_terminate
Second Life Release!LLTeleportRequestViaLandmark::~LLTeleportRequestViaLandmark()llagent.cpp(5061)
Second Life Release!LLTeleportRequestViaLandmark::~LLTeleportRequestViaLandmark()llagent.cpp(5059)
Second Life Release!LLAgent::cleanup()llagent.cpp(525)
Second Life Release!LLAgent::~LLAgent()llagent.cpp(544)
libsystem_c.dylib!__cxa_finalize_ranges
libsystem_c.dylib!exit
AppKit!NSApplication terminate
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
???!0x0
AtlasLinden commented 5 months ago

This is a single HockeySDK stack crash in a slowly growing sea of other HockeySDK stacks https://app.bugsplat.com/v2/crashes?c0=stackKey&f0=CONTAINS&v0=HockeySDK!0&database=SecondLife_Viewer_2018&sc=appVersion&so=desc

See also an older issue from 2020: https://github.com/secondlife/jira-archive-internal/issues/63629

maestrolinden commented 2 months ago

I've able to reproduce a crash in HockeySDK (no symbols decoded - see example stack below) very consistently with Second Life Release-7.1.8.9375512768 on MacOS 14.5.0.

My repro is:

  1. Login
  2. Open People panel -> Groups
  3. View the group info panel of a group you can send notices to
  4. Select "New Notice"
  5. Type a Subject for the notice
  6. Type a message for the notice
  7. If you didn't crash in (6) click "send"
  8. Repeat steps (4)-(7)

I'm seeing a consistent crash when composing the 2nd group notice - the crash triggers when I switch input focus from the "Subject" to "Message" field. It seems that switching focus via mouse cursor clicking or Tab key are equally valid ways to trigger the crash. Example repro video: https://www.youtube.com/watch?v=7MSKzjhmtTA

Update: @AtlasLinden pointed out that my repro steps are basically identical to what was reported here: https://github.com/secondlife/viewer/issues/1798#issuecomment-2176644225

HockeySDK!0x114d20000
HockeySDK!0x114d20000
HockeySDK!0x114d20000
libc++abi.dylib!_ZSt11__terminatePFvvE
libc++abi.dylib!__cxa_rethrow
libobjc.A.dylib!objc_exception_rethrow
AppKit!NSApplication _handleEvent
AppKit!NSApplication run
AppKit!NSApplicationMain
???!0x0
nat-goodspeed commented 2 months ago

I'm going to loop in BugSplat support. HockeySDK is the library underlying Mac BugSplat. At a wild guess, it's crashing trying to capture an unrelated viewer crash.

nat-goodspeed commented 2 months ago

BugSplat responded Monday - sorry, I've been out sick.

In the example crash, the terminate() function has been called. You can control the crash grouping, and remove HockeySDK from the top of the call stack using our crash grouping functions.

Let me know if this doesn't resolve the issue.