Opened 13 years ago

Closed 13 years ago

#234 closed defect (needs_more_info)

Segmentation fault when using -ac 2

Reported by: farrelan Owned by: Michael Niedermayer
Priority: normal Component: undetermined
Version: git Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

fmpeg -v 9 -loglevel 99 -i Avatar720p24fps.mp4.t2 -vn -acodec libfaac -ac 2 audio.aac
ffmpeg version git-N-30155-g01a73d6, Copyright (c) 2000-2011 the FFmpeg developers

built on May 23 2011 16:01:29 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --prefix=/usr
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0

[NULL @ 0x9f2fb40] Format aac probed with size=2048 and score=51
[aac @ 0x9f2fb40] max_analyze_duration 5000000 reached at 5013333
[aac @ 0x9f2fb40] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'Avatar720p24fps.mp4.t2':

Duration: 02:57:27.40, bitrate: 408 kb/s

Stream #0.0, 237, 1/28224000: Audio: aac, 48000 Hz, 5.1, s16, 408 kb/s

Output #0, adts, to 'audio.aac':

Metadata:

encoder : Lavf53.2.0
Stream #0.0, 0, 1/90000: Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s

Stream mapping:

Stream #0.0 -> #0.0

Press [q] to stop, ? for help
Segmentation fault

eax 0x8c4 2244
ecx 0x0 0
edx 0xccccd000 -858992640
ebx 0x400 1024
esp 0xbfffdd90 0xbfffdd90
ebp 0x90d8260 0x90d8260
esi 0x14 20
edi 0xfffffff7 -9
eip 0x83d3dc4 0x83d3dc4
eflags 0x210297 [ CF PF AF SF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -inf (raw 0xffff0000000000000000)
st1 -inf (raw 0xffff0000000000000000)
st2 -inf (raw 0xffff0000000000000000)
st3 10.559681232454401822451472980901599 (raw 0x4002a8f4744ed939e000)
st4 3.4566083997797843180997846104207798e-16 (raw 0x3fcbc74289523b832800)
st5 -6.59911632537841796875 (raw 0xc001d32bf60000000000)
st6 48000 (raw 0x400ebb80000000000000)
st7 4112 (raw 0x400b8080000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x83d3019 138227737
foseg 0x7b 123
fooff 0xbfffde50 -1073750448
fop 0x35c 860
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},

uint128 = 0x00000000000000000000000000000000}

mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}}

mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}}

mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}}

mm3 {uint64 = 0xa8f4744ed939e000, v2_int32 = {0xd939e000, 0xa8f4744e}, v4_int16 = {0xe000, 0xd939, 0x744e, 0xa8f4},

v8_int8 = {0x0, 0xe0, 0x39, 0xd9, 0x4e, 0x74, 0xf4, 0xa8}}

mm4 {uint64 = 0xc74289523b832800, v2_int32 = {0x3b832800, 0xc7428952}, v4_int16 = {0x2800, 0x3b83, 0x8952, 0xc742},

v8_int8 = {0x0, 0x28, 0x83, 0x3b, 0x52, 0x89, 0x42, 0xc7}}

mm5 {uint64 = 0xd32bf60000000000, v2_int32 = {0x0, 0xd32bf600}, v4_int16 = {0x0, 0x0, 0xf600, 0xd32b}, v8_int8 = {0x0,

0x0, 0x0, 0x0, 0x0, 0xf6, 0x2b, 0xd3}}

mm6 {uint64 = 0xbb80000000000000, v2_int32 = {0x0, 0xbb800000}, v4_int16 = {0x0, 0x0, 0x0, 0xbb80}, v8_int8 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0xbb}}

mm7 {uint64 = 0x8080000000000000, v2_int32 = {0x0, 0x80800000}, v4_int16 = {0x0, 0x0, 0x0, 0x8080}, v8_int8 = {0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x80}}

Change History (4)

comment:1 by farrelan, 13 years ago

mediainfo Avatar720p24fps.mp4.t2
General
Complete name : Avatar720p24fps.mp4.t2
Format : ADTS
Format/Info : Audio Data Transport Stream
File size : 518 MiB

Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 518 MiB (100%)

comment:2 by farrelan, 13 years ago

write(2, "Press [q] to stop, ? for help\n", 32Press [q] to stop, ? for help
) = 32
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigaction(SIGQUIT, {0x80868b0, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x80868b0, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x80868b0, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0x80868b0, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
gettimeofday({1306187735, 735710}, NULL) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
brk(0xacc6000) = 0xacc6000
brk(0xad34000) = 0xad34000
brk(0xada3000) = 0xada3000
brk(0xae11000) = 0xae11000
brk(0xae7f000) = 0xae7f000
brk(0xaea7000) = 0xaea7000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

comment:3 by Carl Eugen Hoyos, 13 years ago

Component: FFmpegundetermined
Status: newopen

Please test latest git head and please provide a useful back-trace as explained on http://ffmpeg.org/bugreports.html

comment:4 by Michael Niedermayer, 13 years ago

Resolution: needs_more_info
Status: openclosed

We cannot do anything without having the file to reproduce this

Note: See TracTickets for help on using tickets.