Ask Your Question
0

Segmentation Fault on using VideoCapture

asked 2017-04-16 10:06:34 -0600

tiannahale9Jr gravatar image

updated 2017-04-17 02:20:39 -0600

berak gravatar image

GDB output:

Starting program: /PWD/a.out

[Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffd9293700 (LWP 1744)]

Thread 1 "a.out" received signal SIGSEGV, Segmentation fault. 0x00007fffe9497370 in av_buffer_unref () from /usr/lib/libavutil.so.55


Machine:

OpenCV - version 3.2.0

ffmpeg - version 3.3

OS - Manjaro Linux


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
-1

answered 2019-03-09 09:14:43 -0600

I had precisely this problem. Eventually I figured out that OpenCV was failing when it was compiled with Lapack. Don't know why, and don't have time to find out. On Ubuntu, I believe that liblapacke-dev is the package required to configure OpenCV with Lapack. Uninstall this package before compiling and installing OpenCV. Worked for me.

edit flag offensive delete link more

Comments

how does this answer the question above ?

berak gravatar imageberak ( 2019-03-09 12:08:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-04-16 10:06:34 -0600

Seen: 1,417 times

Last updated: Apr 16 '17