Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A SEGV signal occurred when running mp4compact #283

Closed
swtkiwi opened this issue Jul 9, 2018 · 0 comments
Closed

A SEGV signal occurred when running mp4compact #283

swtkiwi opened this issue Jul 9, 2018 · 0 comments
Assignees
Labels

Comments

@swtkiwi
Copy link

swtkiwi commented Jul 9, 2018

A SEGV signal occurred when running mp4compact at Ap4StcoAtom.cpp:142

ASAN:SIGSEGV
=================================================================
==30883==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x000000474645 bp 0x7ffd435fb8c0 sp 0x7ffd435fb8a0 T0)
    #0 0x474644 in AP4_StcoAtom::AdjustChunkOffsets(int) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4StcoAtom.cpp:142
    #1 0x4f014e in AP4_TrakAtom::AdjustChunkOffsets(long long) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:318
    #2 0x52e10e in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:640
    #3 0x52fb9e in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:761
    #4 0x4515ea in main /home/mfc_fuzz/Bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
    #5 0x7fb7a3da382f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #6 0x44f908 in _start (/home/sandy/swt_fuzz/Bento4/cmakebuild/mp4compact+0x44f908)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4StcoAtom.cpp:142 AP4_StcoAtom::AdjustChunkOffsets(int)
==30883==ABORTING

The testing program is mp4compact.
And the input file has been put at: https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test2

@barbibulle barbibulle self-assigned this Jul 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants