mp4: SIGFPE in demux
Floating Point Exception with a mp4. works in 3.0.20 but crash in 4.0
#0 0x00007fffd1577918 in vlc_tick_from_samples (samp_rate=0, samples=2112) at ../../include/vlc_tick.h:105
#1 TrackCreateES (pp_es=<optimized out>, i_chunk=<optimized out>, p_track=0x7fffcc023e68, p_demux=<optimized out>) at ../../modules/demux/mp4/mp4.c:3297
#2 MP4_TrackSetup (b_create_es=<optimized out>, b_force_enable=<optimized out>, p_box_trak=0x7fffcc01f600, p_track=0x7fffcc023e68, p_demux=<optimized out>)
at ../../modules/demux/mp4/mp4.c:4015
#3 Open (p_this=<optimized out>) at ../../modules/demux/mp4/mp4.c:1281
#4 0x00007ffff7ebaf7a in demux_Probe (func=0x7fffd1573680 <Open>, forced=true, ap=ap@entry=0x7fffe87fc8a0) at ../../src/input/demux.c:112
#5 0x00007ffff7e9ce8f in vlc_module_load
(log=<optimized out>, capability=capability@entry=0x7ffff7f443c4 "demux", name=name@entry=0x7fffcc016010 "ext-mp4", strict=strict@entry=false, probe=probe@entry=0x7ffff7ebaf40 <demux_Probe>) at ../../src/modules/modules.c:228
#6 0x00007ffff7ebb37e in demux_NewAdvanced (p_obj=p_obj@entry=0x7fffd4000ba0, p_input=p_input@entry=0x7fffd4000ba0, module=0x7fffcc016010 "ext-mp4",
module@entry=0x7fffcc000cc0 "any", url=url@entry=0x7fffcc000d70 "file:///var/home/VLC/vlc/build-master/Amelie.2001.1080p.BRRip.AC3.x264-trailer.mp4", s=<optimized out>, out=out@entry=0x7fffcc000bc8, b_preparsing=true) at ../../include/vlc_objects.h:153
#7 0x00007ffff7ecc23e in InputDemuxNew
(psz_anchor=<optimized out>, psz_demux=0x7fffcc000cc0 "any", url=0x7fffcc000d70 "file:///var/home/VLC/vlc/build-master/Amelie.2001.1080p.BRRip.AC3.x264-trailer.mp4", p_source=0x7fffd4001690, p_es_out=0x7fffcc000bc8, p_input=0x7fffd4000ba0) at ../../src/input/input.c:2547
#8 InputSourceInit
(in=in@entry=0x7fffd4001690, p_input=p_input@entry=0x7fffd4000ba0, psz_mrl=0x4beea0 "file:///var/home/VLC/vlc/build-master/Amelie.2001.1080p.BRRip.AC3.x264-trailer.mp4", psz_forced_demux=psz_forced_demux@entry=0x0, b_in_can_fail=b_in_can_fail@entry=false) at ../../src/input/input.c:2672
#9 0x00007ffff7ed09ae in Init (p_input=p_input@entry=0x7fffd4000ba0) at ../../src/input/input.c:1326
#10 0x00007ffff7ed2a98 in Preparse (data=0x7fffd4000ba0) at ../../src/input/input.c:439
#11 0x00007ffff7b93897 in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007ffff7c1a80c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Sample: https://streams.videolan.org/issues/28560/Amelie.2001.1080p.BRRip.AC3.x264-trailer.mp4
Edited by Gabriel Lafond-Thenaille