Opened 5 years ago

Closed 5 years ago

#2288 closed defect (fixed)

Decoding with h264_vda crashes ffplay

Reported by: gjdfgh Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: crash SIGSEGV vda regression h264
Cc: stefano.pigozzi@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Using the VDA decoding wrapper crashes with all h264/mp4 files. This is probably a regression.

$ ffplay -codec:v h264_vda nordlandsbanen.winter.sync.1920x1080.h264.nrk.mp4 
ffplay version 1.1.git Copyright (c) 2003-2013 the FFmpeg developers
  built on Feb 20 2013 00:14:39 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-ffplay
  libavutil      52. 17.102 / 52. 17.102
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.103 /  3. 38.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/-9223372036854775808.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'nordlandsbanen.winter.sync.1920x1080.h264.nrk.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2012-12-15 12:34:38
    encoder         : FFmbc 0.7
  Duration: 09:56:06.88, start: 0.000000, bitrate: 3438 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3435 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      creation_time   : 2012-12-15 12:34:38
      handler_name    : VideoHandler
objc[4522]: Object 0x7fcdd8c11a20 of class NSUserDefaults autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
Segmentation fault: 11

This is with ffmpeg git HEAD (a5153b1d1692e51cf69ff28bc6a25ce5241774e0).

OSX crash log thingy:

Process:         ffplay [4522]
Path:            /usr/local/bin/ffplay
Identifier:      ffplay
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  bash [1737]
User ID:         501

Date/Time:       2013-02-20 00:19:25.216 +0100
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Interval Since Last Report:          265315 sec
Crashes Since Last Report:           22
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      D96B8703-7849-792B-E516-7FE2F82D626D

Crashed Thread:  8

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001

VM Regions Near 0x1:
--> 
    __TEXT                 000000010de20000-000000010de32000 [   72K] r-x/rwx SM=COW  /usr/local/Cellar/ffmpeg/HEAD/bin/ffplay

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff87fd8386 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff9083f800 nanosleep + 163
2   libavutil.52.dylib            	0x000000010ed0600d av_usleep + 56
3   ffplay                        	0x000000010de22109 0x10de20000 + 8457
4   ffplay                        	0x000000010de21c9c SDL_main + 804
5   ffplay                        	0x000000010de2c8a1 0x10de20000 + 51361
6   com.apple.CoreFoundation      	0x00007fff8724447a _CFXNotificationPost + 2554
7   com.apple.Foundation          	0x00007fff8561c846 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
8   com.apple.AppKit              	0x00007fff8819a60d -[NSApplication _postDidFinishNotification] + 292
9   com.apple.AppKit              	0x00007fff8819a346 -[NSApplication _sendFinishLaunchingNotification] + 216
10  com.apple.AppKit              	0x00007fff88197532 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 566
11  com.apple.AppKit              	0x00007fff8819712c -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 351
12  com.apple.Foundation          	0x00007fff8563612b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
13  com.apple.Foundation          	0x00007fff85635f8d _NSAppleEventManagerGenericHandler + 106
14  com.apple.AE                  	0x00007fff8754fb48 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
15  com.apple.AE                  	0x00007fff8754f9a9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
16  com.apple.AE                  	0x00007fff8754f869 aeProcessAppleEvent + 318
17  com.apple.HIToolbox           	0x00007fff84f5b8e9 AEProcessAppleEvent + 100
18  com.apple.AppKit              	0x00007fff88193916 _DPSNextEvent + 1456
19  com.apple.AppKit              	0x00007fff88192ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
20  com.apple.AppKit              	0x00007fff8818a283 -[NSApplication run] + 517
21  ffplay                        	0x000000010de2ceac 0x10de20000 + 52908
22  libdyld.dylib                 	0x00007fff8d6da7e1 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff87fd86d6 __workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff907b7eec _pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff907b7cb3 _pthread_wqthread + 412
3   libsystem_c.dylib             	0x00007fff907a2171 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff87fd8d16 kevent + 10
1   libdispatch.dylib             	0x00007fff83eeedea _dispatch_mgr_invoke + 883
2   libdispatch.dylib             	0x00007fff83eee9ee _dispatch_mgr_thread + 54

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff87fd86d6 __workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff907b7eec _pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff907b7cb3 _pthread_wqthread + 412
3   libsystem_c.dylib             	0x00007fff907a2171 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff87fd86d6 __workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff907b7eec _pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff907b7cb3 _pthread_wqthread + 412
3   libsystem_c.dylib             	0x00007fff907a2171 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fff87fd86d6 __workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff907b7eec _pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff907b7cb3 _pthread_wqthread + 412
3   libsystem_c.dylib             	0x00007fff907a2171 start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fff87fd80fa __psynch_cvwait + 10
1   libsystem_c.dylib             	0x00007fff907b9f89 _pthread_cond_wait + 869
2   libSDL-1.2.0.dylib            	0x000000010ed502eb SDL_CondWaitTimeout + 158
3   ffplay                        	0x000000010de2847b 0x10de20000 + 33915
4   libSDL-1.2.0.dylib            	0x000000010ed2f3cc SDL_RunThread + 56
5   libSDL-1.2.0.dylib            	0x000000010ed4fdbc RunThread + 9
6   libsystem_c.dylib             	0x00007fff907b5742 _pthread_start + 327
7   libsystem_c.dylib             	0x00007fff907a2181 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff87fd80fa __psynch_cvwait + 10
1   libsystem_c.dylib             	0x00007fff907b9f89 _pthread_cond_wait + 869
2   com.apple.AppleGVAFramework   	0x00000001154b6266 0x115482000 + 213606
3   com.apple.AppleGVAFramework   	0x00000001154b69dc 0x115482000 + 215516
4   libsystem_c.dylib             	0x00007fff907b5742 _pthread_start + 327
5   libsystem_c.dylib             	0x00007fff907a2181 thread_start + 13

Thread 8 Crashed:
0   libsystem_c.dylib             	0x00007fff907a312b memset + 139
1   libavcodec.54.dylib           	0x000000010e33f1e8 avpriv_color_frame + 138
2   libavcodec.54.dylib           	0x000000010e10dfcf ff_h264_frame_start + 1540
3   libavcodec.54.dylib           	0x000000010e11c803 0x10e02a000 + 993283
4   libavcodec.54.dylib           	0x000000010e10cee5 0x10e02a000 + 929509
5   libavcodec.54.dylib           	0x000000010e119b89 0x10e02a000 + 981897
6   libavcodec.54.dylib           	0x000000010e36934a 0x10e02a000 + 3404618
7   libavcodec.54.dylib           	0x000000010e341dae avcodec_decode_video2 + 265
8   ffplay                        	0x000000010de24592 0x10de20000 + 17810
9   libSDL-1.2.0.dylib            	0x000000010ed2f3cc SDL_RunThread + 56
10  libSDL-1.2.0.dylib            	0x000000010ed4fdbc RunThread + 9
11  libsystem_c.dylib             	0x00007fff907b5742 _pthread_start + 327
12  libsystem_c.dylib             	0x00007fff907a2181 thread_start + 13

Thread 8 crashed with X86 Thread State (64-bit):
  rax: 0x0000000080808080  rbx: 0x0000000000000001  rcx: 0x000000000000000f  rdx: 0x0000000000000771
  rdi: 0x0000000000000001  rsi: 0x0000000080800000  rbp: 0x0000000000000000  rsp: 0x00000001198816d8
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x000000010de3a000  r11: 0x00007fcdda493a00
  r12: 0x0000000119881770  r13: 0x000000010ed152b0  r14: 0x0000000000000780  r15: 0x00007fcdda448000
  rip: 0x00007fff907a312b  rfl: 0x0000000000010216  cr2: 0x0000000000000001
Logical CPU: 0

Binary Images:
       0x10de20000 -        0x10de31ff7 +ffplay (0) <2122A65B-720C-3EBE-A36A-3700A9D717E6> /usr/local/bin/ffplay
       0x10de3f000 -        0x10de41ff7 +libavdevice.54.dylib (0) <18654EA7-82AB-32F0-9C12-09495FAE4450> /usr/local/Cellar/ffmpeg/HEAD/lib/libavdevice.54.dylib
       0x10de45000 -        0x10deb5fe7 +libavfilter.3.dylib (0) <37808BF6-7445-3B49-A089-6883E8E40F8B> /usr/local/Cellar/ffmpeg/HEAD/lib/libavfilter.3.dylib
       0x10dee4000 -        0x10dfdbff7 +libavformat.54.dylib (0) <CCABDF96-F145-3199-BB62-C2A9FCE8E1A6> /usr/local/Cellar/ffmpeg/HEAD/lib/libavformat.54.dylib
       0x10e00c000 -        0x10e023ff7 +libavresample.1.dylib (0) <A955BEAC-A014-3DE7-80A1-07E0A3D3CBF2> /usr/local/Cellar/ffmpeg/HEAD/lib/libavresample.1.dylib
       0x10e02a000 -        0x10e788fcf +libavcodec.54.dylib (0) <83DB874C-DCF8-3656-B39A-79E7562E89F9> /usr/local/Cellar/ffmpeg/HEAD/lib/libavcodec.54.dylib
       0x10ec6e000 -        0x10ec88ff7 +libpostproc.52.dylib (0) <3C049755-7FEA-3740-9DEB-86764AF83F1B> /usr/local/Cellar/ffmpeg/HEAD/lib/libpostproc.52.dylib
       0x10ec8e000 -        0x10ec9efff +libswresample.0.dylib (0) <79265B34-DF17-3451-8481-3CC182349D57> /usr/local/Cellar/ffmpeg/HEAD/lib/libswresample.0.dylib
       0x10eca4000 -        0x10ececff7 +libswscale.2.dylib (0) <8D1D8DCF-5D7A-37CA-ABAC-2C1E4FCE8D5B> /usr/local/Cellar/ffmpeg/HEAD/lib/libswscale.2.dylib
       0x10ecf6000 -        0x10ed12ff7 +libavutil.52.dylib (0) <7CDA1059-0D95-3D50-98DC-DA429B4FF56C> /usr/local/Cellar/ffmpeg/HEAD/lib/libavutil.52.dylib
       0x10ed26000 -        0x10ed60fff +libSDL-1.2.0.dylib (0) <F3D218FD-480B-3FD4-A808-7017765766BC> /usr/local/lib/libSDL-1.2.0.dylib
       0x10ed77000 -        0x10ee2eff7 +libx264.125.dylib (0) <29A6D6C3-1425-3F1B-A7B6-1A2415A7C16C> /usr/local/lib/libx264.125.dylib
       0x10eec2000 -        0x10eef9fff +libmp3lame.0.dylib (0) <4635F96E-5E40-3775-800D-E6024652AD41> /usr/local/lib/libmp3lame.0.dylib
       0x10ef33000 -        0x10ef3eff7 +libfaac.0.0.0.dylib (0) <B3B4BBD0-5AD4-3667-B948-E812CCE2EC91> /usr/local/lib/libfaac.0.0.0.dylib
       0x10ef46000 -        0x10ef47fff  com.apple.VideoDecodeAcceleration (1.1 - 8) <494DC0E7-A60D-3136-86EA-9B1096D3B182> /System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/A/VideoDecodeAcceleration
       0x115482000 -        0x1155faff7  com.apple.AppleGVAFramework (4.0.27 - 4.0.27) <D469B80B-5F8F-3D8E-A454-CDEC922461C5> /System/Library/PrivateFrameworks/AppleGVA.framework/AppleGVA
       0x115b3f000 -        0x115c00ff7  com.apple.GeForceVADriver (8.0.61 - 8.0.0) <52730B10-DFB1-3A24-9EFC-7174EF4CEDF2> /System/Library/Extensions/GeForceVADriver.bundle/Contents/MacOS/GeForceVADriver
    0x7fff6da20000 -     0x7fff6da5493f  dyld (210.2.3) <A40597AA-5529-3337-8C09-D8A014EB1578> /usr/lib/dyld
    0x7fff83eea000 -     0x7fff83effff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff842e8000 -     0x7fff842edfff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff84300000 -     0x7fff8432bfff  libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
    0x7fff84388000 -     0x7fff84462ff7  com.apple.backup.framework (1.4.1 - 1.4.1) <A3CFCA9E-717C-302D-821B-16FD35E6673F> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff84463000 -     0x7fff8446bff7  libsystem_dnssd.dylib (379.32.1) <62AA0B84-188A-348B-8F9E-3E2DB08DB93C> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8446c000 -     0x7fff844c1ff7  libTIFF.dylib (845) <ADCB4683-69EB-318B-8BE7-5FDF38BCADAF> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff844c2000 -     0x7fff844c4ff7  com.apple.print.framework.Print (8.0 - 258) <34666CC2-B86D-3313-B3B6-A9977AD593DA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff84536000 -     0x7fff84593fff  com.apple.audio.CoreAudio (4.1.0 - 4.1.0) <B3198BD6-EA1D-3E5E-ADD4-37D8E6B72678> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff84843000 -     0x7fff84844ff7  libSystem.B.dylib (169.3) <365477AB-D641-389D-B8F4-A1FAE9657EEE> /usr/lib/libSystem.B.dylib
    0x7fff84857000 -     0x7fff84885fff  com.apple.CoreServicesInternal (154.2 - 154.2) <3E6196E6-F3B4-316F-9E1F-13B6B9694C7E> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff84886000 -     0x7fff848d0ff7  libGLU.dylib (8.6.1) <DF45C1E3-3884-3991-B84F-F39B482E8BF8> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff848d1000 -     0x7fff848d5fff  libGIF.dylib (845) <2690CE83-E934-3EF8-A30A-996EDADCE3E4> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff848d6000 -     0x7fff848e8ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff848e9000 -     0x7fff849e6fff  libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
    0x7fff849e7000 -     0x7fff849e7fff  com.apple.Accelerate (1.8 - Accelerate 1.8) <6AD48543-0864-3D40-80CE-01F184F24B45> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff849e8000 -     0x7fff849edfff  com.apple.OpenDirectory (10.8 - 151.10) <CF44120B-9B01-32DD-852E-C9C0E1243FC0> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff849ee000 -     0x7fff84af0fff  libJP2.dylib (845) <405CAF25-0AA5-3C6B-A4A6-94471A1EDD2F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff84af1000 -     0x7fff84b18ff7  com.apple.PerformanceAnalysis (1.16 - 16) <E4888388-F41B-313E-9CBB-5807D077BDA9> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff84b1a000 -     0x7fff84bb4fff  libvMisc.dylib (380.6) <714336EA-1C0E-3735-B31C-19DFDAAF6221> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff84c40000 -     0x7fff84c4fff7  com.apple.opengl (1.8.6 - 1.8.6) <720CC06C-0D01-37AE-BB3D-D7F0242B262A> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff84c52000 -     0x7fff84c80ff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff84db3000 -     0x7fff84dd3fff  libPng.dylib (845) <C3CDD2B4-3CB0-3F6D-8411-DAAF267E952B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff84dd4000 -     0x7fff84de2ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff84de3000 -     0x7fff84deafff  com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff84deb000 -     0x7fff84e0dff7  com.apple.Kerberos (2.0 - 1) <C49B8820-34ED-39D7-A407-A3E854153556> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff84e0e000 -     0x7fff84e5dff7  libFontRegistry.dylib (100) <2E03D7DA-9B8F-31BB-8FB5-3D3B6272127F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff84e61000 -     0x7fff84e75fff  libGL.dylib (8.6.1) <2E00615F-97F5-34EB-BE07-75A24F3C18D7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff84e7e000 -     0x7fff84e88fff  com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <D803919C-3102-3515-A178-61E9C86C46A1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff84ef1000 -     0x7fff85221ff7  com.apple.HIToolbox (2.0 - 625) <317F75F7-4B0F-35F5-89A7-F20BA60AC944> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff85222000 -     0x7fff85342fff  com.apple.desktopservices (1.7.2 - 1.7.2) <CDE8C2C2-C505-31B0-8C61-E40E4EA364A5> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff85343000 -     0x7fff85349fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff85355000 -     0x7fff853a0ff7  com.apple.CoreMedia (1.0 - 926.62) <CFBD094F-DA9C-3498-9D50-BC754B56F00A> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x7fff854bb000 -     0x7fff855d392f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff855d4000 -     0x7fff85930fff  com.apple.Foundation (6.8 - 945.11) <A5D41956-A354-3ACC-9355-BE200072223B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8595e000 -     0x7fff859f8fff  com.apple.CoreSymbolication (3.0 - 87) <75F2C0DD-549A-36F6-BD9E-FB40A924344F> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff859f9000 -     0x7fff859f9ffd  com.apple.audio.units.AudioUnit (1.8 - 1.8) <29E2C990-3617-3FA2-BDD7-DB7DF493E443> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff859fa000 -     0x7fff85a26ff7  libRIP.A.dylib (324.6) <5A7EB5C2-BA60-36D7-BF41-9853F37837AA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff85a27000 -     0x7fff85a27fff  com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) <B5A18EE8-DF81-38DD-ACAF-7076B2A26225> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff85a28000 -     0x7fff85a95fff  com.apple.datadetectorscore (4.0 - 269.1) <C94C372B-3821-3A46-A8C2-091AB1CFF7F4> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff85aad000 -     0x7fff85abbff7  libkxld.dylib (2050.18.24) <7027CE49-007D-3553-8FFA-3E3B428B2316> /usr/lib/system/libkxld.dylib
    0x7fff85b00000 -     0x7fff85caefff  com.apple.QuartzCore (1.8 - 304.0) <BDC66714-F60C-386D-A773-F897D1E87AB6> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff85cdd000 -     0x7fff85cf4fff  com.apple.GenerationalStorage (1.1 - 132.2) <3F5C87BD-D866-3732-8CB9-D23ED9784D6E> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff85cf5000 -     0x7fff85cf9ff7  com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff86656000 -     0x7fff86699fff  com.apple.RemoteViewServices (2.0 - 80.5) <F3A897C9-A277-3B56-8FB3-2BC2C10C33BF> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff8669a000 -     0x7fff866f0ff7  com.apple.opencl (2.1.20 - 2.1.20) <AF142CA4-EA1D-31B0-A48F-AA2B75D4309E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff866f3000 -     0x7fff86701fff  libcommonCrypto.dylib (60026) <2D6537F5-1B5E-305C-A1CF-D1FA80CA3939> /usr/lib/system/libcommonCrypto.dylib
    0x7fff86ef2000 -     0x7fff86ef8fff  com.apple.DiskArbitration (2.5.1 - 2.5.1) <F7DAF7CC-5893-3F06-9168-3B0192B66D15> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff86ef9000 -     0x7fff86f1aff7  libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
    0x7fff86f1b000 -     0x7fff86f30fff  com.apple.ImageCapture (8.0 - 8.0) <17A45CE6-7DA3-36A5-B7EF-72BC136981AE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8707a000 -     0x7fff87090fff  com.apple.MultitouchSupport.framework (235.28 - 235.28) <BD78B16E-9B5A-3E07-93B4-13AD1A538CAC> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff87091000 -     0x7fff870aefff  com.apple.openscripting (1.3.6 - 148.2) <33B87CFB-CACC-3EBC-893D-38AECB94FB8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff870af000 -     0x7fff87131fff  com.apple.Heimdal (3.0 - 2.0) <660A6C64-4912-32C8-A332-B64164032A2D> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff8719f000 -     0x7fff871f9fff  com.apple.print.framework.PrintCore (8.1 - 387.1) <1FA17B75-33E6-35BD-9198-35F92E37B248> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff871fa000 -     0x7fff871feff7  com.apple.CommonPanels (1.2.5 - 94) <AAC003DE-2D6E-38B7-B66B-1F3DA91E7245> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff871ff000 -     0x7fff873e8fff  com.apple.CoreFoundation (6.8 - 744.12) <EF002794-DAEF-31C6-866C-E3E3AC387A9F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff873f7000 -     0x7fff87416ff7  libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib
    0x7fff87417000 -     0x7fff87419fff  com.apple.securityhi (4.0 - 55002) <34E45C60-DC7E-3FCC-A1ED-EBF48B77C559> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff8741a000 -     0x7fff8741bfff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff87546000 -     0x7fff87546fff  com.apple.vecLib (3.8 - vecLib 3.8) <794317C7-4E38-338A-A874-5E18001C8503> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff87547000 -     0x7fff875a4ff7  com.apple.AE (645.3 - 645.3) <FF867ACA-8628-3E5A-8FA0-AF429B42C5D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff875a8000 -     0x7fff875a8fff  com.apple.Carbon (154 - 155) <372716D2-6FA1-3611-8501-3DD1D4A6E8C8> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff875ef000 -     0x7fff875fafff  com.apple.CommonAuth (3.0 - 2.0) <74A86DDD-57D0-3178-AB74-E1F31DBFFC39> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff87857000 -     0x7fff87859fff  libCVMSPluginSupport.dylib (8.6.1) <7EFDA31E-E463-3897-A8DC-7FD266EB713E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8785a000 -     0x7fff878abff7  com.apple.SystemConfiguration (1.12.2 - 1.12.2) <E095637C-457F-3D8F-AE32-A032F9D5A46C> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff878ac000 -     0x7fff878b1fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff87922000 -     0x7fff87c39ff7  com.apple.CoreServices.CarbonCore (1037.3 - 1037.3) <DF7CABCA-F2CB-345B-8EFF-F0F4E937B7FF> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff87e41000 -     0x7fff87e41fff  com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff87e42000 -     0x7fff87e4bfff  com.apple.CommerceCore (1.0 - 26) <997CD214-BC78-3C61-A1B8-813EA1CB9997> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff87eb7000 -     0x7fff87f89ff7  com.apple.CoreText (260.0 - 275.16) <5BFC1D67-6A6F-38BC-9D90-9C712684EDAC> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff87fc6000 -     0x7fff87fe1ff7  libsystem_kernel.dylib (2050.18.24) <C0535565-35D1-31A7-A744-63D9F10F12A4> /usr/lib/system/libsystem_kernel.dylib
    0x7fff87fe5000 -     0x7fff87fe6ff7  libdnsinfo.dylib (453.18) <E7595861-ECF9-336E-9901-BED2620FAA80> /usr/lib/system/libdnsinfo.dylib
    0x7fff87fe7000 -     0x7fff87ff4fff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
    0x7fff87ff5000 -     0x7fff88000fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff8803e000 -     0x7fff88c6bff7  com.apple.AppKit (6.8 - 1187.34) <1FF64844-EB62-3F96-AED7-6525B7CCEC23> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff88c6c000 -     0x7fff88ca2fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff88f84000 -     0x7fff88fc3ff7  com.apple.QD (3.42 - 285) <8DF36FCA-C06B-30F4-A631-7BE2FF7E56D1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff88fc4000 -     0x7fff8902cfff  libvDSP.dylib (380.6) <CD4C5EEB-9E63-30C4-8103-7A5EAEA0BE60> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8902d000 -     0x7fff890defff  com.apple.LaunchServices (539.7 - 539.7) <DA7C602E-5E01-31B8-925D-B45360CA089F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff89b50000 -     0x7fff89c4dff7  libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
    0x7fff89c4e000 -     0x7fff89ca5ff7  com.apple.AppleVAFramework (5.0.18 - 5.0.18) <B75949DD-AC27-3848-8221-00D70D14C7E0> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x7fff89ca6000 -     0x7fff89d9bfff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
    0x7fff8a060000 -     0x7fff8a1fbfef  com.apple.vImage (6.0 - 6.0) <FAE13169-295A-33A5-8E6B-7C2CC1407FA7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8a1fc000 -     0x7fff8a21eff7  libxpc.dylib (140.41) <FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib
    0x7fff8a230000 -     0x7fff8a2aeff7  com.apple.securityfoundation (6.0 - 55115.4) <C5461971-E455-31A6-99B8-AF80C4BC26DD> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff8a592000 -     0x7fff8a59dff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <C12962D5-85FB-349E-AA56-64F4F487F219> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff8a59e000 -     0x7fff8a5c6fff  libJPEG.dylib (845) <A32618D7-FB91-3EE2-A105-5407B2F3F8D8> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff8a5c7000 -     0x7fff8a634ff7  com.apple.framework.IOKit (2.0 - 755.18.10) <142E19DD-1C8D-3D61-ABC8-83994A73279F> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8a6e1000 -     0x7fff8b071c67  com.apple.CoreGraphics (1.600.0 - 324.6) <DCC70C6E-AB6D-3457-A823-7569CB29B107> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff8b072000 -     0x7fff8b1e6fff  com.apple.CFNetwork (596.2.3 - 596.2.3) <6A16C2BD-1035-30F9-AE96-D9E3BB54A976> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff8b243000 -     0x7fff8b256ff7  libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
    0x7fff8b257000 -     0x7fff8b263fff  com.apple.CrashReporterSupport (10.8.2 - 415) <55783BF9-125E-3F9C-A412-6A095ECD9353> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff8b264000 -     0x7fff8b499ff7  com.apple.CoreData (106.1 - 407.7) <24E0A6B4-9ECA-3D12-B26A-72B9DCF09768> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff8b4b3000 -     0x7fff8b783fff  com.apple.security (7.0 - 55179.1) <639641EF-8156-3190-890C-1053658E044A> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8b784000 -     0x7fff8b7aeff7  com.apple.CoreVideo (1.8 - 99.3) <C424838A-889C-39E5-8108-FD05C93D26A0> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8bafc000 -     0x7fff8bf38fff  com.apple.VideoToolbox (1.0 - 926.62) <7D749558-08B6-3F86-A20E-05ECDACE6F17> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
    0x7fff8bf39000 -     0x7fff8bfb9ff7  com.apple.ApplicationServices.ATS (332 - 341.1) <BD83B039-AB25-3E3E-9975-A67DAE66988B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8c2cc000 -     0x7fff8c372ff7  com.apple.CoreServices.OSServices (557.4 - 557.4) <841878A8-6F3E-300D-8F01-444B3CC1F41D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8c385000 -     0x7fff8c389fff  libCGXType.A.dylib (324.6) <2FC25246-A69F-3F81-9AC6-0A1753E1C6A8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff8c3e5000 -     0x7fff8c41ffff  com.apple.GSS (3.0 - 2.0) <0BDF8090-5EF4-3759-94DE-8521D74188AA> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff8c420000 -     0x7fff8c5a6fff  libBLAS.dylib (1073.4) <C102C0F6-8CB6-3B49-BA6B-2EB61F0B2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8c702000 -     0x7fff8c708fff  libGFXShared.dylib (8.6.1) <CF55E720-1B9E-3E24-A1DA-7FA8B261CD8E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff8d6c3000 -     0x7fff8d6cbfff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff8d6d8000 -     0x7fff8d6dbff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8d6dc000 -     0x7fff8d6dcfff  libOpenScriptingUtil.dylib (148.2) <B8061D13-C1B2-38D5-A723-9A98D64E67AC> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8d720000 -     0x7fff8d7a1fff  com.apple.Metadata (10.7.0 - 707.3) <A45D75C1-B311-39F0-AF4A-63FCCC098C1D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff8d7a2000 -     0x7fff8d8bbff7  com.apple.ImageIO.framework (3.2.0 - 845) <553B9828-A7D9-3AE4-A214-1C33417545FD> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff8d8bc000 -     0x7fff8d8c0fff  com.apple.IOSurface (86.0.3 - 86.0.3) <C121DE83-ED12-3DC1-BDB3-4FCB29AB0571> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8d8c1000 -     0x7fff8d8c1fff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8d8cc000 -     0x7fff8d8fdff7  com.apple.DictionaryServices (1.2 - 184.4) <054F2D6F-9CFF-3EF1-9778-25C551B616C1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff8d8fe000 -     0x7fff8d934fff  com.apple.DebugSymbols (98 - 98) <14E788B1-4EB2-3FD7-934B-849534DFC198> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff8d935000 -     0x7fff8dbd9fff  com.apple.CoreImage (8.2.2 - 1.0.1) <930B0B23-DD84-3B0C-B5A9-C09B7068A6F0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8dbda000 -     0x7fff8dfd1fff  libLAPACK.dylib (1073.4) <D632EC8B-2BA0-3853-800A-20DA00A1091C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8dfd2000 -     0x7fff8e029ff7  com.apple.ScalableUserInterface (1.0 - 1) <F1D43DFB-1796-361B-AD4B-39F1EED3BE19> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff8e02a000 -     0x7fff8e02efff  libCoreVMClient.dylib (24.4) <55F71158-ADEE-3863-92E9-4772DCEA8E31> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff8e02f000 -     0x7fff8e032fff  libRadiance.dylib (845) <E8956A35-494E-3014-8B86-362D32576116> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff8e033000 -     0x7fff8e0d1ff7  com.apple.ink.framework (10.8.2 - 150) <84B9825C-3822-375F-BE58-A753444FBDE2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff8e987000 -     0x7fff8ea4cff7  com.apple.coreui (2.0 - 181.1) <83D2C92D-6842-3C9D-9289-39D5B4554C3A> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8ea59000 -     0x7fff8eac1ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff8ef53000 -     0x7fff8ef74fff  com.apple.Ubiquity (1.2 - 243.10) <F97D3A33-2C8B-3CFF-AF75-A74866D42853> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff8ef75000 -     0x7fff8ef76ff7  libsystem_sandbox.dylib (220) <3C3B03CF-C525-3CB3-8557-62E91B93AC95> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8f129000 -     0x7fff8f12afff  liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
    0x7fff8f12b000 -     0x7fff8f168fe7  libGLImage.dylib (8.6.1) <7F31DD61-3110-3541-A9BB-035CD1262E50> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8f169000 -     0x7fff8f16aff7  libremovefile.dylib (23.1) <DBBFAF35-AC78-3856-92F6-6E4FD9DF14A2> /usr/lib/system/libremovefile.dylib
    0x7fff8f16b000 -     0x7fff8f16efff  com.apple.help (1.3.2 - 42) <343904FE-3022-3573-97D6-5FE17F8643BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff8f17c000 -     0x7fff8f1c0fff  libcups.2.dylib (327) <9B3F3321-D2BC-3195-BF20-4008FC52A390> /usr/lib/libcups.2.dylib
    0x7fff8f1c1000 -     0x7fff8f1e0ff7  com.apple.ChunkingLibrary (2.0 - 133.2) <D2A746DE-002A-3C6C-961E-BE94E71DB835> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff8f30e000 -     0x7fff8f364fff  com.apple.HIServices (1.20 - 417) <A1129272-FEC8-350B-BA26-5A97F23C413D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8f365000 -     0x7fff8f372ff7  com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8f476000 -     0x7fff8f476fff  com.apple.ApplicationServices (45 - 45) <A3ABF20B-ED3A-32B5-830E-B37831A45A80> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8f4b0000 -     0x7fff8f4b2ff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8f509000 -     0x7fff8f555ff7  libauto.dylib (185.1) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff8f56b000 -     0x7fff8f582fff  com.apple.CFOpenDirectory (10.8 - 151.10) <FFBBA538-00B5-334E-BA5B-C8AD6CDCDA14> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8f5cf000 -     0x7fff8f5dbfff  libCSync.A.dylib (324.6) <2033247A-CABC-3E20-8498-7367A8F44A08> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff8f5dc000 -     0x7fff8f601ff7  libc++abi.dylib (24.4) <E7BD9363-1D25-3551-A68A-2E2FF6ABECD7> /usr/lib/libc++abi.dylib
    0x7fff8f602000 -     0x7fff8f604fff  com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8f720000 -     0x7fff8f722fff  libquarantine.dylib (52) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
    0x7fff8f772000 -     0x7fff8f7ffff7  com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8f800000 -     0x7fff8f813ff7  com.apple.LangAnalysis (1.7.0 - 1.7.0) <2F2694E9-A7BC-33C7-B4CF-8EC907DF0FEB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8f814000 -     0x7fff8f83bfff  com.apple.framework.familycontrols (4.1 - 410) <AE49B2AB-7D2B-3D52-8E21-60EBEA1A38E6> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff8f83c000 -     0x7fff8f83dfff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8f83e000 -     0x7fff8f8fbff7  com.apple.ColorSync (4.8.0 - 4.8.0) <6CE333AE-EDDB-3768-9598-9DB38041DC55> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8f8fc000 -     0x7fff8f903fff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8f904000 -     0x7fff8f918fff  com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <94EDF2AB-809C-3D15-BED5-7AD45B2A7C16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8f919000 -     0x7fff8f928ff7  libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
    0x7fff8f9bb000 -     0x7fff8fbbbfff  libicucore.A.dylib (491.11.1) <CC318A27-878A-38CE-9292-1B98353FA9C7> /usr/lib/libicucore.A.dylib
    0x7fff8fbbc000 -     0x7fff8ffd9fff  FaceCoreLight (2.4.1) <A34C9575-C4C1-31B1-809B-7751070B4E8B> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x7fff8ffe5000 -     0x7fff8fff3fff  com.apple.Librarian (1.1 - 1) <1635162F-239A-341E-83C7-710C55E254AF> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
    0x7fff8fff4000 -     0x7fff900fffff  libFontParser.dylib (84.5) <617A7D30-C7BC-39FC-A1FE-59367B4A5719> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff901f7000 -     0x7fff90260fff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
    0x7fff90691000 -     0x7fff90695fff  libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
    0x7fff907a1000 -     0x7fff9086dfe7  libsystem_c.dylib (825.25) <8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib
    0x7fff90936000 -     0x7fff90943fff  com.apple.AppleFSCompression (49 - 1.0) <5508344A-2A7E-3122-9562-6F363910A80E> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff90944000 -     0x7fff909a0ff7  com.apple.Symbolication (1.3 - 93) <F2C7E0B6-B241-3020-B30A-0636D0FA3378> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff909a8000 -     0x7fff909a8fff  com.apple.Cocoa (6.7 - 19) <1F77945C-F37A-3171-B22E-F7AB0FCBB4D4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff909ac000 -     0x7fff909b2ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff909b3000 -     0x7fff90a02ff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff90b1e000 -     0x7fff90b61ff7  com.apple.bom (12.0 - 192) <0BF1F2D2-3648-36B7-BE4B-551A0173209B> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff90b62000 -     0x7fff90cb3fff  com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) <833DA682-A3C1-39E7-AEC3-9EDC734DE2A9> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 2
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 46858
    thread_create: 9
    thread_set_state: 42

VM Region Summary:
ReadOnly portion of Libraries: Total=162.4M resident=115.8M(71%) swapped_out_or_unallocated=46.6M(29%)
Writable regions: Total=163.5M written=46.8M(29%) resident=66.1M(40%) swapped_out=0K(0%) unallocated=97.3M(60%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                   152K
CG shared images                   1248K
CoreServices                        988K
IOKit                              63.4M
IOKit (reserved)                     28K        reserved VM address space (unallocated)
MALLOC                             63.7M
MALLOC guard page                    48K
Memory tag=242                       12K
STACK GUARD                        56.0M
Stack                              12.1M
VM_ALLOCATE                        16.1M
__DATA                             16.8M
__IMAGE                             528K
__LINKEDIT                         53.9M
__TEXT                            108.4M
__UNICODE                           544K
mapped file                        37.5M
shared memory                       340K
===========                      =======
TOTAL                             431.8M
TOTAL, minus reserved VM space    431.8M

Model: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 processors, Intel Core 2 Duo, 2.26 GHz, 8 GB, SMC 1.47f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D4346382020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D4346382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD6400BEVT-00A0RT0, 640,14 GB
Serial ATA Device: MATSHITADVD-R   UJ-868
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x04600000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06110000 / 3

Attachments (2)

patchvda.diff (496 bytes) - added by cehoyos 5 years ago.
patchvda2.diff (462 bytes) - added by cehoyos 5 years ago.

Download all attachments as: .zip

Change History (23)

comment:1 Changed 5 years ago by cehoyos

  • Keywords crash vda added

Is the crash only reproducible with ffplay or also with ffmpeg?
If this is a regression, please use git bisect to find the change introducing the crash and please remove --enable-shared from your configure line to get useful debug information.

Changed 5 years ago by cehoyos

comment:2 Changed 5 years ago by cehoyos

  • Keywords SIGSEGV regression added
  • Priority changed from normal to important

And please test attached patch.

comment:3 follow-up: Changed 5 years ago by gjdfgh

The patch caused a compilation error: http://pastebin.com/cJYpHaGr with patchvda.diff applied on git 2ccaab9709aadc51625a28597d6a9012607958b4.

A "non-shared" ffmpeg is apparently doesn't give more information.

cehoyos: please provide a command line for testing this with ffmpeg.

(I don't have OSX myself and I'm just relaying what a user is reporting.)

comment:4 Changed 5 years ago by heleppkes

It seems like avctx->hwaccel should already be set with the VDA decoder, because h264_vda is just a thin wrapper around that.

Changed 5 years ago by cehoyos

comment:5 in reply to: ↑ 3 ; follow-up: Changed 5 years ago by cehoyos

Replying to gjdfgh:

The patch caused a compilation error: http://pastebin.com/cJYpHaGr with patchvda.diff applied on git 2ccaab9709aadc51625a28597d6a9012607958b4.

New patch attached, please (ask for a) test.

A "non-shared" ffmpeg is apparently doesn't give more information.

That is hard to believe, but please ignore.

cehoyos: please provide a command line for testing this with ffmpeg.

I am sorry but I don't know how to reproduce this crash (I don't have a sufficiently new OSX hardware), but I suggest to try again with the original (crashing) command line.

(I don't have OSX myself and I'm just relaying what a user is reporting.)

Any reason why the user does not want to report the problem himself?

comment:6 in reply to: ↑ 5 Changed 5 years ago by cehoyos

Replying to cehoyos:

cehoyos: please provide a command line for testing this with ffmpeg.

I am sorry but I don't know how to reproduce this crash (I don't have a sufficiently new OSX hardware), but I suggest to try again with the original (crashing) command line.

Sorry, I misunderstood, this command line should allow testing the issue:
$ ffmpeg -vcodec h264_vda nordlandsbanen.winter.sync.1920x1080.h264.nrk.mp4 -f null -

comment:7 Changed 5 years ago by cehoyos

  • Keywords h264 added

comment:8 Changed 5 years ago by pigoz

I ran some tests which hopefully will help with this.

This is the BT I'm getting:

[Switching to process 64824 thread 0xad03]
0x00007fff8e4b412b in memset ()
(gdb) bt
#0  0x00007fff8e4b412b in memset ()
#1  0x00000001004bf44b in avpriv_color_frame (frame=0x103042e00, c=0x10977e760) at _string.h:83

git bisect shows this

dece584a639c9fd61a72e21800815e8397b3b617 is the first bad commit
commit dece584a639c9fd61a72e21800815e8397b3b617
Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Sun Feb 17 20:41:16 2013 +0100

    h264: avoid calling get_format() multiple times
    
    Some applications do not like that.
    Fixes VDA
    Reduces noise for VDPAU
    
    Tested-by: Guillaume POIRIER <poirierg@gmail.com>
    Tested-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

By the way, even on good commits I ged a LOT of spam from ffplay in this form. That's probably for another bug though.

[h264_vda @ 0x7f8e21830a00] Reinit context to 1920x832, pix_fmt: 81
[h264_vda @ 0x7f8e21830a00] Missing reference picture, default is 0
[h264_vda @ 0x7f8e21830a00] decode_slice_header error

comment:9 Changed 5 years ago by cehoyos

Do I understand correctly that the patch I attached does not fix the crash?

comment:10 follow-up: Changed 5 years ago by pigoz

Sorry, you are right. I trusted the previous comments in this thread to be right. Your second patch seems to fix the crash in avpriv_color_frame() but this reveals a new crash:

Here's the bt

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
[Switching to process 5087 thread 0xae03]
0x000000010029f350 in ff_h264_pred_init ()
(gdb) bt
#0  0x000000010029f350 in ff_h264_pred_init ()
#1  0x0000000000000010 in ?? ()

Can I do something to get amore meaningful backtrace? So many info missing.

comment:11 in reply to: ↑ 10 Changed 5 years ago by cehoyos

Replying to pigoz:

Can I do something to get a more meaningful backtrace? So many info missing.

I think so, but please post the complete, uncut console output, so we can see what can be improved about your configure line.

comment:12 Changed 5 years ago by pigoz

I used ./configure --enable-ffplay --cc=clang

Here's the full log:

pigoz@NAVi ~/dev/ffmpeg ±master⚡ » gdb ffplay                                                                                                                                
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Thu Nov 15 10:42:43 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .............. done

(gdb) run -codec:v h264_vda /Users/pigoz/Yarr\!\!\!/Movies/Star.Wars.Episode-III.Revenge.of.the.Sith.2005.BluRay.1080p.x264.DTS-ES.AC3-HDC.mkv
Starting program: /Users/pigoz/dev/ffmpeg/ffplay -codec:v h264_vda /Users/pigoz/Yarr\!\!\!/Movies/Star.Wars.Episode-III.Revenge.of.the.Sith.2005.BluRay.1080p.x264.DTS-ES.AC3-HDC.mkv
Reading symbols for shared libraries +++++++++++++.............................................................................................................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
ffplay version N-37526-gda7672b Copyright (c) 2003-2013 the FFmpeg developers
  built on Feb 20 2013 22:05:31 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
  configuration: --enable-ffplay --cc=clang
  libavutil      52. 17.102 / 52. 17.102
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.106 /  3. 38.106
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[dca @ 0x10201cc00] Number of channels changed in DCA decoder (6 -> 7)   0B f=0/0   
Input #0, matroska,webm, from '/Users/pigoz/Yarr!!!/Movies/Star.Wars.Episode-III.Revenge.of.the.Sith.2005.BluRay.1080p.x264.DTS-ES.AC3-HDC.mkv':
  Metadata:
    creation_time   : 2011-09-13 16:50:09
  Duration: 02:20:05.90, start: 0.000000, bitrate: 13407 kb/s
    Chapter #0.0: start 0.000000, end 23.440000
    Metadata:
      title           : 1. Opening Logos
    Chapter #0.1: start 23.440000, end 109.984000
    Metadata:
      title           : 2. Revenge of the Sith
    Chapter #0.2: start 109.984000, end 508.049000
    Metadata:
      title           : 3. Battle Over Coruscant
    Chapter #0.3: start 508.049000, end 683.265000
    Metadata:
      title           : 4. General Grievous
    Chapter #0.4: start 683.265000, end 1113.654000
    Metadata:
      title           : 5. Rescuing the Chancellor
    Chapter #0.5: start 1113.654000, end 1420.377000
    Metadata:
      title           : 6. Confronting Grievous
    Chapter #0.6: start 1420.377000, end 1657.614000
    Metadata:
      title           : 7. Happy Reunions
    Chapter #0.7: start 1657.614000, end 1752.876000
    Metadata:
      title           : 8. Grievous on Utapau
    Chapter #0.8: start 1752.876000, end 1998.830000
    Metadata:
      title           : 9. Bad Dreams
    Chapter #0.9: start 1998.830000, end 2145.351000
    Metadata:
      title           : 10. Counsel with Yoda
    Chapter #0.10: start 2145.351000, end 2207.914000
    Metadata:
      title           : 11. The Chancellor's Request
    Chapter #0.11: start 2207.914000, end 2301.382000
    Metadata:
      title           : 12. On the Jedi Council
    Chapter #0.12: start 2301.382000, end 2417.373000
    Metadata:
      title           : 13. Secret Assignment
    Chapter #0.13: start 2417.373000, end 2478.517000
    Metadata:
      title           : 14. Not the Chosen One?
    Chapter #0.14: start 2478.517000, end 2560.975000
    Metadata:
      title           : 15. Seeds of Distrust
    Chapter #0.15: start 2560.975000, end 2881.503000
    Metadata:
      title           : 16. Tragedy of Darth Plagueis
    Chapter #0.16: start 2881.503000, end 3020.434000
    Metadata:
      title           : 17. Kashyyyk
    Chapter #0.17: start 3020.434000, end 3144.850000
    Metadata:
      title           : 18. Brothers' Farewell
    Chapter #0.18: start 3144.850000, end 3237.943000
    Metadata:
      title           : 19. A Hero Lost
    Chapter #0.19: start 3237.943000, end 3386.382000
    Metadata:
      title           : 20. Arrival On Utapau
    Chapter #0.20: start 3386.382000, end 3656.194000
    Metadata:
      title           : 21. Obi-Wan vs. Grievous
    Chapter #0.21: start 3656.194000, end 3716.462000
    Metadata:
      title           : 22. Jedi War Council
    Chapter #0.22: start 3716.462000, end 3925.963000
    Metadata:
      title           : 23. Sidious Revealed
    Chapter #0.23: start 3925.963000, end 4060.514000
    Metadata:
      title           : 24. Utapau Chase
    Chapter #0.24: start 4060.514000, end 4146.892000
    Metadata:
      title           : 25. Mace Learns the Truth
    Chapter #0.25: start 4146.892000, end 4252.915000
    Metadata:
      title           : 26. Anakin's Fatal Decision
    Chapter #0.26: start 4252.915000, end 4519.139000
    Metadata:
      title           : 27. Mace vs. Sidious
    Chapter #0.27: start 4519.139000, end 4755.167000
    Metadata:
      title           : 28. Rise, Lord Vader
    Chapter #0.28: start 4755.167000, end 4837.374000
    Metadata:
      title           : 29. March on the Jedi Temple
    Chapter #0.29: start 4837.374000, end 5060.513000
    Metadata:
      title           : 30. Order Sixy-six
    Chapter #0.30: start 5060.513000, end 5276.437000
    Metadata:
      title           : 31. Time to Leave
    Chapter #0.31: start 5276.437000, end 5397.308000
    Metadata:
      title           : 32. "Wait for Me"
    Chapter #0.32: start 5397.308000, end 5620.323000
    Metadata:
      title           : 33. The Heros Regroup
    Chapter #0.33: start 5620.323000, end 5799.376000
    Metadata:
      title           : 34. Birth of the Empire
    Chapter #0.34: start 5799.376000, end 5915.451000
    Metadata:
      title           : 35. The Terrible Truth
    Chapter #0.35: start 5915.451000, end 6084.286000
    Metadata:
      title           : 36. Obi-Wan Confronts Padmé
    Chapter #0.36: start 6084.286000, end 6176.920000
    Metadata:
      title           : 37. Padmé's Departure
    Chapter #0.37: start 6176.920000, end 6498.700000
    Metadata:
      title           : 38. "You're Breaking My Heart"
    Chapter #0.38: start 6498.700000, end 6659.361000
    Metadata:
      title           : 39. Yoda Visits the Emperor
    Chapter #0.39: start 6659.361000, end 6763.923000
    Metadata:
      title           : 40. Battle of the Heros
    Chapter #0.40: start 6763.923000, end 6862.772000
    Metadata:
      title           : 41. Yoda vs. Sidious
    Chapter #0.41: start 6862.772000, end 7014.841000
    Metadata:
      title           : 42. Narrow Escapes
    Chapter #0.42: start 7014.841000, end 7340.791000
    Metadata:
      title           : 43. Immolation
    Chapter #0.43: start 7340.791000, end 7412.780000
    Metadata:
      title           : 44. The Emperor Arrives
    Chapter #0.44: start 7412.780000, end 7519.553000
    Metadata:
      title           : 45. Secret Delivery
    Chapter #0.45: start 7519.553000, end 7657.024000
    Metadata:
      title           : 46. Birth and Rebirth
    Chapter #0.46: start 7657.024000, end 7736.979000
    Metadata:
      title           : 47. Lord Vader Awakes
    Chapter #0.47: start 7736.979000, end 7924.875000
    Metadata:
      title           : 48. The Future of the Twins
    Chapter #0.48: start 7924.875000, end 8027.269000
    Metadata:
      title           : 49. A New Hope
    Chapter #0.49: start 8027.269000, end 8405.898000
    Metadata:
      title           : 50. End Credits
    Stream #0:0: Video: h264 (High), yuv420p, 1920x818 [SAR 1:1 DAR 960:409], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      title           : x264 Video Stream
    Stream #0:1(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : English DTS-ES 6.1
    Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Metadata:
      title           : Audio Commentary with George Lucas, Rick Mccallum, Rob Coleman, John Knoll, and Roger Guyett
    Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Metadata:
      title           : Audio Commentary from Archival Interviews with Cast and Crew
SDL_OpenAudio (7 channels): 1 (mono) and 2 (stereo) channels supported
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
AVF info: hasOfflineRenderer, borad-id check : true
Reading symbols for shared libraries . done
AVF info: Successfully connected to the Intel plugin, offline Gen7 
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
[Switching to process 5157 thread 0xad03]
0x000000010029f350 in ff_h264_pred_init ()
(gdb) 

comment:13 Changed 5 years ago by pigoz

  • Cc stefano.pigozzi@gmail.com added

comment:14 Changed 5 years ago by cehoyos

Does the following command line also crash?
$ ffmpeg -vcodec h264_vda -i /Users/pigoz/Yarr\!\!\/Movies/Star.Wars.Episode-III.Revenge.of.the.Sith.2005.BluRay?.1080p.x264.DTS-ES.AC3-HDC.mkv -f null -

If yes, please start "gdb ffmpeg_g" and run above command to get a more useful backtrace.

comment:15 Changed 5 years ago by pigoz

Yes crashes as well. Here's the bt on ffmpeg_g

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
pred8x8_128_dc_8_c (_src=0x0, stride=0) at h264pred_template.c:559
559	    FUNCC(pred8x8_128_dc)(_src+8*stride, stride);
(gdb) bt
#0  pred8x8_128_dc_8_c (_src=0x0, stride=0) at h264pred_template.c:559
#1  0x0000000100230366 in hl_decode_mb_simple_8 (h=0x101464000) at h264_mb_template.c:161
Previous frame inner to this frame (gdb could not unwind past this frame)
Current language:  auto; currently minimal
(gdb) 

comment:16 Changed 5 years ago by cehoyos

The additional information mentioned here may help: http://ffmpeg.org/bugreports.html

comment:17 Changed 5 years ago by heleppkes

The real issue is that for some reason avctx->hwaccel is NULL, which is why the av_color_frame check failed at first, and all other checks that skip actual decoding now fail.
I bet its related to how the hacky h264_vda decoder overwrites the pix_fmt in the avctx, but without access to a VDA system, that will probably be a bit tricky to figure out.

comment:18 Changed 5 years ago by pigoz

I ran the rest of what is advised in the bugreports page you linked (Pasted them below). Is it possible to test that the culprit is really the h264_vda decoder and only using vda only through HWACCEL infrastructure works?

(gdb) bt 
#0  pred8x8_128_dc_8_c (_src=0x0, stride=0) at h264pred_template.c:559
#1  0x0000000100230366 in hl_decode_mb_simple_8 (h=0x101464000) at h264_mb_template.c:161
Previous frame inner to this frame (gdb could not unwind past this frame)
Current language:  auto; currently minimal
(gdb) disass $pc-32,$pc+32
Dump of assembler code for function pred8x8_128_dc_8_c:
0x00000001002a7800 <pred8x8_128_dc_8_c+0>:	movl   $0x80808080,(%rdi)
0x00000001002a7806 <pred8x8_128_dc_8_c+6>:	movl   $0x80808080,0x4(%rdi)
0x00000001002a780d <pred8x8_128_dc_8_c+13>:	movl   $0x80808080,(%rdi,%rsi,1)
0x00000001002a7814 <pred8x8_128_dc_8_c+20>:	movl   $0x80808080,0x4(%rdi,%rsi,1)
0x00000001002a781c <pred8x8_128_dc_8_c+28>:	movl   $0x80808080,(%rdi,%rsi,2)
0x00000001002a7823 <pred8x8_128_dc_8_c+35>:	movl   $0x80808080,0x4(%rdi,%rsi,2)
0x00000001002a782b <pred8x8_128_dc_8_c+43>:	lea    (%rsi,%rsi,2),%rax
0x00000001002a782f <pred8x8_128_dc_8_c+47>:	movl   $0x80808080,(%rdi,%rax,1)
0x00000001002a7836 <pred8x8_128_dc_8_c+54>:	imul   $0x7,%rsi,%rcx
0x00000001002a783a <pred8x8_128_dc_8_c+58>:	lea    (%rsi,%rsi,4),%rdx
0x00000001002a783e <pred8x8_128_dc_8_c+62>:	movl   $0x80808080,0x4(%rdi,%rax,1)
0x00000001002a7846 <pred8x8_128_dc_8_c+70>:	movl   $0x80808080,(%rdi,%rsi,4)
0x00000001002a784d <pred8x8_128_dc_8_c+77>:	movl   $0x80808080,0x4(%rdi,%rsi,4)
0x00000001002a7855 <pred8x8_128_dc_8_c+85>:	movl   $0x80808080,(%rdi,%rdx,1)
0x00000001002a785c <pred8x8_128_dc_8_c+92>:	movl   $0x80808080,0x4(%rdi,%rdx,1)
0x00000001002a7864 <pred8x8_128_dc_8_c+100>:	movl   $0x80808080,(%rdi,%rax,2)
0x00000001002a786b <pred8x8_128_dc_8_c+107>:	movl   $0x80808080,0x4(%rdi,%rax,2)
0x00000001002a7873 <pred8x8_128_dc_8_c+115>:	movl   $0x80808080,(%rdi,%rcx,1)
0x00000001002a787a <pred8x8_128_dc_8_c+122>:	movl   $0x80808080,0x4(%rdi,%rcx,1)
0x00000001002a7882 <pred8x8_128_dc_8_c+130>:	retq   
End of assembler dump.
(gdb) info all-registers
rax            0x6	6
rbx            0x0	0
rcx            0x0	0
rdx            0x0	0
rsi            0x0	0
rdi            0x0	0
rbp            0x101464000	0x101464000
rsp            0x7fff5fbf8b78	0x7fff5fbf8b78
r8             0x0	0
r9             0x101464000	4316348416
r10            0x0	0
r11            0x13	19
r12            0x101464000	4316348416
r13            0x0	0
r14            0x0	0
r15            0x0	0
rip            0x1002a7800	0x1002a7800 <pred8x8_128_dc_8_c>
eflags         0x10246	66118
cs             0x2b	43
ss             0x0	0
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
st0            <invalid float value>	(raw 0xffff0000000000000000)
st1            <invalid float value>	(raw 0xffff0000000000000000)
st2            -nan(0x002000200)	(raw 0xffff0000000002000200)
st3            -nan(0x200020002000200)	(raw 0xffff0200020002000200)
st4            -nan(0x1010101010101010)	(raw 0xffff1010101010101010)
st5            -9223359428144598417	(raw 0xc03dffffe9109c9e1b22)
st6            12608710177391	(raw 0x402ab77b1b0f26f00000)
st7            12608710177391	(raw 0x402ab77b1b0f26f00000)
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x2b	43
fioff          0x97928d2b	-1752003285
foseg          0x23	35
fooff          0x5fbf5b30	1606376240
fop            0x0	0
xmm0           {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm1           {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm2           {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm3           {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm4           {
  v4_float = {8.90725532e+11, 183973696, 2.4375, 0}, 
  v2_double = {2.0460447893299908e+93, 7}, 
  v16_int8 = {83, 79, 99, 97, 77, 47, 115, 116, 64, 28, 0, 0, 0, 0, 0, 0}, 
  v8_int16 = {21327, 25441, 19759, 29556, 16412, 0, 0, 0}, 
  v4_int32 = {1397711713, 1294955380, 1075576832, 0}, 
  v2_int64 = {6003126097866093428, 4619567317775286272}, 
  uint128 = 0x534f63614d2f7374401c000000000000
}	(raw 0x0000000000001c4074732f4d61634f53)
xmm5           {
  v4_float = {0, 0, 2.87462521, -5.40669532e-07}, 
  v2_double = {0, 23.976023976023978}, 
  v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 64, 55, -7, -36, -75, 17, 34, -121}, 
  v8_int16 = {0, 0, 0, 0, 16439, -1572, -19183, 8839}, 
  v4_int32 = {0, 0, 1077410268, -1257168249}, 
  v2_int64 = {0, 4627441868472394375}, 
  uint128 = 9737364817122506560
}	(raw 0x872211b5dcf937400000000000000000)
xmm6           {
  v4_float = {-0.836791635, -5.53769217e-33, -0.836791635, -5.53769217e-33}, 
  v2_double = {-0.0013561197916662129, -0.0013561197916662129}, 
  v16_int8 = {-65, 86, 55, -6, -119, -26, 6, -40, -65, 86, 55, -6, -119, -26, 6, -40}, 
  v8_int16 = {-16554, 14330, -30234, 1752, -16554, 14330, -30234, 1752}, 
  v4_int32 = {-1084868614, -1981413672, -1084868614, -1981413672}, 
  v2_int64 = {-4659475215273294120, -4659475215273294120}, 
  uint128 = 0xbf5637fa89e606d8bf5637fa89e606d8
}	(raw 0xd806e689fa3756bfd806e689fa3756bf)
xmm7           {
  v4_float = {0, 0, 1.875, 0}, 
  v2_double = {0, 1}, 
  v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, 
  v8_int16 = {0, 0, 0, 0, 16368, 0, 0, 0}, 
  v4_int32 = {0, 0, 1072693248, 0}, 
  v2_int64 = {0, 4607182418800017408}, 
  uint128 = 61503
}	(raw 0x000000000000f03f0000000000000000)
xmm8           {
  v4_float = {0, 0, 0, 7.62939453e-06}, 
  v2_double = {0, 4.5589753321519522e-315}, 
  v16_int8 = {0 <repeats 12 times>, 55, 0, 0, 0}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 14080, 0}, 
  v4_int32 = {0, 0, 0, 922746880}, 
  v2_int64 = {0, 922746880}, 
  uint128 = 236223201280
}	(raw 0x00000037000000000000000000000000)
xmm9           {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm10          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm11          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm12          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm13          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm14          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
xmm15          {
  v4_float = {0, 0, 0, 0}, 
  v2_double = {0, 0}, 
  v16_int8 = {0 <repeats 16 times>}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v2_int64 = {0, 0}, 
  uint128 = 0
}	(raw 0x00000000000000000000000000000000)
mxcsr          0x1fa0	8096
(gdb) 

comment:19 Changed 5 years ago by michael

another patch that might help: http://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/139392.html
someone who has an affected platform, please test

comment:20 Changed 5 years ago by pigoz

Thanks Michael, your patch fixes both the crashes and the spam of

[h264_vda @ 0x7f8e21830a00] Reinit context to 1920x832, pix_fmt: 81
[h264_vda @ 0x7f8e21830a00] Missing reference picture, default is 0
[h264_vda @ 0x7f8e21830a00] decode_slice_header error

I mentioned previously on the thread.

comment:21 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by Michael, thank you for testing!

Note: See TracTickets for help on using tickets.