Opera not Working [Arch Linux]

:arrow_forward: snap run opera [7481:7481:0823/141626.740276:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera_sandbox is owned by root and has mode 4755. [1] 7481 illegal hardware instruction (core dumped) snap run opera

:arrow_forward: snap version snap 2.35-1 snapd 2.35-1 series 16 arch - kernel 4.18.3-arch1-1-ARCH

:arrow_forward: snap info core name: core summary: snapd runtime environment publisher: Canonical✓ contact: snaps@canonical.com license: unset description: | The core runtime environment for snapd type: core snap-id: 99T7MUlRhtI3U0QFgl5mXXESAiSwt776 tracking: candidate refresh-date: today at 04:48 PKT channels:
stable: 16-2.34.3 (5145) 91MB - candidate: 16-2.35 (5328) 92MB - beta: 16-2.35 (5328) 92MB - edge: 16-2.35+git940.75e9b53 (5347) 92MB - installed: 16-2.35 (5328) 92MB core

I see that too. And the opera_sandbox file is not setuid root:

$ ls -l /var/lib/snapd/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera_sandbox
-rwxr-xr-x 1 root root 212632 08-13 23:04 /var/lib/snapd/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera_sandbox

Permissions inside squashfs are:

-rwxr-xr-x root/root            212632 2018-08-13 23:04 squashfs-root/usr/lib/x86_64-linux-gnu/opera/opera_sandbox

I wasn’t able to extract anything useful.

dmesg:

[  +0.000894] traps: opera[9197] trap invalid opcode ip:38b7dd2 sp:7ffc7620b6f0 error:0 in opera[18a1000+56bd000]
[  +0.000061] audit: type=1701 audit(1535019732.887:22): auid=1000 uid=1000 gid=1000 ses=3 pid=9197 comm="opera" exe="/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera" sig=4 res=1

coredumpctl gdb

maciek@galeon:~/work/canonical coredumpctl gdb 9197
           PID: 9197 (opera)
           UID: 1000 (maciek)
           GID: 1000 (maciek)
        Signal: 4 (ILL)
     Timestamp: Thu 2018-08-23 12:22:12 CEST (22min ago)
  Command Line: /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera --password-store
    Executable: /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
 Control Group: /user.slice/user-1000.slice/user@1000.service/tmux.slice/tmux@default.service
          Unit: user@1000.service
     User Unit: tmux@default.service
         Slice: user-1000.slice
     Owner UID: 1000 (maciek)
       Boot ID: de7cb02fa09a4d21916b874cb9587c3e
    Machine ID: 9152da7600c94619af668cc8f273730c
      Hostname: galeon
       Storage: /var/lib/systemd/coredump/core.opera.1000.de7cb02fa09a4d21916b874cb9587c3e.9197.1535019732000000.lz4
       Message: Process 9197 (opera) of user 1000 dumped core.

                Stack trace of thread 9197:
                #0  0x00000000038b7dd2 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #1  0x0000000004a6cc00 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #2  0x0000000004a6c0ed n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #3  0x000000000389f8d0 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #4  0x0000000004a6b595 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #5  0x0000000004a7111d n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #6  0x000000000389f2bb n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #7  0x0000000004a5e767 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #8  0x000000000389d714 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #9  0x00000000018a1188 n/a (/snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera)
                #10 0x00007f74a4299830 n/a (/lib/x86_64-linux-gnu/libc-2.23.so)

(gdb) info threads
  Id   Target Id         Frame
* 1    LWP 9197          0x00000000038b7dd2 in ?? ()
  2    LWP 9308          0x00007f74a437474d in ?? ()
(gdb) bt
#0  0x00000000038b7dd2 in ?? ()
#1  0x0000000000000000 in ?? ()
                    (gdb) info proc mappings
Mapped address spaces:

          Start Addr           End Addr       Size     Offset objfile
            0x200000           0xb35000   0x935000        0x0 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
            0xb35000           0xb36000     0x1000   0x935000 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
            0xb36000          0x18a1000   0xd6b000   0x936000 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
           0x18a1000          0x6f5e000  0x56bd000  0x16a1000 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
           0x6f5e000          0x7505000   0x5a7000  0x6d5e000 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/opera
      0x7f7497b9f000     0x7f7497d59000   0x1ba000        0x0 /snap/opera/7/usr/lib/x86_64-linux-gnu/opera/v8_context_snapshot.bin

I’m surprised it’s SIGILL though.

Is there anything you want me test out?

Just for the record, can you post lscpu output?

:arrow_forward: lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 58 Model name: Intel(R) Core™ i5-3570 CPU @ 3.40GHz Stepping: 9 CPU MHz: 1600.094 CPU max MHz: 3800.0000 CPU min MHz: 1600.0000 BogoMIPS: 6803.66 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 6144K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts flush_l1d

FYI, the opera_sandbox issue is a problem with the snap itself and something Opera is working on. The opera-developer snap has a fix in revision 9, that was manually approved, but it isn’t published to any channel yet.

3 Likes

any update? still facing the same problem on a debian based distro.

the problem was fixed on updated version