leandromoreira / leandromoreira/ffmpeg-libav-tutorial

segmentation fault when use transcoding code

Open
#66 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

the detail error is below:

`Starting program: /home/projectDEMO/ffmpeg/ffmpeglib/doc/examples/./transcoding_3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000eb9388 in av_strstart (str=0x0, pfx=pfx@entry=0xf77548 "rtp:", ptr=ptr@entry=0x0) at libavutil/avstring.c:35
35 {
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 glibc-2.17-292.tl2.x86_64 libXau-1.0.8-2.1.el7.x86_64 libxcb-1.13-1.tl2.x86_64 xz-libs-5.2.2-1.tl2.x86_64`

can you help me solve this problem?
thanks!

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 by reproducing the crash from doc/examples/transcoding_3 using the command and environment details in the report. Inspect the call into av_strstart in libavutil/avstring.c and trace the null values shown by the debugger. Done means identifying the cause of the segmentation fault and confirming that the transcoding example no longer crashes.

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.