I am running WebRTC Native Video Recorder demo Application,but getting Segmentation fault (core dumped).
here is the cmake command:
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF -DBUILD_MODULES=OFF -DBUILD_APPLICATIONS=OFF \
-DBUILD_SAMPLES=ON -DBUILD_TESTS=OFF -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON -DBUILD_MODULE_base=ON \
-DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON -DBUILD_MODULE_av=ON \
-DBUILD_MODULE_net=ON -DBUILD_MODULE_socketio=ON -DBUILD_MODULE_symple=ON -DBUILD_MODULE_stun=ON \
-DBUILD_MODULE_turn=ON -DBUILD_MODULE_util=ON -DBUILD_MODULE_uv=ON -DBUILD_MODULE_webrtc=ON \
-DBUILD_SAMPLES_webrtc=ON -DWEBRTC_INCLUDE_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/include \
-DWEBRTC_LIBRARIES=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/lib/ \
-DWEBRTC_ROOT_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64 \
-DBUILD_MODULE_openssl=ON -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib/ \
-DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include/openssl/
and Resolution is 640*480 , bit rate 128000, profile level is 3.2 .
[libx264 @ 0x7f63dc001600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT BMI1
[libx264 @ 0x7f63dc001600] profile High, level 3.2
Segmentation fault (core dumped)
I have tried to track with gdb and backtrace but couldnt find
[libx264 @ 0x7fffa4001600] profile High, level 3.2
Thread 19 "IncomingVideoSt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd76fd700 (LWP 21381)]
0x00000001000001e0 in ?? ()
bt
#0 0x00000001000001e0 in ?? ()
#1 0x00007ffff5380c6c in x264_stack_align () from /usr/lib/x86_64-linux-gnu/libx264.so.155
#2 0x00007fffd76f710c in ?? ()
#3 0x00007fffd76f7110 in ?? ()
#4 0x0000000000000000 in ?? ()
How to resolve this error?
Comments
Post a Comment