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 #3

Open
Arash-codedev opened this issue Nov 20, 2017 · 0 comments
Open

Segmentation fault #3

Arash-codedev opened this issue Nov 20, 2017 · 0 comments

Comments

@Arash-codedev
Copy link

Arash-codedev commented Nov 20, 2017

Just compile the file after a lot of attempts and got

 Registering required functions...

Segmentation fault (core dumped)

Stack trace:

#0  0x000000000104d0a2 in av_opt_next (last=0x0, obj=0x7fcf6f1b8040) at libavutil/opt.c:51
#1  av_opt_set_defaults2 (s=0x7fcf6f1b8040, mask=mask@entry=0, flags=flags@entry=0) at libavutil/opt.c:1299
#2  0x000000000104d369 in av_opt_set_defaults (s=<optimised out>) at libavutil/opt.c:1293
#3  0x0000000000a3088e in init_context_defaults (s=s@entry=0x365d140, codec=codec@entry=0x7fcfc1695299 <__GI___cxa_atexit+25>) at libavcodec/options.c:135
#4  0x0000000000a30956 in avcodec_alloc_context3 (codec=0x7fcfc1695299 <__GI___cxa_atexit+25>) at libavcodec/options.c:164
#5  0x00000000004803ae in ScreenRecorder::init_outputfile (this=this@entry=0x7fff4b36f190) at ScreenRecorder.cpp:272
#6  0x00000000004805e7 in main () at ScreenRecorder.cpp:352

Also, in the liking process, it seems -lXv is necessary.

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

1 participant