Solved Web browser are in "segmentation fault (core dumped)" in Rpi 2

Fredo

New Member


Messages: 7

Hello.

I'm French and I don't speak English very well. But I hope that we can understand each other.

I'm new FreeBSD user and I learn to use this system in a Raspberry Pi 2. My FreeBSD version is 11.1.

I installed several web browser but most can't be used. Midori and Vimb-gtk2 fails when I connect to another web site (default page is vimb web page and I can browse this web site without problem).
When I start this applications from xterm, an error message appeared when they crash : "segmentation fault (core dumped)".

I have no problem with Netsurf.

Thanks for your help.

Fredo.
 
Last edited by a moderator:
OP
OP
F

Fredo

New Member


Messages: 7

Hello.

When I launch vimb in xterm, I have this message :
Code:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
The error message "Segmentation fault (core dumped)" is showing when vimb crash.

I'v launch this command : gdb vimb vimb.core
and this is the backtrace :
Code:
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "armv6-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `vimb'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libwebkitgtk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libwebkitgtk-1.0.so.0
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /lib/libthr.so.3...Reading symbols from /usr/lib/debug//lib/libthr.so.3.debug...done.
done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libfreetype.so.6...done.
Loaded symbols for /usr/local/lib/libfreetype.so.6
Reading symbols from /usr/local/lib/libsoup-2.4.so.1...done.
Loaded symbols for /usr/local/lib/libsoup-2.4.so.1
Reading symbols from /usr/local/lib/libgio-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libjavascriptcoregtk-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libjavascriptcoregtk-1.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libintl.so.8...done.
Loaded symbols for /usr/local/lib/libintl.so.8
Reading symbols from /lib/libc.so.7...Reading symbols from /usr/lib/debug//lib/libc.so.7.debug...done.
done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libenchant.so.1...done.
Loaded symbols for /usr/local/lib/libenchant.so.1
Reading symbols from /usr/local/lib/libharfbuzz-icu.so.0...done.
Loaded symbols for /usr/local/lib/libharfbuzz-icu.so.0
Reading symbols from /usr/local/lib/libharfbuzz.so.0...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libgstapp-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstapp-1.0.so.0
Reading symbols from /usr/local/lib/libgstaudio-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstaudio-1.0.so.0
Reading symbols from /usr/local/lib/libgstfft-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstfft-1.0.so.0
Reading symbols from /usr/local/lib/libgstpbutils-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstpbutils-1.0.so.0
Reading symbols from /usr/local/lib/libgstvideo-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstvideo-1.0.so.0
Reading symbols from /usr/local/lib/libgstbase-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstbase-1.0.so.0
Reading symbols from /usr/local/lib/libgstreamer-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgstreamer-1.0.so.0
Reading symbols from /usr/local/lib/libjpeg.so.8...done.
Loaded symbols for /usr/local/lib/libjpeg.so.8
Reading symbols from /usr/local/lib/libsecret-1.so.0...done.
Loaded symbols for /usr/local/lib/libsecret-1.so.0
Reading symbols from /usr/local/lib/libxslt.so.1...done.
Loaded symbols for /usr/local/lib/libxslt.so.1
Reading symbols from /usr/lib/liblzma.so.5...Reading symbols from /usr/lib/debug//usr/lib/liblzma.so.5.debug...done.
done.
Loaded symbols for /usr/lib/liblzma.so.5
Reading symbols from /usr/local/lib/libxml2.so.2...done.
Loaded symbols for /usr/local/lib/libxml2.so.2
Reading symbols from /usr/local/lib/libGL.so.1...done.
Loaded symbols for /usr/local/lib/libGL.so.1
Reading symbols from /usr/local/lib/libpng16.so.16...done.
Loaded symbols for /usr/local/lib/libpng16.so.16
Reading symbols from /usr/local/lib/libsqlite3.so.0...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.0
Reading symbols from /usr/local/lib/libicui18n.so.59...done.
Loaded symbols for /usr/local/lib/libicui18n.so.59
Reading symbols from /usr/local/lib/libicuuc.so.59...done.
Loaded symbols for /usr/local/lib/libicuuc.so.59
Reading symbols from /usr/local/lib/libicudata.so.59...done.
Loaded symbols for /usr/local/lib/libicudata.so.59
Reading symbols from /usr/local/lib/libwebp.so.7...done.
Loaded symbols for /usr/local/lib/libwebp.so.7
Reading symbols from /usr/local/lib/libXcomposite.so.1...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1
Reading symbols from /usr/local/lib/libXdamage.so.1...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libXfixes.so.3...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libXrender.so.1...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libXt.so.6...done.
Loaded symbols for /usr/local/lib/libXt.so.6
Reading symbols from /usr/local/lib/libX11.so.6...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /lib/libz.so.6...Reading symbols from /usr/lib/debug//lib/libz.so.6.debug...done.
done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/lib/libc++.so.1...Reading symbols from /usr/lib/debug//usr/lib/libc++.so.1.debug...done.
done.
Loaded symbols for /usr/lib/libc++.so.1
Reading symbols from /lib/libcxxrt.so.1...Reading symbols from /usr/lib/debug//lib/libcxxrt.so.1.debug...done.
done.
Loaded symbols for /lib/libcxxrt.so.1
Reading symbols from /lib/libm.so.5...Reading symbols from /usr/lib/debug//lib/libm.so.5.debug...done.
done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...Reading symbols from /usr/lib/debug//lib/libgcc_s.so.1.debug...done.
done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/local/lib/libXinerama.so.1...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXi.so.6...done.
Loaded symbols for /usr/local/lib/libXi.so.6
Reading symbols from /usr/local/lib/libXrandr.so.2...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libXcursor.so.1...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libXext.so.6...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libpixman-1.so.0...done.
Loaded symbols for /usr/local/lib/libpixman-1.so.0
Reading symbols from /usr/local/lib/libEGL.so.1...done.
Loaded symbols for /usr/local/lib/libEGL.so.1
Reading symbols from /usr/local/lib/libxcb-shm.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-shm.so.0
Reading symbols from /usr/local/lib/libxcb.so.1...done.
Loaded symbols for /usr/local/lib/libxcb.so.1
Reading symbols from /usr/local/lib/libxcb-render.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-render.so.0
Reading symbols from /usr/local/lib/libexpat.so.1...done.
Loaded symbols for /usr/local/lib/libexpat.so.1
Reading symbols from /usr/lib/libbz2.so.4...Reading symbols from /usr/lib/debug//usr/lib/libbz2.so.4.debug...done.
done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/local/lib/libffi.so.6...done.
Loaded symbols for /usr/local/lib/libffi.so.6
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /usr/local/lib/libgraphite2.so.3...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.3
Reading symbols from /usr/local/lib/libgsttag-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libgsttag-1.0.so.0
Reading symbols from /usr/local/lib/liborc-0.4.so.0...done.
Loaded symbols for /usr/local/lib/liborc-0.4.so.0
Reading symbols from /usr/lib/librt.so.1...Reading symbols from /usr/lib/debug//usr/lib/librt.so.1.debug...done.
done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/local/lib/libgcrypt.so.20...done.
Loaded symbols for /usr/local/lib/libgcrypt.so.20
Reading symbols from /usr/local/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Reading symbols from /usr/local/lib/libxcb-dri3.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-dri3.so.0
Reading symbols from /usr/local/lib/libxcb-xfixes.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-xfixes.so.0
Reading symbols from /usr/local/lib/libxcb-present.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-present.so.0
Reading symbols from /usr/local/lib/libxcb-sync.so.1...done.
Loaded symbols for /usr/local/lib/libxcb-sync.so.1
Reading symbols from /usr/local/lib/libxshmfence.so.1...done.
Loaded symbols for /usr/local/lib/libxshmfence.so.1
Reading symbols from /usr/local/lib/libglapi.so.0...done.
Loaded symbols for /usr/local/lib/libglapi.so.0
Reading symbols from /usr/local/lib/libX11-xcb.so.1...done.
Loaded symbols for /usr/local/lib/libX11-xcb.so.1
Reading symbols from /usr/local/lib/libxcb-glx.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-glx.so.0
Reading symbols from /usr/local/lib/libxcb-dri2.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-dri2.so.0
Reading symbols from /usr/local/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/local/lib/libXxf86vm.so.1
Reading symbols from /usr/local/lib/libdrm.so.2...done.
Loaded symbols for /usr/local/lib/libdrm.so.2
Reading symbols from /usr/local/lib/libSM.so.6...done.
Loaded symbols for /usr/local/lib/libSM.so.6
Reading symbols from /usr/local/lib/libICE.so.6...done.
Loaded symbols for /usr/local/lib/libICE.so.6
Reading symbols from /usr/local/lib/libgbm.so.1...done.
Loaded symbols for /usr/local/lib/libgbm.so.1
Reading symbols from /usr/local/lib/libXau.so.6...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/lib/i18n/libiconv_std.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libiconv_std.so.4.debug...done.
done.
Loaded symbols for /usr/lib/i18n/libiconv_std.so.4
Reading symbols from /usr/lib/i18n/libUTF8.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libUTF8.so.4.debug...done.
done.
Loaded symbols for /usr/lib/i18n/libUTF8.so.4
Reading symbols from /usr/lib/i18n/libmapper_none.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libmapper_none.so.4.debug...done.
done.
Loaded symbols for /usr/lib/i18n/libmapper_none.so.4
Reading symbols from /usr/local/lib/enchant/libenchant_myspell.so...done.
Loaded symbols for /usr/local/lib/enchant/libenchant_myspell.so
Reading symbols from /usr/local/lib/libhunspell-1.6.so.0...done.
Loaded symbols for /usr/local/lib/libhunspell-1.6.so.0
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /lib/libutil.so.9...Reading symbols from /usr/lib/debug//lib/libutil.so.9.debug...done.
done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /usr/local/lib/gio/modules/libgiognomeproxy.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgiognomeproxy.so
Reading symbols from /usr/local/lib/gio/modules/libgiolibproxy.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgiolibproxy.so
Reading symbols from /usr/local/lib/libproxy.so.1...done.
Loaded symbols for /usr/local/lib/libproxy.so.1
Reading symbols from /usr/local/lib/gio/modules/libgiognutls.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgiognutls.so
Reading symbols from /usr/local/lib/libp11-kit.so.0...done.
Loaded symbols for /usr/local/lib/libp11-kit.so.0
Reading symbols from /usr/local/lib/libgnutls.so.30...done.
Loaded symbols for /usr/local/lib/libgnutls.so.30
Reading symbols from /usr/local/lib/libunistring.so.2...done.
Loaded symbols for /usr/local/lib/libunistring.so.2
Reading symbols from /usr/local/lib/libtasn1.so.6...done.
Loaded symbols for /usr/local/lib/libtasn1.so.6
Reading symbols from /usr/local/lib/libnettle.so.6...done.
Loaded symbols for /usr/local/lib/libnettle.so.6
Reading symbols from /usr/local/lib/libhogweed.so.4...done.
Loaded symbols for /usr/local/lib/libhogweed.so.4
Reading symbols from /usr/local/lib/libgmp.so.10...done.
Loaded symbols for /usr/local/lib/libgmp.so.10
Reading symbols from /usr/local/lib/libidn2.so.0...done.
Loaded symbols for /usr/local/lib/libidn2.so.0
Reading symbols from /usr/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
Reading symbols from /libexec/ld-elf.so.1...Reading symbols from /usr/lib/debug//libexec/ld-elf.so.1.debug...done.
done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x20b72a84 in WebCore::ScriptElement::requestScript ()
   from /usr/local/lib/libwebkitgtk-1.0.so.0
(gdb) bt full
#0  0x20b72a84 in WebCore::ScriptElement::requestScript ()
   from /usr/local/lib/libwebkitgtk-1.0.so.0
No symbol table info available.
#1  0x20b71630 in WebCore::ScriptElement::prepareScript ()
   from /usr/local/lib/libwebkitgtk-1.0.so.0
No symbol table info available.
#2  0x20b713bc in WebCore::ScriptElement::didNotifySubtreeInsertions ()
   from /usr/local/lib/libwebkitgtk-1.0.so.0
No symbol table info available.
#3  0x20b017ac in WebCore::ContainerNode::radioNodeList ()
   from /usr/local/lib/libwebkitgtk-1.0.so.0
No symbol table info available.
#4  0x20035f78 in _rtld_bind (obj=0x0, reloff=3217022588)
    at /usr/src/libexec/rtld-elf/rtld.c:805
   lockstate = <value optimized out>
   defobj = <value optimized out>
   def = <value optimized out>
   target = <value optimized out>
#5  0x29124720 in ?? ()
No symbol table info available.
(gdb) (gdb) (gdb) (gdb) Hangup detected on fd 0
error detected on stdin
 
OP
OP
F

Fredo

New Member


Messages: 7

Good evening.

Finally I found a solution.

I searched in the compilation instuction of Arch Linux arm's PKGBUILD and there was a comment about "--disable-jit". This comment said that is necessary to disable JIT because segmentation fault.

In recent test I found that it was the web pages with javascript that crashed the browser.

I have built webkitgtk from port after modify the Makefile to include this option ("--disable-jit"). And after reinstallation, vimb works ! (and probably all others webkitgtk based web browser like midori, surf, etc.)

Maybe the Makefile would be modify to include exception for armv6 compilation (there is the same exception for PowerPC arch in the Makefile). But, I'm not programmer and I don't know how offer this modification.
 
Top