#11258: 7.1 regression: illegal instruction on riscv64
-------------------------------------+-------------------------------------
             Reporter:  Sebastian    |                    Owner:  (none)
  Ramacher                           |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  7.1          |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Sebastian Ramacher):

 Here now with a backtrace:
 {{{
 hread 6 "enc0:0:mp2fixed" received signal SIGILL, Illegal instruction.
 [Switching to Thread 0x3ff5200180 (LWP 229613)]
 put_bits_no_assert (s=0x2aad416fd0, n=2, value=2) at
 src/libavcodec/put_bits.h:228
 228                 AV_WBBUF(s->buf_ptr, bit_buf);
 (gdb) bt
 #0  put_bits_no_assert (s=0x2aad416fd0, n=2, value=2) at
 src/libavcodec/put_bits.h:228
 #1  put_bits (s=0x2aad416fd0, n=2, value=2) at
 src/libavcodec/put_bits.h:250
 #2  encode_frame (s=0x2aad416fd0, bit_alloc=0x3ff51ff1f0, padding=8) at
 src/libavcodec/mpegaudioenc_template.c:640
 #3  MPA_encode_frame (avctx=<optimized out>, avpkt=<optimized out>,
 frame=0x3fe8000dd0, got_packet_ptr=0x3ff51ff4cc)
     at src/libavcodec/mpegaudioenc_template.c:764
 #4  0x0000002aab0c2308 in ff_encode_encode_cb
 (avctx=avctx@entry=0x2aad3f8810, avpkt=avpkt@entry=0x3fe8002970,
     frame=0x3fe8000dd0, got_packet=got_packet@entry=0x3ff51ff4cc) at
 src/libavcodec/encode.c:254
 #5  0x0000002aab0c25f8 in encode_simple_internal (avctx=0x2aad3f8810,
 avpkt=0x3fe8002970)
     at src/libavcodec/encode.c:340
 #6  encode_simple_receive_packet (avctx=<optimized out>, avpkt=<optimized
 out>) at src/libavcodec/encode.c:354
 #7  encode_receive_packet_internal (avctx=avctx@entry=0x2aad3f8810,
 avpkt=0x3fe8002970) at src/libavcodec/encode.c:388
 #8  0x0000002aab0c27c8 in avcodec_send_frame
 (avctx=avctx@entry=0x2aad3f8810, frame=frame@entry=0x3ff0000b70)
     at src/libavcodec/encode.c:531
 #9  0x0000002aaac44ace in encode_frame (of=of@entry=0x2aad415780,
 ost=ost@entry=0x2aad416c70,
     frame=frame@entry=0x3ff0000b70, pkt=pkt@entry=0x3ff0000d30) at
 src/fftools/ffmpeg_enc.c:645
 #10 0x0000002aaac45250 in frame_encode (ost=0x2aad416c70,
 frame=0x3ff0000b70, pkt=0x3ff0000d30)
     at src/fftools/ffmpeg_enc.c:813
 #11 encoder_thread (arg=0x2aad416c70) at src/fftools/ffmpeg_enc.c:899
 }}}

 The instruction causing the SIGILL according to gdb is:
 {{{
 => 0x2aab26d9c8 <MPA_encode_frame+7654>:        .insn   4, 0x6b855793
 }}}

 git bisect suggests the commit at fault is
 324899b7483529c336f399022c63721df14663ef.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11258#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to