System info:
Ubuntu 18.04.6 LTS, X64, gcc version 7.4.0, gpac (latest master 4a7a63)
Compile Command:
$ CC="gcc -fsanitize=address -g" CXX="g++ -fsanitize=address -g" ./configure --static-mp4box$ make
Run Command:
./MP4Box -dash 1000 crash_3
ASAN info:
===================================================================13768==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000004 (pc 0x562656a3daf0bp0x000000000001sp0x7ffee325fef0 T0)==13768==The signal is caused by a READ memory access.==13768==Hint: address points to the zero page. #00x562656a3daefin gf_dash_segmenter_probe_input media_tools/dash_segmenter.c:5264 #10x562656a6350ain gf_dasher_add_input media_tools/dash_segmenter.c:6669 #20x56265663ea6fin mp4boxMain /home/dr3dd/fuzzing/gpac/applications/mp4box/main.c:4704 #30x7fab411e9b96in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #40x56265662d7a9in _start (/home/dr3dd/fuzzing/gpac/bin/gcc/MP4Box+0x1657a9)AddressSanitizer can not provide additional info.SUMMARY: AddressSanitizer: SEGV media_tools/dash_segmenter.c:5264in gf_dash_segmenter_probe_input==13768==ABORTING
gdb info:
(gdb) r -dash 1000 ~/gpac_poc/crash_3Starting program: /home/dr3dd/fuzzing/gpac/bin/gcc/MP4Box -dash 1000 ~/gpac_poc/crash_2[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Program received signal SIGSEGV, Segmentation fault.0x0000555555bf408cin gf_dash_segmenter_probe_input (io_dash_inputs=io_dash_inputs@entry=0x5555562c4978, nb_dash_inputs=nb_dash_inputs@entry=0x5555562c4980, idx=idx@entry=0)atmedia_tools/dash_segmenter.c:52645264 if (esd && (esd->decoderConfig->objectTypeIndication == GPAC_OTI_VIDEO_HEVC || esd->decoderConfig->objectTypeIndication == GPAC_OTI_VIDEO_LHVC)) {(gdb) bt#00x0000555555bf408cin gf_dash_segmenter_probe_input (io_dash_inputs=io_dash_inputs@entry=0x5555562c4978, nb_dash_inputs=nb_dash_inputs@entry=0x5555562c4980, idx=idx@entry=0)atmedia_tools/dash_segmenter.c:5264#10x0000555555c2dabbin gf_dasher_add_input (dasher=0x5555562c4970, input=<optimized out>)atmedia_tools/dash_segmenter.c:6669#20x00005555555c88f5in mp4boxMain (argc=<optimized out>, argv=<optimized out>)atmain.c:4704#30x00007ffff722bb97in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6#40x00005555555a3e0ain _start ()atmain.c:5985(gdb)
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!
Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
System info:
Ubuntu 18.04.6 LTS, X64, gcc version 7.4.0, gpac (latest master 4a7a63)
Compile Command:
Run Command:
ASAN info:
gdb info:
Here is crash file:
crash_3.zip
Thanks
dr3dd
The text was updated successfully, but these errors were encountered: