mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[BUG] Memory access error (memory dumped) #583
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Linus789 on GitHub (Apr 23, 2020).
CCExtractor version:
In raising this issue, I confirm the following:
Necessary information
./ccextractor -hardsubx video.mp4 -o ocred.ssaVideo links
Basically not working with any video.
Additional information
Built CCExtractor with CMake
mkdir build && cd build; cmake -DWITH_OCR=on -DWITH_HARDSUBX=on ../src/ && makeMemory access error (memory dumped)@cfsmp3 commented on GitHub (Apr 23, 2020):
Not a lot of info there. I'd try compiling it with debug info and running it with valgrind. Hopefully the stacktrace will be helpful.
Also, try writing to a different format - with a with of luck, .srt will work on the same input. Fixing output is always easier.
@Linus789 commented on GitHub (Apr 23, 2020):
cmake_debug.txt
make_debug.txt
valgrind_debug.txt
@muzena commented on GitHub (May 2, 2020):
@cfsmp3
I have the same problem on Linux Mint 19.
I have mkv PVR records, recorded in Tvheadend, with Happuage WinTV-HVR-2205
I tried to extract from mkv file subtitles it gives me Segmentation fault and Memory write error
I compile with these flags:
./configure --enable-hardsubx --enable-ocr --enable-ffmpeg --with-guiI tried with ts file it gave me same error.
CCExtractor version:
CCExtractor 0.88, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
CCExtractor detailed version info
Version: 0.88
Git commit:
28dd35b040Compilation date: 2020-05-02
File SHA256: 905b6e0ba15b38ea1067514688b9257c8462739d9b4cef34718fee93d4a9049b
Libraries used by CCExtractor
Tesseract Version: 4.0.0-beta.1
Leptonica Version: leptonica-1.75.3
libGPAC Version: 0.7.2-DEV
zlib: 1.2.11
utf8proc Version: 2.4.0
protobuf-c Version: 1.3.1
libpng Version: 1.6.35
FreeType
libhash
nuklear
libzvbi
valgrind-v.txt
MKV file
@MackeyStingray commented on GitHub (Sep 13, 2020):
Seeing the same issue in Debian Buster. The issue is
Adding the line
char* probe_tessdata_location(const char *lang);to src/lib_ccx/ocr.h resolves it.@cfsmp3 commented on GitHub (May 2, 2021):
Closing as a fix has already been merged - @Linus789 please reopen if it still segfaults for you