Hi, I'm using transcode for years but recently I was trying to convert a video capture file into DVD format for the first time. I used the ffmpeg export module and the audio needs to be resampled to 48000 from 44100 Hz. Using the option "-J resample" transcode segfaults.
The input file is a NuppelVideo file in 720x576 PAL resolution with stereo audio in 44100 Hz. At first I tried it using ffmpeg-0.4.9pre1 and transcode 1.0.2 on a Slackware 11 system with gcc 3.4.6. After this problem occurred I tried the latest SVN ffmpeg and transcode on a machine with no other ffmpeg or transcode installation. It's a SuSE 8.2 system with gcc 3.3. I used SVN ffmpeg from 2006-11-29 and the transcode 1_0_branch from the same date. The same problem occurred on this system too. The configure options were: env CFLAGS="-g" LIBAVCODEC_EXTRA_LIBS=-lavutil ./configure --prefix=/home/hoffmann/tctest --with-libavcodec-prefix=/home/hoffmann/tctest --with-libmpeg2-prefix=/home/hoffmann/tctest --with-libdvdread-prefix=/home/hoffmann/tctest --with-lame-prefix=/home/hoffmann/tctest The transcode cmdline was: transcode -i v1.nuv -x nuv -y ffmpeg -F mpeg2video -b 160 -o v2 -m v2.ac3 --export_prof dvd-pal --encode_fields t -E 48000 --pre_clip 0 --export_asr 2 -J dnr -w 8000 -J resample This specific cmdline works if I remove the -J option although the ffmpeg module is complaining about the 44100 audio rate. Unfortunatey the gdb backtrace doesn't give any information, but I have still attached the stout and stderr output. I also used valgrind to get some more information, perhaps this helps more than the gdb output. I was also trying different versions of ffmpeg and transcode but finally gave up and decided to report it here. I really appreciate any hint on this problem. It looks like something is going wrong in the resample step. I will try to isolate the problem but perhaps someone on this list can give me some hints. Best Regards, Ralf Hoffmann -- Homepage: http://www.boomerangsworld.de E-Mail: Ralf Hoffmann <[EMAIL PROTECTED]> English or German
transcode v1.0.3rc0 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg [tcprobe] NuppelVideo stream tc_memcpy: using sse for memcpy [import_nuv.so] v0.1.2 (2002-08-01) (video) YUV | (audio) PCM Audio capability flag 0x9 | 0x1 Video capability flag 0x9 | 0x2 (filter.c) dnr,resample [transcode] loading filter module (0) /home/hoffmann/tctest//lib/transcode/filter_dnr.so [transcode] loading filter module (1) /home/hoffmann/tctest//lib/transcode/filter_resample.so Filter[0].name (dnr) instance # (0) Filter[1].name (resample) instance # (0) Filter[2].name (-) instance # (0) Filter[3].name (-) instance # (0) Filter[4].name (-) instance # (0) Filter[5].name (-) instance # (0) Filter[6].name (-) instance # (0) Filter[7].name (-) instance # (0) Filter[8].name (-) instance # (0) Filter[9].name (-) instance # (0) Filter[10].name (-) instance # (0) Filter[11].name (-) instance # (0) Filter[12].name (-) instance # (0) Filter[13].name (-) instance # (0) Filter[14].name (-) instance # (0) Filter[15].name (-) instance # (0) (filter.c) successfully loaded 2 filter plugin(s) [filter_resample.so] bufsize : 7696, bytes : 4, bytesfreq/fps: 7680, rest 0 [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.25.0 | (audio) MPEG/AC3/PCM (encoder.c) audio capability flag 0x21f | 0x1 (encoder.c) video capability flag 0x21f | 0x2 [import_nuv.so] effdsp=44100 0 (decoder.c) audio thread id=65541 (decoder.c) video thread id=81926 [export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video). [export_ffmpeg.so]: INFO: Selected dvd profile, pal/secam video type for video [export_ffmpeg.so]: INFO: Set frame rate to 25 [export_ffmpeg.so]: INFO: Set GOP size to 15 [export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg' [export_ffmpeg.so] found. Default settings will be used instead. [export_ffmpeg.so] Using the following FFMPEG parameters: vratetol = 8000 vhq = 0 mbd = 0 v4mv = 0 vme = 4 mbqmin = 2 mbqmax = 31 lmin = 0.000000 lmax = 0.000000 vqdiff = 3 vqcomp = 0.500000 vqblur = 0.500000 vb_qfactor = 1.250000 vmax_b_frames = 0 vrc_strategy = 2 vb_strategy = 0 vb_qoffset = 1.250000 vlelim = 0 vcelim = 0 vpsize = 0 vstrict = 0 vdpart = 0 gray = 0 mpeg_quant = 0 vi_qfactor = 0.800000 vi_qoffset = 0.000000 vqsquish = 1.000000 vqmod_amp = 0.000000 vqmod_freq = 0 vrc_eq = tex^qComp #vrc_override = vrc_maxrate = 9000 vrc_minrate = 0 vrc_buf_size = 1792 vrc_buf_aggressivity = 99.000000 vrc_init_cplx = 0.000000 vfdct = 0 lumi_mask = 0.000000 tcplx_mask = 0.000000 scplx_mask = 0.000000 p_mask = 0.000000 naq = 0 dark_mask = 0.000000 idct = 0 pred = 0 format = YV12 debug = 0 psnr = 0 precmp = 0 cmp = 0 subcmp = 0 mbcmp = 0 ildctcmp = 8 predia = 0 dia = 0 qpel = 0 trell = 0 last_pred = 0 preme = 1 subq = 8 me_range = 0 aic = 0 umv = 0 ibias = 999999 pbias = 999999 coder = 0 context = 0 #intra_matrix = #inter_matrix = cbp = 0 mv0 = 0 nr = 0 qprd = 0 threads = 1 ss = 0 svcd_sof = 0 alt = 0 ilme = 0 inter_threshold = 0 sc_threshold = 0 top = -1 gmc = 0 trunc = 0 closedgop = 0 intra_dc_precision = 0 skip_top = 0 skip_bottom = 0 fps_code = 0 [export_ffmpeg.so]: INFO: Starting 1 thread(s) [export_ffmpeg.so]: INFO: Display aspect ratio calculated as 1.333333 [export_ffmpeg.so]: INFO: Sample aspect ratio calculated as 1.066667 [mpeg2video @ 0x42b668a0]removing common factors from framerate Cannot access memory at address 0xcdf4c86f Cannot access memory at address 0xcdf4c86f
(gdb) run -i v1.nuv -x nuv -y ffmpeg -F mpeg2video -b 160 -o v2 -m v2.ac3 --expo rt_prof dvd-pal --encode_fields t -E 48000 --pre_clip 0 --export_asr 2 -J dnr -w 8000 -J resample -q 2 Starting program: /home/hoffmann/tctest/bin/transcode -i v1.nuv -x nuv -y ffmpeg -F mpeg2video -b 160 -o v2 -m v2.ac3 --export_prof dvd-pal --encode_fields t -E 48000 --pre_clip 0 --export_asr 2 -J dnr -w 8000 -J resample -q 2 [New Thread 16384 (LWP 16733)] [New Thread 32769 (LWP 16734)] [New Thread 16386 (LWP 16735)] [New Thread 32771 (LWP 16737)] [New Thread 49156 (LWP 16738)] [New Thread 65541 (LWP 16739)] [New Thread 81926 (LWP 16740)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 65541 (LWP 16739)] 0x4012fb3e in memcpy () from /lib/libc.so.6 (gdb) where #0 0x4012fb3e in memcpy () from /lib/libc.so.6 #1 0x00000020 in ?? () #2 0xe66bd83a in ?? () (gdb) bt full #0 0x4012fb3e in memcpy () from /lib/libc.so.6 No symbol table info available. #1 0x00000020 in ?? () No symbol table info available. #2 0xe66bd83a in ?? () No symbol table info available. (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x4012fb1e to 0x4012fb5e: 0x4012fb1e <memccpy+62>: nop 0x4012fb1f <memccpy+63>: nop 0x4012fb20 <memcpy>: push %edi 0x4012fb21 <memcpy+1>: push %esi 0x4012fb22 <memcpy+2>: mov 0xc(%esp,1),%edi 0x4012fb26 <memcpy+6>: mov 0x10(%esp,1),%esi 0x4012fb2a <memcpy+10>: mov 0x14(%esp,1),%ecx 0x4012fb2e <memcpy+14>: mov %edi,%eax 0x4012fb30 <memcpy+16>: cld 0x4012fb31 <memcpy+17>: cmp $0x20,%ecx 0x4012fb34 <memcpy+20>: jbe 0x4012fb8c <memcpy+108> 0x4012fb36 <memcpy+22>: neg %eax 0x4012fb38 <memcpy+24>: and $0x3,%eax 0x4012fb3b <memcpy+27>: sub %eax,%ecx 0x4012fb3d <memcpy+29>: xchg %eax,%ecx 0x4012fb3e <memcpy+30>: repz movsb %ds:(%esi),%es:(%edi) 0x4012fb40 <memcpy+32>: mov %eax,%ecx 0x4012fb42 <memcpy+34>: sub $0x20,%ecx 0x4012fb45 <memcpy+37>: js 0x4012fb85 <memcpy+101> 0x4012fb47 <memcpy+39>: mov (%edi),%eax 0x4012fb49 <memcpy+41>: mov 0x1c(%edi),%edx 0x4012fb4c <memcpy+44>: sub $0x20,%ecx 0x4012fb4f <memcpy+47>: mov (%esi),%eax 0x4012fb51 <memcpy+49>: mov 0x4(%esi),%edx 0x4012fb54 <memcpy+52>: mov %eax,(%edi) 0x4012fb56 <memcpy+54>: mov %edx,0x4(%edi) 0x4012fb59 <memcpy+57>: mov 0x8(%esi),%eax 0x4012fb5c <memcpy+60>: mov 0xc(%esi),%edx End of assembler dump. (gdb) thread apply all bt Thread 7 (Thread 81926 (LWP 16740)): #0 0x0807eeb5 in sse.memcpy_bp () at tcmemcpy.c:147 #1 0x422da64c in import_nuv_decode (param=0xbefffa9c, vob=0x80aef10) at import_nuv.c:133 #2 0x422da3a7 in tc_import (opt=22, para1=0xbefffa9c, para2=0x80aef10) at ../../import/import_def.h:93 #3 0x0805efdc in tcv_import (opt=22, para1=0xbefffa9c, para2=0x80aef10) at dl_loader.c:104 #4 0x0805cee1 in vimport_thread (vob=0x80aef10) at decoder.c:563 #5 0x40032c60 in pthread_start_thread () from /lib/libpthread.so.0 #6 0x40032cdf in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 6 (Thread 65541 (LWP 16739)): #0 0x4012fb3e in memcpy () from /lib/libc.so.6 #1 0x00000020 in ?? () #2 0xe66bd83a in ?? ()
==17245== Memcheck, a memory error detector. ==17245== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==17245== Using LibVEX rev 1367, a library for dynamic binary translation. ==17245== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==17245== Using valgrind-3.0.1, a dynamic binary instrumentation framework. ==17245== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==17245== For more details, rerun with: -v ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x1B921A69: pthread_create@@GLIBC_2.1 (in /lib/libpthread.so.0) ==17245== by 0x8051D9B: main (transcode.c:1032) ==17245== Address 0x52BFAE70 is on thread 1's stack ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x8051D9B: main (transcode.c:1032) ==17245== Address 0x52BFAF6C is on thread 1's stack transcode v1.0.3rc0 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg [tcprobe] NuppelVideo stream ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x8057130: main (transcode.c:3026) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x805715F: main (transcode.c:3026) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9EA1A2: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Use of uninitialised value of size 4 ==17245== at 0x1B9EBA77: _itoa_word (in /lib/libc.so.6) ==17245== by 0x1B9E9FE8: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9EBA81: _itoa_word (in /lib/libc.so.6) ==17245== by 0x1B9E9FE8: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9E8AAE: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9E8B0F: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9E9EB3: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x805723D: main (transcode.c:3032) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x806113B: tc_adjust_frame_buffer (video_buffer.c:765) ==17245== by 0x805725E: main (transcode.c:3038) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x8058F74: main (transcode.c:3501) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x8058FAF: main (transcode.c:3506) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x8058FD0: main (transcode.c:3508) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x8058FE7: main (transcode.c:3508) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9EC597: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9EE559: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ECFB6: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ECFF7: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ECFFE: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED017: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED01C: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED025: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED039: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED86F: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9ED853: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9EDD21: __printf_fp (in /lib/libc.so.6) ==17245== by 0x1B9E90F0: vfprintf (in /lib/libc.so.6) ==17245== by 0x1B9F1BBF: printf (in /lib/libc.so.6) ==17245== by 0x8059029: main (transcode.c:3513) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x805953D: main (transcode.c:3605) tc_memcpy: using sse for memcpy [import_nuv.so] v0.1.2 (2002-08-01) (video) YUV | (audio) PCM Audio capability flag 0x9 | 0x1 Video capability flag 0x9 | 0x2 (filter.c) dnr,resample [transcode] loading filter module (0) /home/hoffmann/tctest//lib/transcode/filter_dnr.so [transcode] loading filter module (1) /home/hoffmann/tctest//lib/transcode/filter_resample.so Filter[0].name (dnr) instance # (0) Filter[1].name (resample) instance # (0) Filter[2].name (-) instance # (0) Filter[3].name (-) instance # (0) Filter[4].name (-) instance # (0) Filter[5].name (-) instance # (0) Filter[6].name (-) instance # (0) Filter[7].name (-) instance # (0) Filter[8].name (-) instance # (0) Filter[9].name (-) instance # (0) Filter[10].name (-) instance # (0) Filter[11].name (-) instance # (0) Filter[12].name (-) instance # (0) Filter[13].name (-) instance # (0) Filter[14].name (-) instance # (0) Filter[15].name (-) instance # (0) (filter.c) successfully loaded 2 filter plugin(s) ==17245== ==17245== Conditional jump or move depends on uninitialised value(s) ==17245== at 0x1B9043EE: dnr_init (filter_dnr.c:397) ==17245== by 0x1B90495F: tc_filter (filter_dnr.c:516) ==17245== by 0x806EE66: filter_single_init (filter.c:212) ==17245== by 0x806FB1C: filter_init (filter.c:598) ==17245== by 0x8051043: transcoder (transcode.c:552) ==17245== by 0x805AB9F: main (transcode.c:3967) [filter_resample.so] bufsize : 7696, bytes : 4, bytesfreq/fps: 7680, rest 0 [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.25.0 | (audio) MPEG/AC3/PCM (encoder.c) audio capability flag 0x21f | 0x1 (encoder.c) video capability flag 0x21f | 0x2 ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x805F480: frame_threads_init (frame_threads.c:101) ==17245== by 0x805ABD0: main (transcode.c:3970) ==17245== Address 0x52BFAF4C is on thread 1's stack ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x805F508: frame_threads_init (frame_threads.c:120) ==17245== by 0x805ABD0: main (transcode.c:3970) ==17245== Address 0x52BFAF4C is on thread 1's stack [import_nuv.so] effdsp=44100 0 ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x805C6BF: import_threads_create (decoder.c:173) ==17245== by 0x805AC4B: main (transcode.c:3996) ==17245== Address 0x52BFAF4C is on thread 1's stack (decoder.c) audio thread id=65544 ==17245== ==17245== Syscall param write(buf) points to uninitialised byte(s) ==17245== at 0x1B925A9B: write (in /lib/libpthread.so.0) ==17245== by 0x805C6EF: import_threads_create (decoder.c:178) ==17245== by 0x805AC4B: main (transcode.c:3996) ==17245== Address 0x52BFAF4C is on thread 1's stack (decoder.c) video thread id=81930 [export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video). ==17252== ==17252== Thread 7: ==17252== Conditional jump or move depends on uninitialised value(s) ==17252== at 0x8061ED5: preprocess_yuv_frame (frame_preprocess.c:72) ==17252== by 0x806229D: preprocess_vid_frame (frame_preprocess.c:200) ==17252== by 0x805CFB9: vimport_thread (decoder.c:602) ==17252== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17252== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17252== ==17252== Conditional jump or move depends on uninitialised value(s) ==17252== at 0x8061EE1: preprocess_yuv_frame (frame_preprocess.c:72) ==17252== by 0x806229D: preprocess_vid_frame (frame_preprocess.c:200) ==17252== by 0x805CFB9: vimport_thread (decoder.c:602) ==17252== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17252== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Thread 4: ==17249== Conditional jump or move depends on uninitialised value(s) ==17249== at 0x807EE55: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Conditional jump or move depends on uninitialised value(s) ==17249== at 0x807EE83: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Conditional jump or move depends on uninitialised value(s) ==17249== at 0x807EEBC: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Conditional jump or move depends on uninitialised value(s) ==17249== at 0x807EECB: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Conditional jump or move depends on uninitialised value(s) ==17249== at 0x807EED9: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Use of uninitialised value of size 4 ==17249== at 0x807EEC0: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Use of uninitialised value of size 4 ==17249== at 0x807EEC4: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17249== ==17249== Use of uninitialised value of size 4 ==17249== at 0x807EECB: ac_memcpy_sse (tcmemcpy.c:147) ==17249== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17249== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17249== by 0x806FA21: process_vid_plugins (filter.c:563) ==17249== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17249== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17249== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17251== ==17251== Thread 6: ==17251== Invalid write of size 2 ==17251== at 0x1B9078F1: audio_resample (resample.c:107) ==17251== Address 0x1BB78948 is 0 bytes after a block of size 7696 alloc'd ==17251== at 0x1B8FDA71: malloc (vg_replace_malloc.c:149) ==17251== by 0x1B9071B8: tc_filter (filter_resample.c:82) ==17251== by 0x806EE66: filter_single_init (filter.c:212) ==17251== by 0x806FB1C: filter_init (filter.c:598) ==17251== by 0x8051043: transcoder (transcode.c:552) ==17251== by 0x805AB9F: main (transcode.c:3967) ==17251== ==17251== Invalid write of size 2 ==17251== at 0x1B9078FA: audio_resample (resample.c:108) ==17251== Address 0x1BB7894A is 2 bytes after a block of size 7696 alloc'd ==17251== at 0x1B8FDA71: malloc (vg_replace_malloc.c:149) ==17251== by 0x1B9071B8: tc_filter (filter_resample.c:82) ==17251== by 0x806EE66: filter_single_init (filter.c:212) ==17251== by 0x806FB1C: filter_init (filter.c:598) ==17251== by 0x8051043: transcoder (transcode.c:552) ==17251== by 0x805AB9F: main (transcode.c:3967) ==17251== ==17251== Invalid read of size 4 ==17251== at 0x807EE8D: ac_memcpy_sse (tcmemcpy.c:147) ==17251== by 0x1B907568: tc_filter (filter_resample.c:155) ==17251== by 0x806F977: process_aud_plugins (filter.c:541) ==17251== by 0x805D4E0: aimport_thread (decoder.c:832) ==17251== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17251== by 0x1BA7FB76: clone (in /lib/libc.so.6) ==17251== Address 0x1BB78948 is 0 bytes after a block of size 7696 alloc'd ==17251== at 0x1B8FDA71: malloc (vg_replace_malloc.c:149) ==17251== by 0x1B9071B8: tc_filter (filter_resample.c:82) ==17251== by 0x806EE66: filter_single_init (filter.c:212) ==17251== by 0x806FB1C: filter_init (filter.c:598) ==17251== by 0x8051043: transcoder (transcode.c:552) ==17251== by 0x805AB9F: main (transcode.c:3967) --17245-- INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting --17245-- si_code=1; Faulting address: 0xFE850263; sp: 0xB0B2FDAC valgrind: the 'impossible' happened: Killed by fatal signal ==17245== at 0xB00201FD: mkFreeBlock (m_mallocfree.c:177) ==17245== by 0xB0020B1A: vgPlain_arena_malloc (m_mallocfree.c:249) ==17245== by 0xB002145E: vgPlain_arena_memalign (m_mallocfree.c:1151) ==17245== by 0xB0013431: vgPlain_cli_malloc (replacemalloc_core.c:103) ==17245== by 0xB1271E8E: ??? ==17245== by 0xB0041DAF: do_client_request (scheduler.c:926) ==17245== by 0xB00417D7: vgPlain_scheduler (scheduler.c:684) ==17245== by 0xB0062925: vgModuleLocal_thread_wrapper (syswrap-linux.c:80) ==17245== by 0xB005D4EC: run_a_thread_NORETURN (syswrap-x86-linux.c:150) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==17245== at 0x1B8FF00D: memalign (vg_replace_malloc.c:332) ==17245== by 0x1E84FF2B: av_malloc (mem.c:66) ==17245== by 0x1E5778CF: tc_export (export_def.h:97) ==17245== by 0x805EEC1: tcv_export (dl_loader.c:66) ==17245== by 0x805DE65: encoder_init (encoder.c:318) ==17245== by 0x805AC63: main (transcode.c:3999) Thread 2: status = VgTs_WaitSys ==17245== at 0x1BA775E7: poll (in /lib/libc.so.6) ==17245== by 0x1B91F96D: __pthread_manager (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Thread 3: status = VgTs_WaitSys ==17245== at 0x1B9C7768: sigsuspend (in /lib/libc.so.6) ==17245== by 0x1B9227D9: sigwait (in /lib/libpthread.so.0) ==17245== by 0x8050E79: signal_thread (transcode.c:489) ==17245== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Thread 4: status = VgTs_Runnable ==17245== at 0x807EEC0: ac_memcpy_sse (tcmemcpy.c:147) ==17245== by 0x1B903B30: dnr_run (filter_dnr.c:85) ==17245== by 0x1B904D53: tc_filter (filter_dnr.c:618) ==17245== by 0x806FA21: process_vid_plugins (filter.c:563) ==17245== by 0x805FB0D: process_vframe (frame_threads.c:417) ==17245== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Thread 5: status = VgTs_Runnable ==17245== at 0x1B9C7768: sigsuspend (in /lib/libc.so.6) ==17245== by 0x1B922197: __pthread_wait_for_restart_signal (in /lib/libpthread.so.0) ==17245== by 0x1B91ED4D: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread.so.0) ==17245== by 0x805FC44: process_aframe (frame_threads.c:458) ==17245== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Thread 6: status = VgTs_Runnable ==17245== at 0x1B925B1B: read (in /lib/libpthread.so.0) ==17245== by 0x1E0AD6A6: import_nuv_decode (import_nuv.c:146) ==17245== by 0x1E0AD3A6: tc_import (../../import/import_def.h:93) ==17245== by 0x805F06D: tca_import (dl_loader.c:122) ==17245== by 0x805D3B9: aimport_thread (decoder.c:786) ==17245== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Thread 7: status = VgTs_Runnable ==17245== at 0x1B925B1B: read (in /lib/libpthread.so.0) ==17245== by 0x1E0AD5A2: import_nuv_decode (import_nuv.c:118) ==17245== by 0x1E0AD3A6: tc_import (../../import/import_def.h:93) ==17245== by 0x805EFDB: tcv_import (dl_loader.c:104) ==17245== by 0x805CEE0: vimport_thread (decoder.c:563) ==17245== by 0x1B91FC5F: pthread_start_thread (in /lib/libpthread.so.0) ==17245== by 0x1BA7FB76: clone (in /lib/libc.so.6) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks.