[MPlayer-users] Segmentation fault in pre5

Stefan Sassenberg stefan.sassenberg at gmx.de
Mon Oct 18 22:47:18 CEST 2004


On Sat, Oct 16, 2004 at 01:19:38AM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Friday, 15 October 2004 at 22:52, Stefan Sassenberg wrote:
> > Hello,
> > 
> > I frequently have segmentation faults when mencoding a movie.
> > Unfortunately this happens at different positions. I can provide some
> > information about this problem. I should add that I had other problems
> > of similar kind that I only solved by rebuilding mencoder with
> > ./configure --disable-mmx2 which I'm currently using.
> [...]
> > MEncoder 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
> [...]
> > I hope you can find a reason for the segfault. If you need more information
> > please tell me what to do. Although I still hope to reencode the file
> > completely by chance I think I can reproduce the error.
> 
> Upgrade to latest CVS and retry. If it's still there, try to isolate
> the SEGV to a small fragment of your source material and upload it
> to mphq along with description in .txt. If you can't just submit
> full bugreport with gdb dump, similar to this one.
> 
> R.
> 
Hello,

the next run was much quicker at the end.

Regards

Stefan


Pos: 579.8s  14497f ( 6%)  21fps Trem: 161min 1468mb  A-V:0.076 [1255:127] A/Vms 1/43 D/B/S 1/3/1 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2257)]
0xcc187d92 in ?? ()
(gdb) bt
#0  0xcc187d92 in ?? ()
#1  0x000002f0 in ?? ()
#2  0x411b2dd0 in ?? ()
#3  0xbfffdc38 in ?? ()
#4  0x08215b34 in sad_hpel_motion_search (s=0x0, mx_ptr=0x411b2dd0, 
    my_ptr=0x410c3dbf, dmin=752, src_index=-3008, ref_index=1091328047, 
    size=752, h=1091327279) at motion_est.c:635
Previous frame identical to this frame (corrupt stack?)
(gdb) info all-registers
eax            0xfffff440       -3008
ecx            0x410c582f       1091328047
edx            0x410c553f       1091327295
ebx            0x2f0    752
esp            0xbfffdba0       0xbfffdba0
ebp            0xbfffdba8       0xbfffdba8
esi            0x411b4550       1092306256
edi            0x26c    620
eip            0xcc187d92       0xcc187d92
eflags         0x10282  66178
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x7      7
st0            -nan(0x9b9f9c948c8b8c87) (raw 0xffff9b9f9c948c8b8c87)
st1            -nan(0x9ea0a09a93909498) (raw 0xffff9ea0a09a93909498)
st2            -nan(0x959e9d9488818071) (raw 0xffff959e9d9488818071)
st3            -nan(0x9a9b9f9c948c8b8c) (raw 0xffff9a9b9f9c948c8b8c)
st4            -nan(0x9ea0a09a93909498) (raw 0xffff9ea0a09a93909498)
st5            -nan(0x101010101010101)  (raw 0xffff0101010101010101)
st6            -nan(0x000000173)        (raw 0xffff0000000000000173)
st7            -0e+4922 (raw 0xffff0000000000000000)
fctrl          0x37f    895
fstat          0x32     50
ftag           0xaaaa   43690
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {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}
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 = {
    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}
xmm3           {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}
xmm4           {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}
xmm5           {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}
xmm6           {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}
xmm7           {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}
mxcsr          0x1f80   8064
mm0            {uint64 = 0x9b9f9c948c8b8c87, v2_int32 = {0x8c8b8c87, 
    0x9b9f9c94}, v4_int16 = {0x8c87, 0x8c8b, 0x9c94, 0x9b9f}, v8_int8 = {0x87, 
    0x8c, 0x8b, 0x8c, 0x94, 0x9c, 0x9f, 0x9b}}
mm1            {uint64 = 0x9ea0a09a93909498, v2_int32 = {0x93909498, 
    0x9ea0a09a}, v4_int16 = {0x9498, 0x9390, 0xa09a, 0x9ea0}, v8_int8 = {0x98, 
    0x94, 0x90, 0x93, 0x9a, 0xa0, 0xa0, 0x9e}}
mm2            {uint64 = 0x959e9d9488818071, v2_int32 = {0x88818071, 
    0x959e9d94}, v4_int16 = {0x8071, 0x8881, 0x9d94, 0x959e}, v8_int8 = {0x71, 
    0x80, 0x81, 0x88, 0x94, 0x9d, 0x9e, 0x95}}
mm3            {uint64 = 0x9a9b9f9c948c8b8c, v2_int32 = {0x948c8b8c, 
    0x9a9b9f9c}, v4_int16 = {0x8b8c, 0x948c, 0x9f9c, 0x9a9b}, v8_int8 = {0x8c, 
    0x8b, 0x8c, 0x94, 0x9c, 0x9f, 0x9b, 0x9a}}
mm4            {uint64 = 0x9ea0a09a93909498, v2_int32 = {0x93909498, 
    0x9ea0a09a}, v4_int16 = {0x9498, 0x9390, 0xa09a, 0x9ea0}, v8_int8 = {0x98, 
    0x94, 0x90, 0x93, 0x9a, 0xa0, 0xa0, 0x9e}}
mm5            {uint64 = 0x101010101010101, v2_int32 = {0x1010101, 0x1010101}, 
  v4_int16 = {0x101, 0x101, 0x101, 0x101}, v8_int8 = {0x1, 0x1, 0x1, 0x1, 0x1, 
    0x1, 0x1, 0x1}}
mm6            {uint64 = 0x173, v2_int32 = {0x173, 0x0}, v4_int16 = {0x173, 
    0x0, 0x0, 0x0}, v8_int8 = {0x73, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
ds9:~ # cat /proc/2257/maps
08048000-083e2000 r-xp 00000000 03:03 247137     /usr/local/bin/mencoder-cvs-041016
083e2000-08435000 rw-p 00399000 03:03 247137     /usr/local/bin/mencoder-cvs-041016
08435000-086a2000 rwxp 00000000 00:00 0
40000000-40018000 r-xp 00000000 03:42 6843       /lib/ld-2.3.2.so
40018000-40019000 rw-p 00017000 03:42 6843       /lib/ld-2.3.2.so
40019000-4001d000 rw-p 00000000 00:00 0
4002b000-40078000 r-xp 00000000 03:03 37312      /usr/local/lib/libmp3lame.so.0.0.0
40078000-4007d000 rw-p 0004c000 03:03 37312      /usr/local/lib/libmp3lame.so.0.0.0
4007d000-400d9000 rw-p 00000000 00:00 0
400d9000-400f2000 r-xp 00000000 03:03 26365      /usr/lib/libdv.so.2.1.0
400f2000-400f4000 rw-p 00019000 03:03 26365      /usr/lib/libdv.so.2.1.0
400f4000-40102000 rw-p 00000000 00:00 0
40102000-4012f000 r-xp 00000000 03:03 31764      /usr/lib/libpng.so.3.1.2.5
4012f000-40130000 rw-p 0002d000 03:03 31764      /usr/lib/libpng.so.3.1.2.5
40130000-4013d000 r-xp 00000000 03:42 4799       /lib/libz.so.1.1.4
4013d000-4013f000 rw-p 0000d000 03:42 4799       /lib/libz.so.1.1.4
4013f000-40140000 rw-p 00000000 00:00 0
40140000-4015f000 r-xp 00000000 03:03 28739      /usr/lib/libjpeg.so.62.0.0
4015f000-40160000 rw-p 0001e000 03:03 28739      /usr/lib/libjpeg.so.62.0.0
40160000-401b1000 r-xp 00000000 03:03 31644      /usr/lib/libfreetype.so.6.3.3
401b1000-401b5000 rw-p 00050000 03:03 31644      /usr/lib/libfreetype.so.6.3.3
401b5000-401b6000 rw-p 00000000 00:00 0
401b6000-401c7000 r-xp 00000000 03:03 26035      /usr/lib/libcdda_interface.so.0.9.8
401c7000-401c8000 rw-p 00011000 03:03 26035      /usr/lib/libcdda_interface.so.0.9.8
401c8000-401cf000 r-xp 00000000 03:03 21166      /usr/lib/libcdda_paranoia.so.0.9.8
401cf000-401d0000 rw-p 00007000 03:03 21166      /usr/lib/libcdda_paranoia.so.0.9.8
401d0000-401e2000 r-xp 00000000 03:42 3829       /lib/libnsl.so.1
401e2000-401e3000 rw-p 00011000 03:42 3829       /lib/libnsl.so.1
401e3000-401e5000 rw-p 00000000 00:00 0
401e5000-401ec000 r-xp 00000000 03:03 25977      /usr/lib/libungif.so.4.1.0
401ec000-401ed000 rw-p 00006000 03:03 25977      /usr/lib/libungif.so.4.1.0
401ed000-401ee000 rw-p 00000000 00:00 0
401ee000-40212000 r-xp 00000000 03:03 26122      /usr/lib/libfontconfig.so.1.0.4
40212000-40215000 rw-p 00023000 03:03 26122      /usr/lib/libfontconfig.so.1.0.4
40215000-40216000 rw-p 00000000 00:00 0
40216000-4021a000 r-xp 00000000 03:03 26317      /usr/lib/liblirc_client.so.0.0.0
4021a000-4021b000 rw-p 00003000 03:03 26317      /usr/lib/liblirc_client.so.0.0.0
4021b000-40229000 r-xp 00000000 03:42 6837       /lib/i686/libpthread.so.0
40229000-4022a000 rw-p 0000d000 03:42 6837       /lib/i686/libpthread.so.0
4022a000-4026c000 rw-p 00000000 00:00 0
4026c000-4026e000 r-xp 00000000 03:42 3825       /lib/libdl.so.2
4026e000-4026f000 rw-p 00002000 03:42 3825       /lib/libdl.so.2
4026f000-40291000 r-xp 00000000 03:42 6810       /lib/i686/libm.so.6
40291000-40292000 rw-p 00021000 03:42 6810       /lib/i686/libm.so.6
40292000-403be000 r-xp 00000000 03:42 6809       /lib/i686/libc.so.6
403be000-403c3000 rw-p 0012c000 03:42 6809       /lib/i686/libc.so.6
403c3000-403c6000 rw-p 00000000 00:00 0
403c6000-403c9000 r-xp 00000000 03:42 4544       /lib/libresmgr.so.0.1
403c9000-403ca000 rw-p 00002000 03:42 4544       /lib/libresmgr.so.0.1
403ca000-404c2000 r-xp 00000000 03:03 7206       /usr/X11R6/lib/libX11.so.6.2
404c2000-404c6000 rw-p 000f8000 03:03 7206       /usr/X11R6/lib/libX11.so.6.2
404c6000-404e3000 r-xp 00000000 03:03 25527      /usr/lib/libexpat.so.0.4.0
404e3000-404e6000 rw-p 0001c000 03:03 25527      /usr/lib/libexpat.so.0.4.0
404e6000-404e7000 rw-p 00000000 00:00 0
404e7000-4051a000 r--p 00000000 03:03 27541      /usr/lib/locale/de_DE at euro/LC_CTYPE
4051a000-4067a000 rw-p 00000000 00:00 0
40691000-4125e000 rw-p 00177000 00:00 0
4128a000-412ea000 rw-p 00d70000 00:00 0
41356000-413ef000 rw-p 00e3c000 00:00 0
4261e000-43265000 rw-p 02104000 00:00 0
bff87000-c0000000 rwxp fff88000 00:00 0




More information about the MPlayer-users mailing list