[snap] chromium is built with NEON on armhf (SIGILL, Illegal instruction)

Bug #1884856 reported by Dmitry Osipenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

Chromium-browser stopped working on NVIDIA Tegra20 devices since the time it was switched to the snap packaging.

# gdb /snap/bin/chromium
...
Thread 11 "chrome" received signal SIGILL, Illegal instruction.
0xb6b4ee9a in std::__1::locale::__imp::__imp(unsigned int) () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
(gdb) bt
#0 0xb6b4ee9a in std::__1::locale::__imp::__imp(unsigned int) () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#1 0xb6b509c8 in std::__1::locale::__global() () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#2 0xb6b50a32 in std::__1::locale::locale() () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#3 0xb6b3e7d0 in std::__1::basic_streambuf<char, std::__1::char_traits<char> >::basic_streambuf() () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#4 0xb6b3ede6 in std::__1::DoIOSInit::DoIOSInit() () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#5 0xb6b3f9b2 in _GLOBAL__sub_I_iostream.cpp () from target:/snap/chromium/1211/usr/lib/chromium-browser/libffmpeg.so
#6 0xb6f215c0 in ?? () from target:/lib/ld-linux-armhf.so.3

(gdb) layout asm
│ >0xb6b4ee9a <_ZNSt3__16locale5__impC2Ej+10> vmov.i32 q8, #0 ; 0x00000000
│ 0xb6b4ee9e <_ZNSt3__16locale5__impC2Ej+14> mov r9, r0
│ 0xb6b4eea0 <_ZNSt3__16locale5__impC2Ej+16> add.w r3, r9, #40 ; 0x28

NVIDIA Tegra20 is one of ARMv7 CPUs which do not support NEON instructions, "vmov.i32 q8" is the ARM NEON instruction because q8 is the NEON register. Will be great if the compiler flags could be changed back to what was used for the deb packaging, thanks in advance!

Tags: snap
Revision history for this message
Olivier Tilloy (osomon) wrote :
summary: - Chromium-browser is built with NEON on armhf (SIGILL, Illegal
+ [snap] chromium is built with NEON on armhf (SIGILL, Illegal
instruction)
Changed in chromium-browser (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
status: New → Fix Committed
tags: added: snap
Revision history for this message
Olivier Tilloy (osomon) wrote :

The snap is currently being rebuilt for armhf and will be available in the candidate channel within the next two days. I'd appreciate testing and feedback when that happens. Thanks!

Revision history for this message
Dmitry Osipenko (digetx) wrote :

Hello, Olivier! Thank you very much! I'll test ASAP!

Revision history for this message
Dmitry Osipenko (digetx) wrote :

Hi, Olivier! Today's Chromium-browser from the candidate channel is working great on NVIDIA Tegra20! Thank you for the fix!

Revision history for this message
Olivier Tilloy (osomon) wrote :

Excellent, thanks Dmitry for the feedback!

Changed in chromium-browser (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.