v1.3.6 to 1.3.8 or 9 caused massive crashes

Open
#308 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start by comparing the 1.3.6 and 1.3.8/1.3.9 releases around libjingle_peerconnection_so.so. Investigate the JNI_OnLoad and Java_org_webrtc_Logging_nativeLog crash entries, then reproduce the native crash if possible. Done means identifying the regression and confirming that the affected logging path no longer crashes.

Written by the indexing model from the issue text.

Description

It was all clean and peaceful since I was using v 1.3.6 but then i upgraded to 1.3.8 and started getting huge number of native crashes like:
Crashed: null pointer dereference #1
SIGSEGV 0x0000000000000000
0
libjingle_peerconnection_so.so
JNI_OnLoad
1
libjingle_peerconnection_so.so
JNI_OnLoad
2
libjingle_peerconnection_so.so
Java_org_webrtc_Logging_nativeLog
3
libjingle_peerconnection_so.so
Java_org_webrtc_Logging_nativeLog
4
libjingle_peerconnection_so.so
Java_org_webrtc_Logging_nativeLog
5
libc.so
(Missing BuildId e2d9c5ba32145bb6e11e59494ee68593)

And similar kind of crashes with NativeLog.

Can you please check and fix it as its affecting many users atleast once in their per day session.

Dominant language
Kotlin
Stars
890
Forks
109
Avg merge
11m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from GetStream/webrtc-android

All issues in GetStream/webrtc-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.