[FFmpeg-trac] #4038(undetermined:new): avio_seek gets called with (..., -1, SEEK_SET)

FFmpeg trac at avcodec.org
Fri Oct 17 09:27:27 CEST 2014


#4038: avio_seek gets called with (..., -1, SEEK_SET)
-------------------------------------+-------------------------------------
             Reporter:  albertzeyer  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by albertzeyer):

 This is the backtrace:

 {{{
     frame #2: 0x00007fff863ebb1a libsystem_c.dylib`abort + 125
     frame #3: 0x00000001064ba8e2
 a.out`player_seek(_song=0x00007ff4ca40c2f8, offset=-1, whence=0) + 242 at
 ffmpeg-seek-bug.cpp:61
     frame #4: 0x00000001065305ae
 libavformat.56.dylib`avio_seek(s=0x00007ff4ca40c580, offset=<unavailable>,
 whence=<unavailable>) + 622 at aviobuf.c:261
     frame #5: 0x0000000106593e6d libavformat.56.dylib`mp3_seek [inlined]
 check(s=<unavailable>, pos=-1) + 17 at mp3dec.c:395
     frame #6: 0x0000000106593e5c
 libavformat.56.dylib`mp3_seek(s=0x00007ff4ca80c000,
 stream_index=<unavailable>, timestamp=<unavailable>, flags=<unavailable>)
 + 732 at mp3dec.c:458
     frame #7: 0x000000010660b97c libavformat.56.dylib`av_seek_frame
 [inlined] seek_frame_internal(s=<unavailable>, stream_index=<unavailable>,
 timestamp=<unavailable>, flags=1) + 217 at utils.c:2059
     frame #8: 0x000000010660b8a3
 libavformat.56.dylib`av_seek_frame(s=0x00007ff4ca80c000,
 stream_index=<unavailable>, timestamp=<unavailable>, flags=1) + 243 at
 utils.c:2091
     frame #9: 0x000000010660bebf
 libavformat.56.dylib`avformat_seek_file(s=<unavailable>, stream_index=-1,
 min_ts=0, ts=1000, max_ts=1998, flags=<unavailable>) + 175 at utils.c:2142
     frame #10: 0x00000001064b95a1
 a.out`Song::seekAbs(this=0x00007ff4ca40c2f8, pos=0.001) + 401 at ffmpeg-
 seek-bug.cpp:296
     frame #11: 0x00000001064b9788 a.out`main(argc=2,
 argv=0x00007fff597477d8) + 424 at ffmpeg-seek-bug.cpp:330
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4038#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list