[Ffmpeg-devel] Ffplay segfault on Mac OS X

Cyril Zorin cyril.zorin
Thu May 4 00:46:30 CEST 2006


Hi all,

I got the latest cvs snapshot (some hour ago). Running ffplay with  
any media causes it to segfault.

More specifically [deep breath]:

---- gdb start ----

Reading symbols for shared  
libraries .............................................................. 
.................+ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
[Switching to process 7785 thread 0x4307]
QZ_PumpEvents (this=0x2025000) at SDL_QuartzEvents.m:724
724     SDL_QuartzEvents.m: No such file or directory.
         in SDL_QuartzEvents.m
(gdb) bt
#0  QZ_PumpEvents (this=0x2025000) at SDL_QuartzEvents.m:724
#1  0x00c2ed00 in SDL_GobbleEvents (unused=0xe3b550) at SDL_events.c:102
#2  0x00c37afc in SDL_RunThread (data=0xe36fc0) at SDL_thread.c:218
#3  0x00c3776c in RunThread (data=0xe3b550) at SDL_systhread.c:82
#4  0x9002ba68 in _pthread_body ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xc0c848 to 0xc0c888:
0x00c0c848 <QZ_PumpEvents+156>: addis   r2,r31,3
0x00c0c84c <QZ_PumpEvents+160>: mr      r16,r3
0x00c0c850 <QZ_PumpEvents+164>: lwz     r2,31356(r2)
0x00c0c854 <QZ_PumpEvents+168>: lwz     r9,0(r2)
0x00c0c858 <QZ_PumpEvents+172>: addis   r2,r31,3
0x00c0c85c <QZ_PumpEvents+176>: lfd     f12,13812(r2)
0x00c0c860 <QZ_PumpEvents+180>: lwz     r11,300(r9)
0x00c0c864 <QZ_PumpEvents+184>: li      r9,0
0x00c0c868 <QZ_PumpEvents+188>: lwz     r0,8(r11)
0x00c0c86c <QZ_PumpEvents+192>: stw     r10,104(r1)
0x00c0c870 <QZ_PumpEvents+196>: xoris   r0,r0,32768
0x00c0c874 <QZ_PumpEvents+200>: stw     r0,108(r1)
0x00c0c878 <QZ_PumpEvents+204>: lwz     r2,12(r11)
0x00c0c87c <QZ_PumpEvents+208>: stw     r10,112(r1)
0x00c0c880 <QZ_PumpEvents+212>: xoris   r2,r2,32768
0x00c0c884 <QZ_PumpEvents+216>: lfd     f13,104(r1)
End of assembler dump.
(gdb) info all-registers
r0             0xc0c844 12634180
r1             0xf0080bd0       4027059152
r2             0xc3c7b4 12830644
r3             0xe3b550 14923088
r4             0x90a96284       2427019908
r5             0x54     84
r6             0xb6362  746338
r7             0x4459322c       1146696236
r8             0x8df12  581394
r9             0x0      0
r10            0x43300000       1127219200
r11            0x0      0
r12            0x9298bdb0       2459483568
r13            0xe3b5b0 14923184
r14            0x0      0
r15            0x0      0
r16            0xe3b550 14923088
r17            0x0      0
r18            0x0      0
r19            0x0      0
r20            0x0      0
r21            0x0      0
r22            0xc3ec7c 12840060
r23            0x2025000        33705984
r24            0xc441d8 12861912
r25            0xc4420c 12861964
r26            0xc45234 12866100
r27            0x1      1
r28            0x0      0
r29            0xc4c7b4 12896180
r30            0x8      8
r31            0xc0c7b4 12634036
f0             -nan(0x8000082002000)    (raw 0xfff8000082002000)
f1             5.4254611357128649e-08   (raw 0x3e6d20b26efb70e4)
f2             4503599627370496 (raw 0x4330000000000000)
f3             1000000  (raw 0x412e848000000000)
f4             13756221 (raw 0x416a3ce7a0000000)
f5             0.74633842409777162      (raw 0x3fe7e2011e67f07f)
f6             -nan(0x80000000b6362)    (raw 0xfff80000000b6362)
f7             -238423838475.15292      (raw 0xc24bc19587859393)
f8             -238423838475.15292      (raw 0xc24bc19587859393)
f9             -238423838475.15292      (raw 0xc24bc19587859393)
f10            -238423838475.15292      (raw 0xc24bc19587859393)
f11            -238423838475.15292      (raw 0xc24bc19587859393)
f12            4503601774854144 (raw 0x4330000080000000)
f13            0        (raw 0x0000000000000000)
f14            -238423838475.15292      (raw 0xc24bc19587859393)
f15            -238423838475.15292      (raw 0xc24bc19587859393)
f16            -238423838475.15292      (raw 0xc24bc19587859393)
f17            -238423838475.15292      (raw 0xc24bc19587859393)
f18            -238423838475.15292      (raw 0xc24bc19587859393)
f19            -238423838475.15292      (raw 0xc24bc19587859393)
f20            -238423838475.15292      (raw 0xc24bc19587859393)
f21            -238423838475.15292      (raw 0xc24bc19587859393)
f22            -238423838475.15292      (raw 0xc24bc19587859393)
f23            -238423838475.15292      (raw 0xc24bc19587859393)
f24            -238423838475.15292      (raw 0xc24bc19587859393)
f25            -238423838475.15292      (raw 0xc24bc19587859393)
f26            -238423838475.15292      (raw 0xc24bc19587859393)
f27            -238423838475.15292      (raw 0xc24bc19587859393)
f28            -238423838475.15292      (raw 0xc24bc19587859393)
f29            -238423838475.15292      (raw 0xc24bc19587859393)
f30            -238423838475.15292      (raw 0xc24bc19587859393)
f31            -238423838475.15292      (raw 0xc24bc19587859393)
v0             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v1             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v2             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v3             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v4             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v5             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v6             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v7             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v8             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v9             {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v10            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v11            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v12            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v13            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v14            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v15            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v16            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v17            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v18            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v19            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v20            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v21            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v22            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v23            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v24            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v25            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v26            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v27            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v28            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v29            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v30            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
v31            {
   uint128 = 0x7fffdead7fffdead7fffdead7fffdead,
   v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan 
(0x7fdead)},
   v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117},
   v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531},
   v16_int8 = "\177??\177??\177??\177??"
}       (raw 0x7fffdead7fffdead7fffdead7fffdead)
pc             0xc0c868 12634216
ps             0xf030   61488
cr             0x24000224       603980324
lr             0xc0c844 12634180
ctr            0x9298bdb0       2459483568
xer            0x4      4
mq             0x0      0
fpscr          0x82024000       2181185536
vscr           0x10000  65536
vrsave         0x0      0

---- gdb end ----




More information about the ffmpeg-devel mailing list