mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-16 13:35:45 +00:00
[BUG] double free or corruption (out) #659
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 @techno-disaster on GitHub (Aug 21, 2021).
CCExtractor version: 0.93
In raising this issue, I confirm the following:
Necessary information
Video links
Additional information
Happened with several other files when ccx runs together on them, All were from sample platform.
Logs -
@cfsmp3 commented on GitHub (Aug 21, 2021):
There's a lot more.
Clearly when we do clean up we're deallocating stuff we later need (and keeping a pointer to it too).
@cfsmp3 commented on GitHub (Mar 22, 2023):
Update: Bugs still happening
@cfsmp3 commented on GitHub (Dec 14, 2025):
Verification Update (December 2025)
Issue #1377 has been verified and is still present in the current codebase.
Background
This issue was previously masked by a separate bug (#1810) that prevented multi-file processing from working at all. After fixing #1810 (PR #1811), multi-file processing now works, which allowed proper verification of this memory corruption issue.
Test Results
ccxr_calculate_ms_gop_time)Key Findings
Crash Location
The crash occurs in the Rust GOP timing code:
The error message indicates:
thread caused non-unwinding panic. aborting.Root Cause Hypothesis
State from processing earlier files (particularly timing/GOP-related structures) is not being properly reset between files. When transitioning from DVD-type to HDTV-type content, corrupted or stale state causes the GOP timing calculations to fail.
Files Used for Testing
0069dffd21806a08d21a0f2ef8209c00c84a5a7e5cd5468ad326898f7431eb8e.mpg(DVD-type, 720x480, 4:3)70000200c0b9421b983a8cba0f0ccd90ca600a86d39692144eeeeb270d2f8446.mpg(HDTV-type)Suggested Investigation Areas
src/rust/src/es/gop.rs- GOP timing calculationsswitch_to_next_file()🤖 Generated with Claude Code