Illegal instruction in chromium on startup on armel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Medium
|
Fabien Tassin |
Bug Description
Binary package hint: chromium-browser
I tried installing a new version of chromium on my AC100 and noticed that it refused to start.
Installing debug info and look at the backtrace it appears as though something is using the d16 register where it shouldn't . This is either a compiler bug or there is some code that explicitly uses d16 in inline assembly both of which are wrong or the package overrides default build flags and adds it's own -mfpu=neon or -mfpu=vfpv3 flags. The build logs don't seem to help with this info very much because the actual flags don't seem to show up in the logs.
The function appears to be a C++ function and hence should be compiled code.
Program received signal SIGILL, Illegal instruction.
enterprise_
at out/Release/
142 out/Release/
in out/Release/
(gdb) bt
#0 enterprise_
at out/Release/
#1 0x00474da2 in enterprise_
at out/Release/
#2 0x00475344 in enterprise_
at out/Release/
#3 0x004755ea in StaticDescripto
at out/Release/
#4 __static_
at out/Release/
#5 global constructors keyed to device_
at out/Release/
#6 0x013b20fa in __libc_csu_init ()
#7 0x013b20fa in __libc_csu_init ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) x /i $pc
=> 0x474d0c <enterprise_
vldr d16, [pc, #40] ; 0x474d38 <enterprise_
If someone can help in rebuilding chromium and/or getting a reduced testcase pre-processed file concerned in case this is a compiler bug then I'm happy to look into it further.
Version number is 10.0.648.
Ramana
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: chromium-browser 10.0.648.
Uname: Linux 2.6.29-arm2-ac100 armv7l
Architecture: armel
ChromiumPrefs: can't open profile /home/ramana/
Date: Wed Mar 16 02:17:46 2011
Desktop-Session:
DESKTOP_SESSION = une-efl
GNOME_
XDG_CONFIG_DIRS = /etc/xdg/
XDG_DATA_DIRS = /usr/share/
Env:
MOZ_PLUGIN_PATH = None
LD_LIBRARY_PATH = None
ProcEnviron:
LANG=C
SHELL=/bin/bash
SourcePackage: chromium-browser
chromium-default: CHROMIUM_FLAGS=""
tags: | added: arm-porting-queue |
Just in case - the AC100 is vfpv3-d16 hardware only.