Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 23:13:52 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Lena@lena.kiev.ua
Cc:        chromium-list freebsd <freebsd-chromium@freebsd.org>
Subject:   Re: chromium-32.0.1700.77 unusable on 8.4 i386
Message-ID:  <CADL2u4j%2B3W%2BfDNvDNX5FX095AWN8Fr2NBwaRecCyrsdtfLPBtg@mail.gmail.com>
In-Reply-To: <20140118203619.GA788@lena.kiev>
References:  <20131210091649.GA2050@lena.kiev> <52A6E556.6030009@freebsd.org> <20140118203619.GA788@lena.kiev>

next in thread | previous in thread | raw e-mail | index | archive | help
2014/1/18  <Lena@lena.kiev.ua>:
> On 8.4-RELEASE i386, not pkgng:
>
pkgng or pkg_* should not matter in this case ;)

> chromium-30.0.1599.101 built with gcc46 works OK
> even when significant part of memory (1467 MB RAM + 768 MB swap)
> is occupied with Firefox.
>
Ok ...

> Build of both chromuim-31.0.1650.63 and chromium-32.0.1700.77
> with gcc47 (FAVORITE_COMPILER=3Dgcc in make.conf) fails at
> CXX obj/testing/perf/perf_test.perf_test.o:
>
> =3D=3D=3D>  Configuring for chromium-32.0.1700.77
> cd /usr/ports/www/chromium/work/chromium-32.0.1700.77 && /usr/bin/env CC=
=3Dgcc47
> CXX=3Dg++47  GYP_GENERATORS=3Dninja  GYP_DEFINES=3D"use_cups=3D1  use_sys=
tem_yasm=3D1  use_system_libxml=3D1  use_system_ffmpeg=3D0  use_system_libu=
sb=3D1  use_system_libevent=3D1  use_system_libvpx=3D0  linux_breakpad=3D0 =
 linux_strip_binary=3D1  linux_use_tcmalloc=3D0  linux_use_heapchecker=3D0 =
 test_isolation_mode=3Dnoop  clang_use_chrome_plugins=3D0  disable_nacl=3D1=
  enable_webrtc=3D1  enable_openmax=3D1  enable_one_click_signin=3D1  werro=
r=3D  no_gc_sections=3D1  os_ver=3D804000  prefix_dir=3D/usr/local  python_=
ver=3D2.7 google_api_key=3DAIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8  google_=
default_client_id=3D996322985003.apps.googleusercontent.com  google_default=
_client_secret=3DIR1za9-1VK0zZ0f_O8MVFicn ffmpeg_branding=3DChrome propriet=
ary_codecs=3D1 use_gconf=3D0 use_pulseaudio=3D0 disable_sse2=3D1 buildtype=
=3DOfficial gcc_version=3D47" CFLAGS=3D"-O2 -pipe -march=3Dathlon-mp -fno-s=
tack-protector -Wno-unknown-warning-option -Wl,-rpath=3D/usr/local/lib/gcc4=
7 -fno-strict-aliasing"  CPPFLAGS=3D""  CXXFLAGS=3D"-O2 -pipe -march=3Dathl=
on-mp -fno-stack-protector -Wno-u
>  nknown-warning-option -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-strict-alia=
sing -Wl,-rpath=3D/usr/local/lib/gcc47"  LDFLAGS=3D" -Wl,-rpath=3D/usr/loca=
l/lib/gcc47 -L/usr/local/lib/gcc47" PYTHON=3D"/usr/local/bin/python2.7" PKG=
_CONFIG=3Dpkgconf SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh /usr/local/bin/pyt=
hon2.7  ./build/gyp_chromium chrome/chrome.gyp --depth .
> Updating projects from gyp files...
> ...
> [2872/12766] CXX obj/testing/perf/perf_test.perf_test.o
> FAILED: g++47 -MMD -MF obj/testing/perf/perf_test.perf_test.o.d -DANGLE_D=
X11 -D_FILE_OFFSET_BITS=3D64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD =
-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_X=
I2_MT=3D2 -DENABLE_REMOTING=3D1 -DENABLE_WEBRTC=3D1 -DUSE_PROPRIETARY_CODEC=
S -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATION=
S -DENABLE_EGLIMAGE=3D1 -DENABLE_TASK_MANAGER=3D1 -DENABLE_EXTENSIONS=3D1 -=
DENABLE_PLUGIN_INSTALLATION=3D1 -DENABLE_PLUGINS=3D1 -DENABLE_SESSION_SERVI=
CE=3D1 -DENABLE_THEMES=3D1 -DENABLE_BACKGROUND=3D1 -DENABLE_AUTOMATION=3D1 =
-DENABLE_GOOGLE_NOW=3D1 -DCLD_VERSION=3D2 -DENABLE_FULL_PRINTING=3D1 -DENAB=
LE_PRINTING=3D1 -DENABLE_SPELLCHECK=3D1 -DENABLE_CAPTIVE_PORTAL_DETECTION=
=3D1 -DENABLE_MANAGED_USERS=3D1 -DNDEBUG -DOFFICIAL_BUILD -DNVALGRIND -DDYN=
AMIC_ANNOTATIONS_ENABLED=3D0 -I../.. -fstack-protector --param=3Dssp-buffer=
-size=3D4  -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parame=
ter -Wno
>  -missing-field-initializers -fvisibility=3Dhidden -pipe -fPIC -I/usr/loc=
al/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/=
atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/loc=
al/include/drm -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/lo=
cal/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/fr=
eetype2 -I/usr/local/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_THREAD_SAFE -I/usr/local/include -Wno-format -m32 -mmmx -O2 -fno=
-ident -fdata-sections -ffunction-sections -fno-unwind-tables -fno-asynchro=
nous-unwind-tables -O2 -pipe -march=3Dathlon-mp -fno-stack-protector -Wno-u=
nknown-warning-option -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-strict-aliasin=
g -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-rtti -fno-threadsafe-statics -fvis=
ibility-inlines-hidden -Wno-deprecated  -c ../../testing/perf/perf_test.cc =
-o obj/testing/perf/perf_test.per
>  f_test.o
> In file included from ../../testing/perf/perf_test.cc:5:0:
> ../../testing/perf/perf_test.h:99:30: error: variable or field 'PrintSyst=
emCommitCharge' declared void
> ../../testing/perf/perf_test.h:99:30: error: 'FILE' was not declared in t=
his 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-expression=
 before 'const'
> ../../testing/perf/perf_test.h:101:37: error: expected primary-expression=
 before 'charge'
> ../../testing/perf/perf_test.h:102:30: error: expected primary-expression=
 before 'bool'
> ../../testing/perf/perf_test.cc: In function 'void perf_test::PrintSystem=
CommitCharge(const string&, size_t, bool)':
> ../../testing/perf/perf_test.cc:162:63: error: invalid initialization of =
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 'v=
oid perf_test::PrintSystemCommitCharge(const string&, size_t, bool)'
> At global scope:
> cc1plus: warning: unrecognized command line option "-Wno-unknown-warning-=
option" [enabled by default]
> ninja: build stopped: subcommand failed.
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e to
> the maintainer.
> *** Error code 1
> Stop in /usr/ports/www/chromium.
>
This must because GCC became stricter , I'm doing a test build in a
8.4-i386 jail right now to see what needs to be patched.

>
> Both chromuim-31.0.1650.63 and chromium-32.0.1700.77 built with clang cra=
sh.
> I'm new to Chromium. I never installed any plugin or extension myself.
> I 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:
>
On my 10.0-amd64 laptop with chromium 32.0.1700.77 this page works
fine. It even asks me if I want to have it translated.

> chromuim-31.0.1650.63:
> ~ $ 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)
>
> chromium-32.0.1700.77:
> Core was generated by `chrome'.
> Program terminated with signal 10, Bus error.
> ...
> #0  0x3108746b in ff_vp8_h_loop_filter16y_mbedge_sse2 ()
>    from /usr/local/share/chromium/libffmpegsumo.so
> [New Thread 32b46b00 (LWP 100206/chrome)]
> [New Thread 32b46c40 (LWP 100205/chrome)]
> [New Thread 32b46d80 (LWP 100204/chrome)]
> [New Thread 32b47140 (LWP 100203/chrome)]
> [New Thread 32b47280 (LWP 100202/chrome)]
> [New Thread 2ff04700 (LWP 100201/chrome)]
> [New Thread 2ff99740 (LWP 100199/chrome)]
> [New Thread 2ff9a140 (LWP 100189/chrome)]
> [New Thread 2ff9a280 (LWP 100188/chrome)]
> [New Thread 2ff01140 (LWP 100158/initial thread)]
> (gdb) bt
> #0  0x3108746b in ff_vp8_h_loop_filter16y_mbedge_sse2 ()
>    from /usr/local/share/chromium/libffmpegsumo.so
> (gdb)
>
These stacktraces are rather useless without debug symbols.
Try rebuilding Chromium with the DEBUG option on (make config).
You might have to add WITH_DEBUG=3Dyes to /etc/make.conf (read the fine
print in bsd.port.mk)

> 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,P=
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>   Features2=3D0x2001<SSE3,CX16>
>   AMD Features=3D0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow=
!>
>   AMD Features2=3D0x1d<LAHF,SVM,ExtAPIC,CR8>
>
Better than mine ...

> Then in chromium-32.0.1700.77 I chose "about Chromium" in menu,
> clicked the "x" to close the tab - Chromium terminated completely:
>
This is a known bug with Chromium 32 (at least under FreeBSD, so I
might have overlooked something).
If you have Chromium 32 installed on other operating systems, can you
look what it does there?

> ~ $ gdb /usr/local/share/chromium/chrome chrome.core
> ...
> Core was generated by `chrome'.
> Program terminated with signal 11, Segmentation fault.
> ...
> #0  0x084b3476 in ?? ()
> [New Thread 2ffc2340 (LWP 100089/chrome)]
> [New Thread 31ff7280 (LWP 100186/chrome)]
> [New Thread 2ffbfb40 (LWP 100184/chrome)]
> [New Thread 31ff73c0 (LWP 100182/chrome)]
> [New Thread 31050380 (LWP 100181/chrome)]
> [New Thread 31050740 (LWP 100180/chrome)]
> [New Thread 2ffc2840 (LWP 100179/chrome)]
> [New Thread 310509c0 (LWP 100178/chrome)]
> [New Thread 31050d80 (LWP 100177/chrome)]
> [New Thread 2ffc3740 (LWP 100176/chrome)]
> [New Thread 2ffc3880 (LWP 100174/chrome)]
> [New Thread 2ffc39c0 (LWP 100173/chrome)]
> [New Thread 2ffc3b00 (LWP 100172/chrome)]
> [New Thread 2ffc3c40 (LWP 100171/chrome)]
> [New Thread 2ffc3ec0 (LWP 100170/chrome)]
> [New Thread 2ffc4140 (LWP 100169/chrome)]
> [New Thread 2ffc3d80 (LWP 100168/chrome)]
> [New Thread 2ffc4280 (LWP 100167/chrome)]
> [New Thread 2ffc43c0 (LWP 100148/chrome)]
> [New Thread 2ff01140 (LWP 100133/initial thread)]
> (gdb) bt
> #0  0x084b3476 in ?? ()
> #1  0x084b32c8 in ?? ()
> #2  0x300a0c00 in ?? ()
> #3  0x0cc6e028 in ?? ()
> #4  0xbfbfd7d8 in ?? ()
> #5  0x0857cb8f in ?? ()
> #6  0x00000000 in ?? ()
> (gdb)
>
>
> I stopped Firefox (freed memory), deleted ~/.config/chromium and
> ~/.cache/chromium , started chromium-32.0.1700.77 again,
> closed the second tab before it had time to crash,
> in the first tab typed  groups.yahoo.com - it also gave "Aw snap", with:
>
> Core was generated by `chrome'.
> Program terminated with signal 10, Bus error.
> ...
> #0  0x08ced667 in ucnv_io_stripASCIIForCompare_46 ()
> [New Thread 2ffa3740 (LWP 100124/chrome)]
> [New Thread 2ffa4140 (LWP 100120/chrome)]
> [New Thread 2ffa4280 (LWP 100109/chrome)]
> [New Thread 2ff01140 (LWP 100190/initial thread)]
> (gdb) bt
> #0  0x08ced667 in ucnv_io_stripASCIIForCompare_46 ()
> #1  0xff000000 in ?? ()
> #2  0xff000000 in ?? ()
> #3  0xff000000 in ?? ()
> #4  0xff000000 in ?? ()
> #5  0x00000000 in ?? ()
> (gdb)
>
>
Ren=E9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4j%2B3W%2BfDNvDNX5FX095AWN8Fr2NBwaRecCyrsdtfLPBtg>