[Libav-user] segfault at avcodec_encode_audio2 when

Yuri Oleynikov (יורי אולייניקוב yurkao at gmail.com
Tue Feb 11 22:33:25 CET 2014


The backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x7692a06e in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
(gdb) bt
#0  0x7692a06e in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
#1  0x7692a00b in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
#2  0x5d282c0f in avcodec-55!av_parser_close ()
   from C:\Users\devel\Documents\Visual Studio
2010\Projects\avconv\Debug\avcode
c-55.dll
#3  0x00168940 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


(gdb) info locals
No symbol table info available.
(gdb) info args
No symbol table info available.
(gdb) info registers
eax            0x4d75a0 5076384
ecx            0x17     23
edx            0x0      0
ebx            0x4d8940 5081408
esp            0x39eb90 0x39eb90
ebp            0x39eb98 0x39eb98
esi            0x4d8fc0 5083072
edi            0x4d7c20 5078048
eip            0x7692a06e       0x7692a06e <msvcrt!memmove+532>
eflags         0x10206  [ PF IF RF ]
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x53     83
gs             0x2b     43




2014-02-11 15:47 GMT+02:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> Yuri Oleynikov (יורי אולייניקוב <yurkao at ...> writes:
>
> > i have troubles re-encoding audio file (with re-sampling)
> > with ffmpeg libs on windows. my application takes MP3 file
> > and converts it to WAV+PCM.
> >
> > Everything goes fine when re-encoding input file once. but
> > if i re-encode the file in infinite loop - it somewhen
> > crashes on avcodec_encode_audio2.
>
> Backtrace etc. missing, see http://ffmpeg.org/bugreports.html
>
> I also suggest recompilation with
> "./configure && make ffmpeg.exe" to rule out funny problems
> with external libraries.
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140211/977cbbb2/attachment.html>


More information about the Libav-user mailing list