erikkaashoek / Comskip

A free commercial detector
GNU General Public License v2.0
598 stars 80 forks source link

mpeg2dec.c:2297 Segmentation fault linux #141

Open sgdinger opened 2 years ago

sgdinger commented 2 years ago

I intermittently receive a segmentation fault when running comskip on linux with ffmpeg 4.3.2.. I ran comskip in gdb and received the follow error. I was able to duplicate the error with the same backtrace results.

Thread 1 "comskip" received signal SIGSEGV, Segmentation fault. 0x00007ffff636263b in fclose@@GLIBC_2.2.5 () from /usr/lib/libc.so.6 (gdb) bt

0 0x00007ffff636263b in fclose@@GLIBC_2.2.5 () at /usr/lib/libc.so.6

1 0x00005555555820f5 in close_data () at comskip.c:16507

2 0x0000555555558ee6 in main (argc=, argv=) at mpeg2dec.c:2297