secondlife / viewer

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

BugSplat Crash: Second Life Release!LLVoiceWebRTCConnection::connectionStateMachine()(2757) #2204

Closed sl-service-account closed 2 months ago

sl-service-account commented 3 months ago

This crash was received when exiting the viewer Second Life Release 7.1.9.10205353598.

BugSplat Key Crash 95116

Sample Version: 7.1.9.10205353598

Sample Callstack:

Second Life Release!LLVoiceWebRTCConnection::connectionStateMachine()llvoicewebrtc.cpp(2757)
Second Life Release!LLWebRTCVoiceClient::sessionState::processConnectionStates()llvoicewebrtc.cpp
Second Life Release!LLWebRTCVoiceClient::estateSessionState::processConnectionStates()llvoicewebrtc.cpp(1989)
Second Life Release!LLWebRTCVoiceClient::voiceConnectionCoro()llvoicewebrtc.cpp(537)
Second Life Release!LLCoros::toplevel(std::__1::basic_string, std::__1::allocator >, boost::function)llcoros.cpp(373)
Second Life Release!boost::fibers::worker_context, std::__1::allocator > const&, boost::function const&)::$_9, >::run_(boost::context::fiber&&)context.hpp(445)
Second Life Release!void boost::context::detail::fiber_entry, std::__1::__bind, std::__1::allocator > const&, boost::function const&)::$_9, >::*)(boost::context::fiber&&), boost::fibers::worker_context, std::__1::allocator > const&, boost::function const&)::$_9, >*, std::__1::placeholders::__ph<1> const&> > >(boost::context::detail::transfer_t)fiber_fcontext.hpp(97)
Second Life Release!finish
DmitrySProductengine commented 3 months ago

Deferred QA. Verified on the Second Life Release 7.1.9.10325451220 (64bit) on Win11/OSX in the scope of IQA #304.

During verification, a similar crash was found, but with a slightly different number in the stack key. Previously it was 2757 (https://app.bugsplat.com/v2/crash?database=SecondLife_Viewer_2018&id=1502037), now it is 2758 (https://app.bugsplat.com/v2/keycrash?database=SecondLife_Viewer_2018&stackKeyId=95291). With a high probability, these may be related crashes, but I think that for this they need to be analyzed. If these are different crashes, then the new behavior can be moved to a separate ticket.

Steps to reproduce:

  1. Log in to the Viewer in the WebRTC region.
  2. Exit from the viewer (almost immediately after logging).

This crash is reproduced only on OSX. This crash is not 100% reproducible: Very often (~70%) the crash is reproduced for the DmitryS Productengine user. The crash is not reproduced for users: dsharyi2 resident; Sergiii Productengine. We have not yet determined the reasons for this difference in behavior.

Links to the Bugsplat for new crashes:

  1. StackKeyId: https://app.bugsplat.com/v2/keycrash?database=SecondLife_Viewer_2018&stackKeyId=95291
  2. Crash sample 1: https://app.bugsplat.com/v2/crash?database=SecondLife_Viewer_2018&id=1504393
  3. Crash sample 2: https://app.bugsplat.com/v2/crash?database=SecondLife_Viewer_2018&id=1504431

See the attached logs and the OSX report:

  1. 7.1.9.10325451220_logs.zip
  2. OSX report.txt

See the attached video:

https://github.com/user-attachments/assets/852bc24d-89be-4d15-a84a-fde57e56218f

DmitrySProductengine commented 2 months ago

Deferred QA. Verified on the Second Life Release 7.1.9.10479800881 (64bit) on Win11/OSX in the scope of IQA #311.

This issue is not reproduced on Vivox regions.

Previously, this bug was reproduced on WebRTC regions. But verification of this behavior on WebRTC regions is currently unavailable due to the bug https://github.com/secondlife/viewer/issues/2376. Therefore, I leave this ticket in the In QA status until the bug https://github.com/secondlife/viewer/issues/2376 is fixed.

georgebproductengine commented 2 months ago

Passed QA. Verified on the Second Life Release 7.1.9.10495892574 (64bit) on OSX in the scope of https://github.com/secondlife/iqa/issues/312. Tested on Aditi:

WebRTC: secondlife://Aditi/secondlife/webRTC2/83/247/23 Sim: WebRTC-Voice 2024-08-15.10397494850 Voice: Secondlife WebRTC Gateway