[FFmpeg-trac] #4395(undetermined:new): dv: crash while seeking with enabled lowres

FFmpeg trac at avcodec.org
Thu Mar 26 03:37:58 CET 2015


#4395: dv: crash while seeking with enabled lowres
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    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 ami_stuff):

 I get this here after seeking with the mouse:

 {{{
 (gdb) r -showmode 1 -vlowres 3 -an small_test2.dv
 Starting program: /media/sdb1/ffmpeg/ffplay_g -showmode 1 -vlowres 3 -an
 small_test2.dv
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
 ffplay version 2.6.git Copyright (c) 2003-2015 the FFmpeg developers
   built with gcc 4.7 (Debian 4.7.2-4)
   configuration: --disable-ffserver --disable-ffprobe --enable-ffplay
 --enable-gpl
   libavutil      54. 20.101 / 54. 20.101
   libavcodec     56. 30.100 / 56. 30.100
   libavformat    56. 26.101 / 56. 26.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 13.101 /  5. 13.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [New Thread 0xb73fcb70 (LWP 2919)]
 [New Thread 0xb67c0b70 (LWP 2920)]
 [New Thread 0xb5ebeb70 (LWP 2921)]
 [dv @ 0x9566100] Estimating duration from bitrate, this may be inaccurate
 Input #0, dv, from 'small_test2.dv':
   Metadata:
     timecode        : 00:27:31:04
   Duration: 00:00:02.84, start: 0.000000, bitrate: 28800 kb/s
     Stream #0:0: Video: dvvideo, yuv420p, 90x72 [SAR 16:15 DAR 4:3], 28800
 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
     Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
 [New Thread 0xb569ab70 (LWP 2922)]
 Seek to 56% ( 0:00:01) of total duration ( 0:00:02)       B f=0/0

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb5ebeb70 (LWP 2921)]
 dv_frame_offset (timestamp=40, s=<optimized out>, c=<optimized out>,
     flags=<optimized out>) at libavformat/dv.c:429
 429         int64_t max_offset = ((size - 1) / sys->frame_size) *
 sys->frame_size;
 (gdb) bt
 #0  dv_frame_offset (timestamp=40, s=<optimized out>, c=<optimized out>,
     flags=<optimized out>) at libavformat/dv.c:429
 #1  dv_read_seek (s=0x9566100, stream_index=0, timestamp=40, flags=1)
     at libavformat/dv.c:574
 #2  0x082c4057 in seek_frame_internal (flags=1, timestamp=40,
 stream_index=0,
     s=0x9566100) at libavformat/utils.c:2108
 #3  av_seek_frame (s=0x9566100, stream_index=0, timestamp=1599993,
 flags=1)
     at libavformat/utils.c:2140
 #4  0x082c3ed1 in avformat_seek_file (s=0x9566100, stream_index=-1,
     min_ts=-9223372036854775808, ts=1599993, max_ts=9223372036854775807,
     flags=0) at libavformat/utils.c:2191
 #5  0x080cd210 in read_thread (arg=0xb5ebf020) at ffplay.c:3068
 #6  0xb7e254c1 in SDL_RunThread (data=data at entry=0x954f0a0)
     at ../../src/thread/SDL_thread.c:204
 #7  0xb7e6ed3b in RunThread (data=0x954f0a0)
     at ../../src/thread/pthread/SDL_systhread.c:47
 #8  0xb7db7954 in start_thread (arg=0xb5ebeb70) at pthread_create.c:304
 #9  0xb7d37c8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list