[Pkg-chromium-maint] Bug#696909: chromium segfaults on startup on armhf

peter green plugwash at p10link.net
Sat Feb 16 00:44:17 UTC 2013


peter green wrote:
> I can confim that using bfd instead of gold fixes the issue on armhf.
Since this mail a new version of chromium has hit sid and i've been 
doing some tests with it. I have good news and bad news.

The good news:
by using --no-keep-memory I was able to get the address space use of bfd 
down to a level where I could build the armel package on real (alibeit 
armv7) hardware and the resulting binary package works

The bad news
When I built the latest version for armhf with bfd and --no-keep-memory 
it didn't segfault on startup but it did fail with an "aw snap" error. 
Running with --single-process resulted in a segfault (though MUCH MUCH 
later in the startup process). I tried to get a backtrace but didn't 
manage to get a useful one.

root at linaro-ubuntu-desktop:/# chromium --debug --temp-profile 
--single-process
# Env:
#     LD_LIBRARY_PATH=/usr/lib/chromium:/usr/lib/xulrunner-1.9.1
#                
PATH=/usr/lib/chromium:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
#            GTK_PATH=
# CHROMIUM_USER_FLAGS=
#      CHROMIUM_FLAGS=--password-store=detect 
--user-data-dir=/tmp/tmp.qG3PfgnZsI
/usr/bin/gdb /usr/lib/chromium/chromium -x /tmp/chromiumargs.6OnkCE
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/chromium/chromium...Reading symbols from 
/usr/lib/debug/usr/lib/chromium/chromium...done.
done.
(gdb) run
Starting program: /usr/lib/chromium/chromium --password-store=detect 
--user-data-dir=/tmp/tmp.qG3PfgnZsI --single-process
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x42236290 (LWP 25964)]
[New Thread 0x42a7b290 (LWP 25965)]
[New Thread 0x4327b290 (LWP 25967)]
[New Thread 0x4329b290 (LWP 25968)]
[New Thread 0x43a9b290 (LWP 25969)]
[25946:25965:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[New Thread 0x40033290 (LWP 25970)]
[25946:25965:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25980:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25980:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25988:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25988:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25988:0216/002947:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 
Connection refused
[25971:25971:0216/002947:ERROR:media_transfer_protocol_daemon_client.cc(386)] 
Connect to org.chromium.Mtpd MTPStorageAttached failed.
[25971:25971:0216/002947:ERROR:media_transfer_protocol_daemon_client.cc(386)] 
Connect to org.chromium.Mtpd MTPStorageDetached failed.
[New Thread 0x44d9d290 (LWP 26000)]
[New Thread 0x4559d290 (LWP 26001)]
[New Thread 0x45d9d290 (LWP 26002)]
[New Thread 0x4659d290 (LWP 26003)]
[New Thread 0x46d9d290 (LWP 26004)]
[New Thread 0x4759d290 (LWP 26005)]
[New Thread 0x43ae1290 (LWP 26006)]
[25946:26005:0216/002948:ERROR:proxy_service_factory.cc(88)] Cannot use 
V8 Proxy resolver in single process mode.
[New Thread 0x47edf290 (LWP 26007)]
[25946:26001:0216/002949:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_soconnection 
refused
[25946:26001:0216/002949:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_soconnection 
refused
[25946:26001:0216/002949:ERROR:bus.cc(307)] Failed to connect to the 
bus: Failed to connect to socket /var/run/dbus/system_bus_soconnection 
refused
[25946:26005:0216/002949:ERROR:proxy_service_factory.cc(88)] Cannot use 
V8 Proxy resolver in single process mode.
[New Thread 0x486ff290 (LWP 26008)]
[New Thread 0x490ba290 (LWP 26009)]
[New Thread 0x49aae290 (LWP 26013)]
[New Thread 0x4a2ae290 (LWP 26014)]
[New Thread 0x4aaae290 (LWP 26019)]
[New Thread 0x4b2ae290 (LWP 26020)]
[New Thread 0x49250290 (LWP 26022)]
[New Thread 0x4bdff290 (LWP 26023)]
[25946:25946:0216/002952:ERROR:media_transfer_protocol_daemon_client.cc(386)] 
Connect to org.chromium.Mtpd MTPStorageAttached fail
[25946:25946:0216/002952:ERROR:media_transfer_protocol_daemon_client.cc(386)] 
Connect to org.chromium.Mtpd MTPStorageDetached fail
[New Thread 0x4da79290 (LWP 26024)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4a2ae290 (LWP 26014)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x3450a15c in ?? ()
#2  0x3450a15c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

I'm going to retry the armhf build with the "arm_thumb" and "armv7" 
defines set to 0 to see if that makes any difference.



More information about the Pkg-chromium-maint mailing list