Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 13:26:09 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Lena@lena.kiev.ua
Cc:        freebsd-chromium@freebsd.org, Mark Atkinson <atkin901@gmail.com>, Andrew Johnson <daeron@optushome.com.au>
Subject:   Re: 31
Message-ID:  <52A859E1.7000702@freebsd.org>
In-Reply-To: <20131210193634.GK791@lena.kiev>
References:  <20131210091649.GA2050@lena.kiev> <52A6E556.6030009@freebsd.org> <20131210193634.GK791@lena.kiev>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/10/13 20:36, Lena@lena.kiev.ua wrote:
>> From: Ren? Ladan <rene@freebsd.org>
>> On 10-12-2013 10:16, Lena@lena.kiev.ua wrote:
>>> Mark Atkinson <atkin901@gmail.com> wrote:
>>>
>>>> On 12/02/2013 22:50, Andrew Johnson <daeron@optushome.com.au> wrote:=

>>>>> I made the mistake of allowing chromium to be updated to
>>>>> 31.0.1650.57_1 during a portupgrade...
>>>>>
>>>>> Has anyone yet betten the 'Aw snap' and blank-page problems with it=
?
>>>> Mine works fine.
>>> Please go to www.yahoo.com and groups.yahoo.com
>>> and wait a minute on each of those pages.
>>> I get (Russian version) of "Aw snap" or a blank page.
>> Are you running low on (virtual) memory? Neither page seems to error o=
ut
>> here (4GB RAM, 10.0-amd64, clang)
> chromium-30.0.1599.101 built with gcc46 works OK on 8.4-i386
> even when significant part of memory (1467 MB RAM + 768 MB swap)
> is occupied with Firefox.
Hm, ok, I just remember getting these "aw snap" pages when running low
on memory.
>>> Chromium 31.0.1650.63 build with GCC fails
>> Are you using lang/gcc (gcc 4.6.4)?
> ~ $ pkg_info | egrep 'gcc|clang'
> clang33-3.3_3       C, Objective-C, and C++ compiler
> gcc-4.6.4           GNU Compiler Collection 4.6
> gcc-ecj-4.5         Eclipse Java Compiler used to build GCC Java
> gcc47-4.7.4.20131130 GNU Compiler Collection 4.7
>
> =3D=3D=3D>  Building for chromium-31.0.1650.63
> cd /usr/ports/www/chromium/work/chromium-31.0.1650.63 && /usr/bin/env B=
UILDTYPE=3DRelease  GPERF=3D/usr/local/bin/gperf SHELL=3D/bin/sh NO_LINT=3D=
YES ADDR2LINE=3D"/usr/local/bin/addr2line" AR=3D"/usr/local/bin/ar" AS=3D=
"/usr/local/bin/as" CPPFILT=3D"/usr/local/bin/c++filt" GPROF=3D"/usr/loca=
l/bin/gprof" LD=3D"/usr/local/bin/ld" NM=3D"/usr/local/bin/nm" OBJCOPY=3D=
"/usr/local/bin/objcopy" OBJDUMP=3D"/usr/local/bin/objdump" RANLIB=3D"/us=
r/local/bin/ranlib" READELF=3D"/usr/local/bin/readelf" SIZE=3D"/usr/local=
/bin/size" STRINGS=3D"/usr/local/bin/strings" PREFIX=3D/usr/local  LOCALB=
ASE=3D/usr/local  LIBDIR=3D"/usr/lib"  CC=3D"gcc47" CFLAGS=3D"-O2 -pipe -=
march=3Dathlon-mp -fno-stack-protector -Wno-unknown-warning-option -Wl,-r=
path=3D/usr/local/lib/gcc47 -fno-strict-aliasing"  CPP=3D"cpp47" CPPFLAGS=
=3D""  LDFLAGS=3D" -Wl,-rpath=3D/usr/local/lib/gcc47 -L/usr/local/lib/gcc=
47"  CXX=3D"g++47" CXXFLAGS=3D"-O2 -pipe -march=3Dathlon-mp -fno-stack-pr=
otector -Wno-unknown-warning-option -Wl,-rpath=3D/usr/local/lib/gcc47 -fn=
o-strict-aliasing -Wl,-rpath=3D/usr/local/lib/gcc47"  MANPREFIX=3D"/usr/l=
ocal" BSD_INSTALL_PROGRAM=3D"install  -s -o root -g wheel -m 555"  BSD_IN=
STALL_LIB=3D"install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT=3D"=
install  -o root -g wheel -m 555"  BSD_INSTALL_DATA=3D"install  -o root -=
g wheel -m 444"  BSD_INSTALL_MAN=3D"install
>  -o root -g wheel -m 444" /usr/local/bin/ninja  -j1 -C out/Release chro=
me
> ninja: Entering directory `out/Release'
> ...
> [3258/12491] CXX obj/testing/perf/perf_test.perf_test.o
> FAILED: g++47 -MMD -MF obj/testing/perf/perf_test.perf_test.o.d -DANGLE=
_DX11 -D_FILE_OFFSET_BITS=3D64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BU=
ILD -DUSE_DEFAULT_RENDER_THEME=3D1 -DUSE_LIBJPEG_TURBO=3D1 -DUSE_NSS=3D1 =
-DUSE_X11=3D1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=3D1=
 -DUSE_XI2_MT=3D2 -DENABLE_REMOTING=3D1 -DENABLE_WEBRTC=3D1 -DUSE_PROPRIE=
TARY_CODECS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_=
NOTIFICATIONS -DENABLE_GPU=3D1 -DENABLE_EGLIMAGE=3D1 -DENABLE_TASK_MANAGE=
R=3D1 -DENABLE_EXTENSIONS=3D1 -DENABLE_PLUGIN_INSTALLATION=3D1 -DENABLE_P=
LUGINS=3D1 -DENABLE_SESSION_SERVICE=3D1 -DENABLE_THEMES=3D1 -DENABLE_BACK=
GROUND=3D1 -DENABLE_AUTOMATION=3D1 -DENABLE_GOOGLE_NOW=3D1 -DCLD_VERSION=3D=
1 -DENABLE_FULL_PRINTING=3D1 -DENABLE_PRINTING=3D1 -DENABLE_SPELLCHECK=3D=
1 -DENABLE_CAPTIVE_PORTAL_DETECTION=3D1 -DENABLE_MANAGED_USERS=3D1 -DNDEB=
UG -DOFFICIAL_BUILD -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -I../..=
 -fstack-protector --param=3Dssp-buffer-size=3D4  -pthread -fno-exception=
s -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializ=
ers -fvisibility=3Dhidden -pipe -fPIC -I/usr/local/include/gtk-2.0 -I/usr=
/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/in=
clude/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/drm -D_THR=
EAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng1=
5 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/lo=
cal/include/harfbuzz -pthread -I/usr/local/include/glib-2.0 -I/usr/local/=
include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -D_TH=
READ_SAFE -I/usr/local/include -Wno-format -m32 -mmmx -O2 -fno-ident -fda=
ta-sections -ffunction-sections -fno-unwind-tables -fno-asynchronous-unwi=
nd-tables -O2 -pipe -march=3Dathlon-mp -fno-stack-protector -Wno-unknown-=
warning-option -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-strict-aliasing -Wl=
,-rpath=3D/usr/local/lib/gcc47 -fno-rtti -fno-threadsafe-statics -fvisibi=
lity-inlines-hidden -Wno-deprecated  -c ../../testing/perf/perf_test.cc -=
o obj/testing/perf/perf_test.perf_test.o
> In file included from ../../testing/perf/perf_test.cc:5:0:
> ../../testing/perf/perf_test.h:99:30: error: variable or field 'PrintSy=
stemCommitCharge' declared void
> ../../testing/perf/perf_test.h:99:30: error: 'FILE' was not declared in=
 this scope
> ../../testing/perf/perf_test.h:99:36: error: 'target' was not declared =
in this scope
> ../../testing/perf/perf_test.h:100:30: error: expected primary-expressi=
on before 'const'
> ../../testing/perf/perf_test.h:101:37: error: expected primary-expressi=
on before 'charge'
> ../../testing/perf/perf_test.h:102:30: error: expected primary-expressi=
on before 'bool'
> ../../testing/perf/perf_test.cc: In function 'void perf_test::PrintSyst=
emCommitCharge(const string&, size_t, bool)':
> ../../testing/perf/perf_test.cc:162:63: error: invalid initialization o=
f reference of type 'const string& {aka const std::basic_string<char>&}' =
from expression of type '__sFILE*'
> ../../testing/perf/perf_test.cc:159:6: error: in passing argument 1 of =
'void perf_test::PrintSystemCommitCharge(const string&, size_t, bool)'
This looks like more patches for GCC (4.7 in this case) are needed :(
> At global scope:
> cc1plus: warning: unrecognized command line option "-Wno-unknown-warnin=
g-option" [enabled by default]
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> Stop in /usr/ports/www/chromium.
> *** Error code 1
>
>
>>> 8.4-RELEASE-p4 i386, chromium-31.0.1650.63 biult with clang
>>> (I build other ports with "FAVORITE_COMPILER=3Dgcc" in /etc/make.conf=
).
>> Do you have any plugins loaded?
> I'm new to Chromium. I never installed any plugin or extension myself.
> I built chromium-31.0.1650.63 with clang, stopped Firefox (freed memory=
),
> deleted ~/.config/chromium and ~/.cache/chromium ,
> started Chromium and just waited. In second tab it loaded
> www.google.com/intl/ru/chrome/browser/welcome.html
> and it gave (Russian version of) 'Aw snap', with
>
> pid 72351 (chrome), uid 1001: exited on signal 10 (core dumped)
>
> in dmesg.   =20
>
> ~ $ gdb /usr/local/share/chromium/chrome chrome.core
> ...
> Core was generated by `chrome'.
> Program terminated with signal 10, Bus error.
> ...
> #0  0x30e4482b in ff_vp8_h_loop_filter16y_mbedge_sse2 ()
>    from /usr/local/share/chromium/libffmpegsumo.so
> [New Thread 318ff9c0 (LWP 100146/chrome)]
> [New Thread 318ffb00 (LWP 100145/chrome)]
> [New Thread 318ffc40 (LWP 100141/chrome)]
> [New Thread 318ffec0 (LWP 100144/chrome)]
> [New Thread 31937140 (LWP 100142/chrome)]
> [New Thread 2fd03d00 (LWP 100140/chrome)]
> [New Thread 2fdb2380 (LWP 100123/chrome)]
> [New Thread 2fdb3140 (LWP 100138/chrome)]
> [New Thread 2fdb3280 (LWP 100134/chrome)]
> [New Thread 2fd01140 (LWP 100080/initial thread)]
> (gdb) bt
> #0  0x30e4482b in ff_vp8_h_loop_filter16y_mbedge_sse2 ()
>    from /usr/local/share/chromium/libffmpegsumo.so
> (gdb)
>
>
> CPU: AMD Athlon(tm) 64 Processor 3500+ (2204.61-MHz 686-class CPU)
>   Origin =3D "AuthenticAMD"  Id =3D 0x50ff2  Family =3D f  Model =3D 5f=
  Stepping =3D 2
>   Features=3D0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR=
,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>   Features2=3D0x2001<SSE3,CX16>
>   AMD Features=3D0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DN=
ow!>
>   AMD Features2=3D0x1d<LAHF,SVM,ExtAPIC,CR8>
>
>
Hm, this might be an upstream bug, the ffmpeg component is not modified
by the port.

Ren=E9




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A859E1.7000702>