[x264-devel] core dump on solaris 10/space withx264-snapshot-20100112-2245

Sean McGovern gseanmcg at gmail.com
Thu Jan 14 17:46:55 CET 2010


I've had x264 working on Sol10 X86 for quite some time now.

I recently acquired an SPARC SB1000 but haven't had time to set it up yet.

Tried building it without --enable-shared?

-- Sean
-----Original Message-----
From: Chris Brookes <cbrookes at gmail.com>
Date: Thu, 14 Jan 2010 10:41:25 
To: <x264-devel at videolan.org>
Subject: [x264-devel] core dump on solaris 10/space with
	x264-snapshot-20100112-2245

Been trying to get X264 running on Solaris 10 (sparc) without any
success. Initially I was trying to covert random files through ffmpeg
and it was always coredumping in the x264_mb_encode_8x8_chroma
function. I eliminated ffmpeg and started using the x264 binary
directly, ./configure --prefix=/nslcm/system --enable-pic
--enable-shared  and it cores in the same place. I have tried various
revisions up to 20100112-2245. Below is an example command line and a
sun pstack/pmap from the core files.

Interestingly I recompiled with --enable-debug and it wouldn't crash.

SunOS apsz9024 5.10 Generic_127111-10 sun4v sparc SUNW,SPARC-Enterprise-T5220

x264-snapshot-20100112-2245

[nslcm at apsz9024:/nslcm-ss/media-dev/tmp> x264 --keyint 15 --min-keyint
1 --vbv-maxrate 29400 --vbv-bufsize 9500 --qpmin 10 --level 4.1
--bframe 2 --weightb  --ref 3 --mixed-refs --direct auto --filter 0:0
--bitrate 12000 --stats "H264_12Mbps.log" --qcomp 0.75 --ipratio 1.10
--pbratio 1.33 --analyse "all"  --8x8dct --me "hex" --subme 6
--no-fast-pskip --trellis 2 --threads 1 -o output.264
1088p25_blue_sky.yuv 1920x1080
x264 [info]: 1920x1080 @ 25.00 fps
x264 [info]: using cpu capabilities: none!
x264 [info]: profile High, level 4.1
Segmentation Fault (core dumped)

[nslcm at apsz9024:/nslcm-ss/media-dev/tmp> pstack
/nslcm/cores/core.apsz9024.x264.38352.7795
core '/nslcm/cores/core.apsz9024.x264.38352.7795' of 7795:      x264
--keyint 15 --min-keyint 1 --vbv-maxrate 29400 --vbv-bufsize 9500
 00080138 x264_mb_encode_8x8_chroma (b2680, 3, b9080, 0, 1, 10000) + 618
 0008124c x264_macroblock_encode (b2680, 35af8, 0, 4000, 4c00, 5f38) + 26c
 00050a68 ???????? (b2680, 912, 3388, 0, 3394, 4800)
 00065368 x264_macroblock_analyse (b2680, 1, 1f2, ffffd400, 2c2, 3000) + 2f50
 00029948 ???????? (b2680, 2800, 28d4, 0, 5000, 0)
 0002d4e0 x264_encoder_encode (b2680, 2b2c, 3000, 33b0, 14c8, 40) + 1aa4
 00016380 main     (2c, a, 0, 0, 47d21, c214b266) + 15f4
 000137f4 _start   (0, 0, 0, 0, 0, 0) + 5c

[nslcm at apsz9024:/nslcm-ss/media-dev/tmp> pmap
/nslcm/cores/core.apsz9024.x264.38352.7795
core '/nslcm/cores/core.apsz9024.x264.38352.7795' of 7795:      x264
--keyint 15 --min-keyint 1 --vbv-maxrate 29400 --vbv-bufsize 9500
00010000     512K r-x--  /nslcm/system/bin/x264
00090000      40K r-x--
000A8000      16K rwx--  /nslcm/system/bin/x264
000AC000      16K rwx--  /nslcm/system/bin/x264
000B0000    3392K rwx--  /nslcm/system/bin/x264
00400000  139264K rwx--    [ heap ]
FF180000     832K r-x--  /lib/libc.so.1
FF250000      56K r-x--
FF26E000      32K rwx--  /lib/libc.so.1
FF276000       8K rwx--  /lib/libc.so.1
FF280000     640K r-x--  /lib/libm.so.2
FF320000      40K r-x--
FF338000      32K rwx--  /lib/libm.so.2
FF350000       8K r-x--  /platform/sun4v/lib/libc_psr.so.1
FF360000      24K rwx--
FF380000       8K rwx--
FF390000      16K r-x--  /lib/libpthread.so.1
FF3A0000       8K r----*
FF3B0000     192K r-x--  /lib/ld.so.1
FF3E0000      16K r-x--
FF3F4000       8K rwx--  /lib/ld.so.1
FF3F6000       8K rwx--  /lib/ld.so.1
FFBF0000      64K rw---    [ stack ]
 total    145232K




Then here's the output of the sucessful run after recompiling with
--enable-debug:

[nslcm at apsz9024:/nslcm-ss/media-dev/tmp> x264 --keyint 15 --min-keyint
1 --vbv-maxrate 29400 --vbv-bufsize 9500 --qpmin 10 --level 4.1
--bframe 2 --weightb  --ref 3 --mixed-refs --direct auto --filter 0:0
--bitrate 12000 --stats "H264_12Mbps.log" --qcomp 0.75 --ipratio 1.10
--pbratio 1.33 --analyse "all"  --8x8dct --me "hex" --subme 6
--no-fast-pskip --trellis 2 --threads 1 -o output.264
1088p25_blue_sky.yuv 1920x1080
x264 [info]: 1920x1080 @ 25.00 fps
x264 [info]: using cpu capabilities: none!
x264 [info]: profile High, level 4.1
x264 [info]: frame I:7     Avg QP:32.19  size:135910
x264 [info]: frame P:58    Avg QP:35.34  size: 66536
x264 [info]: frame B:35    Avg QP:39.94  size: 74784
x264 [info]: consecutive B-frames: 26.9% 66.7%  6.5%
x264 [info]: mb I  I16..4: 40.7% 47.8% 11.6%
x264 [info]: mb P  I16..4: 20.9% 22.1%  1.6%  P16..4: 37.7%  6.1%
5.7%  0.0%  0.0%    skip: 5.8%
x264 [info]: mb B  I16..4:  2.0%  0.6%  0.0%  B16..8: 43.6%  0.4%
0.1%  direct:46.2%  skip: 7.1%  L0:54.8% L1:38.2% BI: 7.0%
x264 [info]: final ratefactor: 32.66
x264 [info]: 8x8 transform intra:48.5% inter:75.4%
x264 [info]: direct mvs  spatial:0.0% temporal:100.0%
x264 [info]: coded y,uvDC,uvAC intra: 18.5% 87.3% 78.0% inter: 5.7% 84.8% 72.0%
x264 [info]: i16 v,h,dc,p: 61% 21% 15%  3%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 13% 57%  3%  4%  2%  6%  2%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 23% 25%  4% 10%  5% 12%  3%  6%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: ref P L0: 52.8% 23.9% 10.7% 12.6%
x264 [info]: ref B L0: 70.1% 29.9%
x264 [info]: kb/s:14855.82

encoded 100 frames, 0.04 fps, 14855.82 kb/s

Seemed to take a long time to encode, but since I've not actually
managed to see it working up until this point, I don't have a
benchmark to compare to, so I assume it's time consuming due to the
high def uncompressed source.

Any help appreciated

Cheers

Brooke C
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list