failed assertion when transcoding wmv
Trying to reproduce #8669 http://streams.videolan.org/issues/8669/
bad_company.mp4 --sout="#transcode{vcodec=WMV2,scale=1,acodec=wma,ab=96,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=/tmp/a.wmv}}"
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x00000035892359e9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 7301
selftid = 7339
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00000035892370f8 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffffffdf73, sa_sigaction = 0x7fffffffdf73},
sa_mask = {__val = {229935394577, 140737349594106, 222, 4294967295, 229934039733, 4,
140736710081488, 0, 140736710081408, 140737488350739, 0, 0, 0, 21474836480,
140737208098816, 140737229073874}}, sa_flags = -138761144,
sa_restorer = 0x7ffff7baac7f <__PRETTY_FUNCTION__.6505>}
sigs = {__val = {32, 0 <repeats 15 times>}}
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x000000358922e956 in __assert_fail_base (
fmt=0x7ffff08badd2 "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n",
assertion=assertion@entry=0x7ffff7baac48 "p_date->i_remainder > -p_date->i_divider_num",
file=file@entry=0x7ffff7baabfa "misc/mtime.c", line=line@entry=222,
function=function@entry=0x7ffff7baac7f <__PRETTY_FUNCTION__.6505> "date_Decrement") at assert.c:92
str = 0x7fffc8011730 "\020\035\001\310\377\177"
total = 4096
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x000000358922ea02 in __GI___assert_fail (
assertion=assertion@entry=0x7ffff7baac48 "p_date->i_remainder > -p_date->i_divider_num",
---Type <return> to continue, or q <return> to quit---
file=file@entry=0x7ffff7baabfa "misc/mtime.c", line=line@entry=222,
function=function@entry=0x7ffff7baac7f <__PRETTY_FUNCTION__.6505> "date_Decrement") at assert.c:101
No locals.
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x00007ffff7b67c69 in date_Decrement (p_date=p_date@entry=0x7fffc8012dd0,
i_nb_samples=<optimized out>) at misc/mtime.c:222
i_dividend = <optimized out>
i_rem_adjust = <optimized out>
__PRETTY_FUNCTION__ = "date_Decrement"
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007fffc75c79f8 in EncodeAudio (p_enc=0x7fffc8000e78, p_aout_buf=0x7fffc8037df0)
at codec/avcodec/encoder.c:1251
p_sys = 0x7fffc8012d60
p_block = <optimized out>
p_chain = 0x0
buffer_delay = 8032
i_samples_left = <optimized out>
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007fffd39f0990 in transcode_audio_process (p_stream=0x7fffcc0047e8,
id=id@entry=0x7fffc8000920, in=0x7fffccc23b50, out=out@entry=0x7fffd19c7df8)
at transcode/audio.c:296
p_sys = 0x7fffcc004890
p_block = <optimized out>
p_audio_buf = 0x7fffc8037df0
---Type <return> to continue, or q <return> to quit---
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007fffd39edb9d in Send (p_stream=0x7fffcc0047e8, id=0x7fffc8000920, p_buffer=<optimized out>)
at transcode/transcode.c:658
p_sys = <optimized out>
p_out = 0x0
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00007ffff7b8b888 in sout_InputSendBuffer (p_input=0x7fffc8000900,
p_buffer=p_buffer@entry=0x7fffccc23b50) at stream_output/stream_output.c:233
p_sout = 0x7fffcc000c18
i_ret = <optimized out>
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x00007ffff7b29e8c in DecoderPlaySout (p_sout_block=0x7fffccc23b50, p_dec=0x7fffccc149f8)
at input/decoder.c:1677
b_has_more = false
b_reject = false
p_owner = 0x7fffccc14db0
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) DecoderProcessSout (p_block=0x0, p_dec=0x7fffccc149f8) at input/decoder.c:1799
p_next = 0x0
p_owner = 0x7fffccc14db0
p_sout_block = <optimized out>
[#11](https://code.videolan.org/videolan/vlc/-/issues/11) DecoderProcess (p_block=<optimized out>, p_dec=<optimized out>) at input/decoder.c:2007
p_owner = 0x7fffccc14db0
b_flush_request = <optimized out>
[#12](https://code.videolan.org/videolan/vlc/-/issues/12) DecoderThread (p_data=0x7fffccc149f8) at input/decoder.c:945
---Type <return> to continue, or q <return> to quit---
canc = 0
p_block = <optimized out>
end_buffering = <optimized out>
p_dec = 0x7fffccc149f8
p_owner = 0x7fffccc14db0
[#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x0000003589a07c53 in start_thread (arg=0x7fffd19c8700) at pthread_create.c:308
__res = <optimized out>
pd = 0x7fffd19c8700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736710084352, -4859304067136712913, 1,
140736710085056, 140736710084352, 140736628607480, 4859361503728668463,
-4829165077555933393}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#14 (closed) 0x00000035892f5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 }}}