mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-13 05:25:03 +00:00
Segmentation fault with -out=report #152
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 @lelegard on GitHub (May 27, 2016).
Originally assigned to: @canihavesomecoffee on GitHub.
Hello,
I use ccextractor -out=report on various files. The report is generated but the execution always terminates with a segmentation fault.
I use a 64-bit Windows 10 machine. I tried with exactly the same result the following three builds:
Examples:
$ ./ccextractorwin -out=report atsc_field1.mpgFile: atsc_field1.mpgStream Mode: Transport StreamProgram Count: 1Program Numbers: 1PID: 33, Program: 1, MPEG-2 videoPID: 34, Program: 1, MPEG-1 audio//////// Program #1: ////////DVB Subtitles: NoTeletext: NoATSC Closed Caption: YesEIA-608: YesXDS: NoCC1: YesCC2: NoCC3: NoCC4: NoCEA-708: NoWidth: 720Height: 480Aspect Ratio: 02 - 4:3Frame Rate: 04 - 29.97MPEG-4 Timed Text: NoSegmentation fault$$ ./ccextractorwin -out=report cea608_field1.mpgFile: cea608_field1.mpgStream Mode: Transport StreamProgram Count: 1Program Numbers: 1PID: 33, Program: 1, MPEG-2 videoPID: 34, Program: 1, MPEG-1 audio//////// Program #1: ////////DVB Subtitles: NoTeletext: NoATSC Closed Caption: YesEIA-608: YesXDS: NoCC1: YesCC2: NoCC3: NoCC4: NoCEA-708: NoWidth: 720Height: 480Aspect Ratio: 02 - 4:3Frame Rate: 04 - 29.97MPEG-4 Timed Text: NoSegmentation fault$Cheers
Thierry
@canihavesomecoffee commented on GitHub (May 28, 2016):
Hey,
just to be sure, is this a Windows or Linux issue (or both)?
@lelegard commented on GitHub (May 28, 2016):
Both Linux and Windows.
To be clear, the 3 tests I reported were on Windows with 3 different compilers. I just tried on Fedora 23 with version 0.80 and 0.81 (today's clone of github repo) with the same result.
I attached a gdb report in file segfault.txt. In fact, this is only a final debug trace that crashed the application. Probably easy to fix.
Cheers
Thierry
@lelegard commented on GitHub (May 30, 2016):
I removed the faulty debug trace, recompiled and successfully run on Windows and Linux.
For the record, I attached a small patch ccextractor.0.80.outreport-segfault.patch.zip
This patch is just here to indicate where the error occurs. It removes the debug trace but you may probably want to properly fix it instead.