xiph / xiph/opus

x86_64 architecture crash

Open
#248 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

03-29 11:22:15.067 I/crash_dump64(27296): performing dump of process 11466 (target tid = 11570)
03-29 11:22:15.068 F/DEBUG (27296): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-29 11:22:15.068 F/DEBUG (27296): Build fingerprint: 'harman/fca_dv2/fca_dv2:8.1.0/OPM1.171019.025/FCA-MY21.R17.89:user/release-keys'
03-29 11:22:15.068 F/DEBUG (27296): Revision: '0'
03-29 11:22:15.068 F/DEBUG (27296): ABI: 'x86_64'
03-29 11:22:15.068 F/DEBUG (27296): pid: 11466, tid: 11570, name: synthesize_thre >>> com.opus.demo <<<
03-29 11:22:15.068 F/DEBUG (27296): signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0x76f9878cc7f0
03-29 11:22:15.068 F/DEBUG (27296): rax 0030788000000000 rbx 000076f9867a13d8 rcx 0000000000000001 rdx 0000000000000000
03-29 11:22:15.068 F/DEBUG (27296): rsi 0000000000000000 rdi 000076f9867a13d8
03-29 11:22:15.068 F/DEBUG (27296): r8 00000000000010c0 r9 0000000000000000 r10 000076f987fed888 r11 000076fa23dc3c78
03-29 11:22:15.068 F/DEBUG (27296): r12 000076f999656290 r13 0000000000000001 r14 000076f9867a1380 r15 00000000fffffffd
03-29 11:22:15.068 F/DEBUG (27296): cs 0000000000000033 ss 000000000000002b
03-29 11:22:15.068 F/DEBUG (27296): rip 000076f9878cc7f0 rbp 0000000000003e80 rsp 000076f988dae508 eflags 0000000000010246
03-29 11:22:15.079 F/DEBUG (27296):
03-29 11:22:15.079 F/DEBUG (27296): backtrace:
03-29 11:22:15.079 F/DEBUG (27296): #00 pc 000000000086b7f0 /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (silk_CNG_Reset+624)
03-29 11:22:15.079 F/DEBUG (27296): #01 pc 000000000085d282 /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (silk_init_decoder+50)
03-29 11:22:15.079 F/DEBUG (27296): #02 pc 000000000084a408 /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (silk_InitDecoder+8)
03-29 11:22:15.079 F/DEBUG (27296): #03 pc 0000000000847ccf /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (opus_decoder_init+255)
03-29 11:22:15.079 F/DEBUG (27296): #04 pc 0000000000847de6 /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (opus_decoder_create+150)
03-29 11:22:15.079 F/DEBUG (27296): #05 pc 0000000000255c69 /data/app/com.opus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/libopus.so (CodecsOpusDecoder::CodecsOpusDecoder(int)+57)
03-29 11:22:15.079 F/DEBUG (27296): #06 pc 0000000000237c95 /data/app/com.topus.demo-7tJhpVdJ6izUjsPDL3NchQ==/lib/x86_64/

Contributor guide

No contributing guide indexed for this repository

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 with the supplied Android x86_64 crash log and trace the decoder initialization path from opus_decoder_create through opus_decoder_init, silk_InitDecoder, silk_init_decoder, and silk_CNG_Reset in libopus.so. Reproduce the SIGILL if possible, then identify and verify a fix for the crash on x86_64.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.