Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault when use transcoding code #66

Open
AnminSZ opened this issue Jul 1, 2020 · 1 comment
Open

segmentation fault when use transcoding code #66

AnminSZ opened this issue Jul 1, 2020 · 1 comment

Comments

@AnminSZ
Copy link

AnminSZ commented Jul 1, 2020

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!

@leandromoreira
Copy link
Owner

Hi @AnminSZ I don't know but I guess it looks like you're missing some parameter BUT if you're trying to debug you need to have a libav with proper debug symbols.

I'd review char* you're passing to the program and see if they're missing or leaking something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants