[FFmpeg-trac] #342(undetermined:new): Crash when retrying with TCP

FFmpeg trac at avcodec.org
Mon Jul 11 22:03:53 CEST 2011


#342: Crash when retrying with TCP
-------------------------+--------------------------
  Reporter:  cehoyos     |      Owner:
      Type:  defect      |     Status:  new
  Priority:  normal      |  Component:  undetermined
   Version:  git-master  |   Keywords:
Blocked By:              |   Blocking:
Reproduced:  0           |   Analyzed:  0
-------------------------+--------------------------
 {{{
 ffmpeg version N-31404-ga8c2ff2, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jul 11 2011 16:02:09 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
   libavutil    51. 11. 0 / 51. 11. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  5. 0 / 53.  5. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 24. 4 /  2. 24. 4
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [New Thread 0x7ffff5185910 (LWP 7077)]
 [New Thread 0x7ffff445f910 (LWP 7078)]
 [New Thread 0x7ffff3739910 (LWP 7079)]
 [New Thread 0x7ffff2a13910 (LWP 7080)]
 [rtsp @ 0x12cf420] UDP timeout, retrying with TCP

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7ffff445f910 (LWP 7078)]
 0x00000000004f2ffe in circular_buffer_task (_URLContext=0x12d1180) at
 libavformat/udp.c:333
 333             FD_SET(s->udp_fd, &rfds);
 (gdb) bt
 #0  0x00000000004f2ffe in circular_buffer_task (_URLContext=0x12d1180) at
 libavformat/udp.c:333
 #1  0x00007ffff721565d in start_thread () from /lib64/libpthread.so.0
 #2  0x00007ffff690aecd in clone () from /lib64/libc.so.6
 #3  0x0000000000000000 in ?? ()
 (gdb) disass $pc-32 $pc+32
 Dump of assembler code from 0x4f2fde to 0x4f301e:
 0x00000000004f2fde <circular_buffer_task+46>:   add
 %al,-0x167af040(%rbp)
 0x00000000004f2fe4 <circular_buffer_task+52>:   add    %al,(%rax)
 0x00000000004f2fe6 <circular_buffer_task+54>:   add
 %cl,-0x17(%rcx,%rcx,4)
 0x00000000004f2fea <circular_buffer_task+58>:   mov    %rbp,%rdi
 0x00000000004f2fed <circular_buffer_task+61>:   cld
 0x00000000004f2fee <circular_buffer_task+62>:   rep stos %rax,%es:(%rdi)
 0x00000000004f2ff1 <circular_buffer_task+65>:   movslq (%rbx),%rax
 0x00000000004f2ff4 <circular_buffer_task+68>:   mov    %rax,%rdx
 0x00000000004f2ff7 <circular_buffer_task+71>:   and    $0x3f,%eax
 0x00000000004f2ffa <circular_buffer_task+74>:   shr    $0x6,%rdx
 0x00000000004f2ffe <circular_buffer_task+78>:   bts    %rax,(%rsp,%rdx,8)
 0x00000000004f3003 <circular_buffer_task+83>:   mov    (%rbx),%edi
 0x00000000004f3005 <circular_buffer_task+85>:   xor    %ecx,%ecx
 0x00000000004f3007 <circular_buffer_task+87>:   xor    %edx,%edx
 0x00000000004f3009 <circular_buffer_task+89>:   mov    %r12,%r8
 0x00000000004f300c <circular_buffer_task+92>:   mov    %rsp,%rsi
 0x00000000004f300f <circular_buffer_task+95>:   movq   $0x1,0x80(%rsp)
 0x00000000004f301b <circular_buffer_task+107>:  movq   $0x0,0x88(%rsp)
 End of assembler dump.
 (gdb) info register
 rax            0x1      1
 rbx            0x12d6140        19751232
 rcx            0x0      0
 rdx            0x84d108 8704264
 rsi            0x7ffff445ef90   140737291612048
 rdi            0x7ffff445f0c0   140737291612352
 rbp            0x7ffff445f040   0x7ffff445f040
 rsp            0x7ffff445f040   0x7ffff445f040
 r8             0x7ffff445f010   140737291612176
 r9             0x0      0
 r10            0x0      0
 r11            0x206    518
 r12            0x7ffff445f0c0   140737291612352
 r13            0x10     16
 r14            0x12d1180        19730816
 r15            0x1c     28
 rip            0x4f2ffe 0x4f2ffe <circular_buffer_task+78>
 eflags         0x10202  [ IF RF ]
 cs             0x33     51
 ss             0x2b     43
 ds             0x0      0
 es             0x0      0
 fs             0x0      0
 gs             0x0      0
 fctrl          0x37f    895
 fstat          0x0      0
 ftag           0xffff   65535
 fiseg          0x0      0
 fioff          0x0      0
 foseg          0x0      0
 fooff          0x0      0
 fop            0x0      0
 mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/342>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list