chromium 36 exit itselt with segfault

René Ladan rene at freebsd.org
Sun Aug 17 21:22:00 UTC 2014


2014-08-17 23:11 GMT+02:00 Kris Moore <kris at pcbsd.org>:

> On 08/16/2014 13:24, brunomaximom at openmailbox.org wrote:
> > Hey, I'm using 10-STABLE and Chromium has problem ,I don't know if is
> > only for STABLE.
> > ATTENTION: default value of option force_s3tc_enable overridden by
> > environment.
> > [1820:345772032:0816/142150:ERROR:object_proxy.cc(566)] Failed to call
> > method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd:
> > org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd
> > was not provided by any .service files
> > [1820:345772032:0816/142150:ERROR:native_backend_kwallet_x.cc(230)]
> > Error contacting kwalletd (isEnabled)
> > [1820:345777152:0816/142150:ERROR:gservices_settings.cc(103)] Setting
> > not found: checkin_interval
> > [1820:345772032:0816/142150:ERROR:object_proxy.cc(566)] Failed to call
> > method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd:
> > org.freedesktop.DBus.Error.NoReply: Message did not receive a reply
> > (timeout by message bus)
> > [1820:345772032:0816/142150:ERROR:native_backend_kwallet_x.cc(230)]
> > Error contacting kwalletd (isEnabled)
> > [1820:343958528:0816/142150:ERROR:desktop_window_tree_host_x11.cc(1330)]
> > Not implemented reached in void
> > views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
> > Segmentation fault
> > _______________________________________________
> > freebsd-chromium at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
> > To unsubscribe, send any mail to
> > "freebsd-chromium-unsubscribe at freebsd.org"
>
> I see the same thing here on 10.0-RELEASE. If I remove the old
> ~/.config/chromium directory, it will start up, but it seg faults
> immediately again when I try to "Sign into chromium". Even if I select
> to let me pick which options to sync, it still segfaults immediately
> upon signing in.
>
> Hmm, what happens if you apply the attached patch and rebuild?
This requires a full rebuild because third_party/protobuf needs to be
"undeleted", you might want to save work/.ccache if it's there.

This patch is against the github version at
https://github.com/gliaskos/freebsd-chromium

Rene
-------------- next part --------------
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 34bdff3..57f9321 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -43,7 +43,6 @@ LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo \
 		libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \
 		libminizip.so:${PORTSDIR}/archivers/minizip \
 		libnspr4.so:${PORTSDIR}/devel/nspr \
-		libprotobuf.so:${PORTSDIR}/devel/protobuf \
 		libpng.so:${PORTSDIR}/graphics/png \
 		libre2.so:${PORTSDIR}/devel/re2 \
 		libsnappy.so:${PORTSDIR}/archivers/snappy \
@@ -110,7 +109,6 @@ GYP_DEFINES+=	\
 		use_system_minizip=1 \
 		use_system_nspr=1 \
 		use_system_openssl=1 \
-		use_system_protobuf=1 \
 		use_system_re2=1 \
 		use_system_snappy=1 \
 		use_system_speex=1 \
@@ -244,6 +242,7 @@ pre-configure:
 	#             should be called "keep_bundled_libraries.py"
 	cd ${WRKSRC} && ${PYTHON_CMD} \
 		./build/linux/unbundle/remove_bundled_libraries.py \
+		'third_party/protobuf' \
 		'base/third_party/dmg_fp' \
 		'base/third_party/dynamic_annotations' \
 		'base/third_party/icu' \
@@ -345,6 +344,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak ${STAGEDIR}${DATADIR}
 .endfor
 	${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome ${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/protoc ${STAGEDIR}${DATADIR}
 	${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libffmpegsumo.so ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC}/out/${BUILDTYPE} && \
 		${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR}
diff --git a/www/chromium/pkg-plist b/www/chromium/pkg-plist
index b8eaa77..b2d50c6 100644
--- a/www/chromium/pkg-plist
+++ b/www/chromium/pkg-plist
@@ -61,6 +61,7 @@ share/applications/chromium-browser.desktop
 %%DATADIR%%/locales/zh-CN.pak
 %%DATADIR%%/locales/zh-TW.pak
 %%DATADIR%%/mksnapshot
+%%DATADIR%%/protoc
 %%DATADIR%%/resources.pak
 %%DATADIR%%/resources/extension/demo/library.js
 %%DATADIR%%/resources/inspector/Images/addIcon.png


More information about the freebsd-chromium mailing list