Opened 12 years ago

Closed 12 years ago

#1141 closed defect (worksforme)

MXF - Segmentation fault (at one machine, not in other... version problem?)

Reported by: Iban Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Well... it is a bit strange... In a machine I get "segmentation fault" and in another different machine I don't get it.

# ffmpeg -i input.MXF
ffmpeg version N-39247-g6809818 Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 28 2012 11:41:42 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --shlibdir=/usr/lib64 --prefix=/usr/local --mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads --enable-shared --enable-libvorbis --enable-gpl --enable-x11grab --enable-libx264 --enable-libmp3lame --enable-nonfree --enable-postproc --enable-debug=3 --disable-optimizations --disable-mmx
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.102 / 2. 65.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100

Segmentation fault

# ffmpeg -i imput.MXF
ffmpeg version 0.9.0.git, Copyright (c) 2000-2012 the FFmpeg developers

built on Jan 5 2012 12:22:34 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --shlibdir=/usr/lib64 --prefix=/usr/local --mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads --enable-shared --enable-libvorbis --enable-libfaac --enable-gpl --enable-x11grab --enable-libx264 --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-nonfree --enable-postproc --enable-pthreads
libavutil 51. 33.100 / 51. 33.100
libavcodec 53. 50.100 / 53. 50.100
libavformat 53. 29.100 / 53. 29.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 57.101 / 2. 57.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100

Input #0, mxf, from 'input.MXF':

Duration: 00:00:35.00, start: 0.000000, bitrate: 117557 kb/s

Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn, 100 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Stream #0:4: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s

gdb ffmpeg
GNU gdb (GDB) SUSE (7.2-3.3)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/ffmpeg...(no debugging symbols found)...done.
(gdb) r -i /net/online/satabio/HD_FROGAK/AC100/remen2.MXF
Starting program: /usr/local/bin/ffmpeg -i /net/online/satabio/HD_FROGAK/AC100/remen2.MXF
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=5ac64cd348d3581ec2a223ee70f42e73cad029cc"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C "debuginfo(build-id)=3bc046d7ea5494d8770309240eeb198e9ec76d19"
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C "debuginfo(build-id)=113ba00ae2c1794de40dbd41b41133e6152f7956"
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C "debuginfo(build-id)=638ec0c11b4dbb04c5fa510b99372762bed50099"
Missing separate debuginfo for /usr/lib64/libasound.so.2
Try: zypper install -C "debuginfo(build-id)=dec8ee51dcf3a2a1d6d6ef8b8058a1b6c3d7afee"
Missing separate debuginfo for /usr/lib64/libSDL-1.2.so.0
Try: zypper install -C "debuginfo(build-id)=88eae1fab5a0fefddd28dc9d15df099133a2b615"
Missing separate debuginfo for /lib64/libbz2.so.1
Try: zypper install -C "debuginfo(build-id)=d374c7b1e1ce607d693f0e62e2c7ea4f2352d799"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C "debuginfo(build-id)=61e4e9a46287c10135232e8a269575a1ceda7638"
Missing separate debuginfo for /usr/lib64/libvorbisenc.so.2
Try: zypper install -C "debuginfo(build-id)=66a62829bda9d222f56e78c710baf900bf6d9def"
Missing separate debuginfo for /usr/lib64/libvorbis.so.0
Try: zypper install -C "debuginfo(build-id)=c5a785926d5cb3f7f65a257fe2eedd7b5e3a1b42"
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C "debuginfo(build-id)=0b8f337f2a376dd55d362fe232f2e624de3c7537"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=9a8d0811525ec7a152dca9e109292adca81857c1"
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C "debuginfo(build-id)=e3e6773e84151cf7b70051b1e22f0254ede44f08"
Missing separate debuginfo for /usr/lib64/libogg.so.0
Try: zypper install -C "debuginfo(build-id)=98c7d64ad387ca66abcab0e63d328c2a0de7fc06"
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C "debuginfo(build-id)=52b8895380f152bf00f1ffa86e3e76a882cce61d"
ffmpeg version N-39247-g6809818 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 28 2012 11:41:42 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr/local --mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads --enable-shared --enable-libvorbis --enable-gpl --enable-x11grab --enable-libx264 --enable-libmp3lame --enable-nonfree --enable-postproc --enable-debug=3 --disable-optimizations --disable-mmx
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.102 /  2. 65.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff5d9f9cf in av_log_format_line () from /usr/lib64/libavutil.so.51
#2  0x00007ffff5d9fb0a in av_log_default_callback () from /usr/lib64/libavutil.so.51
#3  0x00007ffff5d9fdc8 in av_vlog () from /usr/lib64/libavutil.so.51
#4  0x00007ffff5d9fd88 in av_log () from /usr/lib64/libavutil.so.51
#5  0x00007ffff5dab8ec in ?? () from /usr/lib64/libavutil.so.51
#6  0x00007ffff5dab9af in av_timecode_init () from /usr/lib64/libavutil.so.51
#7  0x00007ffff75d6587 in ?? () from /usr/lib64/libavformat.so.54
#8  0x00007ffff75d7d51 in ?? () from /usr/lib64/libavformat.so.54
#9  0x00007ffff7652e97 in avformat_open_input () from /usr/lib64/libavformat.so.54
#10 0x0000000000412f4e in ?? ()
#11 0x0000000000419792 in ?? ()
#12 0x00000000004198eb in ?? ()
#13 0x00000000004189f7 in ?? ()
#14 0x00007ffff55cbbfd in __libc_start_main () from /lib64/libc.so.6
#15 0x00000000004062c9 in ?? ()
#16 0x00007fffffffe1b8 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000003 in ?? ()
#19 0x00007fffffffe56c in ?? ()
#20 0x00007fffffffe582 in ?? ()
#21 0x00007fffffffe585 in ?? ()
#22 0x0000000000000000 in ?? ()
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xffffffffffffffe0 to 0x20:
End of assembler dump.
(gdb) info all-registers
rax            0x62d8c0 6478016
rbx            0x10     16
rcx            0x7fffffffd950   140737488345424
rdx            0x0      0
rsi            0x10     16
rdi            0x62d8c0 6478016
rbp            0x7fffffffd490   0x7fffffffd490
rsp            0x7fffffffd438   0x7fffffffd438
r8             0x7fffffffd4d0   140737488344272
r9             0x400    1024
r10            0x7fffffffd850   140737488345168
r11            0x7ffff562d1d2   140737310282194
r12            0x4062a0 4219552
r13            0x7fffffffe1c0   140737488347584
r14            0x0      0
r15            0x0      0
rip            0x0      0
eflags         0x10246  [ PF ZF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {v4_float = {0xd, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xd4, 0x17, 0x5d, 0x41, 0x4c, 0x5d, 0x4c, 0x1d, 0x9a, 0x62, 0xbc, 0x97, 0x92, 0x43, 0x9c, 0xb3}, v8_int16 = {0x17d4, 0x415d, 0x5d4c, 0x1d4c, 0x629a,
    0x97bc, 0x4392, 0xb39c}, v4_int32 = {0x415d17d4, 0x1d4c5d4c, 0x97bc629a, 0xb39c4392}, v2_int64 = {0x1d4c5d4c415d17d4, 0xb39c439297bc629a}, uint128 = 0xb39c439297bc629a1d4c5d4c415d17d4}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0xff, 0x0 <repeats 12 times>}, v8_int16 = {0x0, 0xff00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xff000000, 0x0, 0x0, 0x0},
  v2_int64 = {0xff000000, 0x0}, uint128 = 0x000000000000000000000000ff000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0xff, 0x0 <repeats 12 times>, 0xff, 0x0}, v8_int16 = {0xff00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff}, v4_int32 = {0xff00, 0x0, 0x0, 0xff0000},
  v2_int64 = {0xff00, 0xff000000000000}, uint128 = 0x00ff000000000000000000000000ff00}
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}
xmm8           {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}
xmm9           {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}
xmm10          {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}
xmm11          {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}
xmm12          {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}
xmm13          {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}
xmm14          {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}
xmm15          {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 ]

Change History (7)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegundetermined
Resolution: needs_more_info
Status: newclosed

Please reopen the ticket if you can provide a sample.

comment:2 by Iban, 12 years ago

FILE SAMPLE: http://www.sendspace.com/file/944svt
It has been compressed. Inside sample.rar there is one "MXF" file.

comment:3 by Iban, 12 years ago

Resolution: needs_more_info
Status: closedreopened

comment:4 by Carl Eugen Hoyos, 12 years ago

Unfortunately, I am unable to reproduce a crash with the sample you provided. Could you recompile with "./configure && make" (or at least without --enable-shared) to get a more useful backtrace?

comment:5 by Carl Eugen Hoyos, 12 years ago

$ ffmpeg -i sample.mxf
ffmpeg version N-39360-g7a5e587 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 28 2012 19:26:33 with gcc 4.3.2
  configuration: --enable-debug=3 --disable-optimizations --disable-mmx --enable-gpl --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-shared
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.100 /  2. 66.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[mxf @ 0x8071aa0] Timecode frame rate not supported
[mxf @ 0x8071aa0] could not resolve sub descriptor strong ref
[mxf @ 0x8071aa0] source track 6: stream 4, no descriptor found
[mxf @ 0x8071aa0] could not resolve sub descriptor strong ref
Input #0, mxf, from 'sample.mxf':
  Duration: 00:00:25.24, start: 0.000000, bitrate: 120863 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:4: Data: none
    Stream #0:5: Video: h264 (High 4:2:2 Intra), yuv422p10le, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn, 100 tbc
At least one output file must be specified

comment:6 by Iban, 12 years ago

Well... very good news...
I have downloaded the snapshot and re-installed again.
"Segmentation Fault" message dissapeared!!!
Many Thanks cehoyos

ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 28 2012 18:51:09 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --shlibdir=/usr/lib64 --prefix=/usr/local --mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads --enable-shared --enable-libvorbis --enable-gpl --enable-x11grab --enable-libx264 --enable-libmp3lame --enable-postproc
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.100 / 2. 66.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100

Last edited 12 years ago by Iban (previous) (diff)

comment:7 by Carl Eugen Hoyos, 12 years ago

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.