SIGSEGV null pointer dereference in libjingle_peerconnection_so.so during active H265 stream

Open
#323 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
android

Research direction

The report names no source files, tests, or symbolized entry point. Start by reproducing the crash on the Android 14, 32-bit RK3528 environment with an active H265 stream, then inspect the native tombstone and symbolized offsets. Done means identifying and fixing the null dereference and confirming that the same connection remains stable.

Written by the indexing model from the issue text.

Description

Environment

  • stream-webrtc-android version: tested on both 1.3.8 and 1.3.10 — crash on both
  • Device: Android TV box, product model X96Q_RK3518 (device codename rk3518_box_32), actual SoC is Rockchip RK3528 (ro.board.platform/ro.product.board), manufacturer RockChip
  • Android 14, API level 34
  • ABI: armeabi-v7a only — no 64-bit userspace (ro.product.cpu.abilist64 empty)
  • ABI in crash tombstone: arm (32-bit)

The app crashes with a native SIGSEGV inside libjingle_peerconnection_so.so a few seconds after a WebRTC connection with an H265 video track is fully established — ICE connected, DTLS/data channel open. The crash is not during codec negotiation setup; it consistently occurs ~3 seconds after onDataChannelOpen.

2026-07-23 12:49:43.190 14108-14553 libc                    com.onmo.plus                        A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 14553 (worker_thread -), pid 14108 (com.onmo.plus)
---------------------------- PROCESS STARTED (14847) for package com.onmo.plus ----------------------------
2026-07-23 12:49:44.656 14108-14560 org.webrtc.Logging      com.onmo.plus                        I  EglRenderer: Duration: 4014 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
2026-07-23 12:49:45.065 14841-14841 DEBUG                   crash_dump32                         A  Cmdline: com.onmo.plus
2026-07-23 12:49:45.065 14841-14841 DEBUG                   crash_dump32                         A  pid: 14108, tid: 14553, name: worker_thread -  >>> com.onmo.plus <
2026-07-23 12:49:45.066 14841-14841 DEBUG                   crash_dump32                         A        #00 pc 005999a6  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.066 14841-14841 DEBUG                   crash_dump32                         A        #01 pc 005991bb  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #02 pc 00599229  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #03 pc 005563f1  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #04 pc 0054e6e1  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #05 pc 005c8b6b  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #06 pc 005cc425  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #07 pc 0026397d  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #08 pc 002632a3  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
2026-07-23 12:49:45.067 14841-14841 DEBUG                   crash_dump32                         A        #09 pc 00263b85  /data/app/~~TUTYWdqP2sEb_pelrS2Y0Q==/com.onmo.plus-DA2wdycnU0kxn1dL0ehkxA==/base.apk!libjingle_peerconnection_so.so (offset 0x302c000) (BuildId: 42abf81ae5dab70f)
---------------------------- PROCESS ENDED (14108) for package com.onmo.plus ----------------------------
---------------------------- PROCESS ENDED (14847) for package com.onmo.plus ----------------------------
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.