[x264-devel] crash with x264 64bit on mac os x 10.5.8

vmrsss vmrsss at gmail.com
Sun Jan 3 23:21:51 CET 2010


Hello everybody. 

Running x264 64bit (compiled with llvm-gcc-4.2) on mac os x 10.5.8

> > x264 --version
> x264 0.80.1376+56 47740e0
> built on Jan  3 2010, gcc: 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3)

with these parameters:

> x264 stream.y4m --threads auto --crf 22 --bframes 4 --b-adapt 2 --b-pyramid normal --direct auto --weightb --ref 6 --mixed-refs --subme 9 --me umh --trellis 2 --sar 64:45 --level 31 --output file.264

I systematically get the crash reported below in cpu_capabilities.h (the same code compiled at 32bit on the same architecture by the same compile runs that command just fine, albeit slow).

Does anybody know what's going on?

Thanks.

> Process:         x264 [73449]
> Path:            /usr/local/bin/x264
> Identifier:      x264
> Version:         ??? (???)
> Code Type:       X86-64 (Native)
> Parent Process:  bash [384]
> 
> Date/Time:       2010-01-03 21:32:34.499 +0000
> OS Version:      Mac OS X 10.5.8 (9L30)
> Report Version:  6
> Anonymous UUID:  20D11D39-3AAC-446A-9EB7-797D8F6C3BAA
> 
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001006d9ffc
> Crashed Thread:  1
> 
> Thread 0:
> 0   libSystem.B.dylib                   0x00007fff81c1edc2 __semwait_signal + 10
> 
> Thread 1 Crashed:
> 0   libSystem.B.dylib                   0x00007fffffe00f3e __memcpy + 1950 (cpu_capabilities.h:246)
> 
> Thread 2:
> 0   libSystem.B.dylib                   0x00007fff81cfe596 read$NOCANCEL + 10
> 1   libSystem.B.dylib                   0x00007fff81c4c5cd _sread + 19
> 2   libSystem.B.dylib                   0x00007fff81c4c582 __srefill + 313
> 3   libSystem.B.dylib                   0x00007fff81c5225e fread + 164
> 4   x264                                0x00000001000044ee main + 12238
> 5   ???                                 0x000000454d415246 0 + 297648869958
> 6   libSystem.B.dylib                   0x00007fff81c45d4d thread_start + 13
> 
> Thread 1 crashed with X86 Thread State (64-bit):
>   rax: 0x0000000000001200  rbx: 0x0000000000000001  rcx: 0xfffffffffff82380  rdx: 0x0000000000000036
>   rdi: 0x0000000100758f30  rsi: 0x0000000100757c9c  rbp: 0x0000000100753f10  rsp: 0x0000000100753f10
>    r8: 0x00000001002126f0   r9: 0x0000000000000000  r10: 0x00000000000000fc  r11: 0x0000000100758efa
>   r12: 0x0000000000000003  r13: 0x0000000000000003  r14: 0x0000000100758efa  r15: 0xffffffffffffffff
>   rip: 0x00007fffffe00f3e  rfl: 0x0000000000010282  cr2: 0x00000001006d9ffc
> 
> Binary Images:
>        0x100000000 -        0x100102ff7 +x264 ??? (???) <4eafd6295f41d705091f565b974fe7c7> /usr/local/bin/x264
>     0x7fff5fc00000 -     0x7fff5fc2e643  dyld 97.1 (???) <1d1ba42c89e77cfe2558a3c66129fff6> /usr/lib/dyld
>     0x7fff81c17000 -     0x7fff81da2ffb  libSystem.B.dylib ??? (???) <714d2608b5acae3ad5364897c49868fa> /usr/lib/libSystem.B.dylib
>     0x7fff82971000 -     0x7fff8297dff1  libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.dylib
>     0x7fff83cdf000 -     0x7fff83ce3fff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
>     0x7fffffe00000 -     0x7fffffe01780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
> 


More information about the x264-devel mailing list