Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57709

Crash when using seccomp-filter sandbox on 32-bit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.8.0 RC
    • WebEngine
    • None

    Description

      I have a cross-compiled webengine for 32-bit x86. I used the latest_src directory in the snapshots of Qt 5.8.0 rc, but I had the same problem with the 5.8.0 beta. When I run the "quicknanobrowser" it crashes the webengineprocess, but when I run the same with the

      --single-process

      flag added, everything works. Update: Also with the

      --no-sandbox

      flag it works.

      Here is the crash I am seeing. I am still searching how I can make a better debug build for a better stack trace, but here is what I see for now:

      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x0000b18ab00c <unknown>
      #1 0x0000b18ab471 <unknown>
      #2 0x0000b7768db8 ([vdso]+0xdb7)
      #3 0x0000b45aeef4 <unknown>
      #4 0x0000b5042ead <unknown>
      #5 0x0000b504300b <unknown>
      #6 0x0000b7768db8 ([vdso]+0xdb7)
      #7 0x0000b7768dc9 ([vdso]+0xdc8)
      #8 0x0000af445531 __libc_recvmsg
      #9 0x0000b0f711ef <unknown>
      #10 0x0000b0f63c6c <unknown>
      #11 0x0000b0f6404a <unknown>
      #12 0x0000b0f55b87 <unknown>
      #13 0x0000b0f4a5a4 <unknown>
      #14 0x0000b0f4884d <unknown>
      #15 0x0000b247dfc1 <unknown>
      #16 0x0000b2e5c9a6 <unknown>
      #17 0x0000b2e5cdcf <unknown>
      #18 0x0000b2e86759 <unknown>
      #19 0x0000b0f0e85e <unknown>
      #20 0x0000b0f0ebaa <unknown>
      #21 0x0000b0f0dc79 <unknown>
      #22 0x0000b0d98e57../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall  QtWebEngine::processMain()0360
      qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x0000b18ab00c <unknown>
      #1 0x0000b18ab471 <unknown>
      #2 0x0000b7768db8 ([vdso]+0xdb7)
      #3 0x0000b45aeef4 <unknown>
      #4 0x0000b5042ead <unknown>
      #5 0x0000b504300b <unknown>
      #6 0x0000b7768db8 ([vdso]+0xdb7)
      #7 0x0000b7768dc9 ([vdso]+0xdc8)
      #8 0x0000af445531 __libc_recvmsg
      #9 0x0000b0f711ef <unknown>
      #10 0x0000b0f63c6c <unknown>
      #11 0x0000b0f6404a <unknown>
      #12 0x0000b0f55b87 <unknown>
      #13 0x0000b0f4a5a4 <unknown>
      #14 0x0000b0f4884d <unknown>
      #15 0x0000b247dfc1 <unknown>
      #16 0x0000b2e5c9a6 <unknown>
      #17 0x0000b2e5cdcf <unknown>
      #18 0x0000b2e86759 <unknown>
      #19 0x0000b0f0e85e <unknown>
      #20 0x0000b0f0ebaa <unknown>
      #21 0x0000b0f0dc79 <unknown>
      #22 0x0000b0d98e57 QtWebEngine::processMain()
      #23 0x000008048824 <unknown>
      #24 0x0000af1385be __libc_start_main
      #25 0x000008048860 <unknown>
        gs: 00000033  fs: 00000000  es: 0000007b  ds: 0000007b
       edi: 01452174 esi: 00000000 ebp: bfa501e4 esp: bfa501c4
       ebx: b75e6324 edx: 01400000 ecx: bfa50240 eax: 01452000
       trp: 0000000e err: 00000006  ip: b45aeef4  cs: 00000073
       efl: 00010206 usp: bfa501c4  ss: 0000007b
      [end of stack trace]
      qml: Render process exited with code 256 (abnormal exit)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      Received signal 11 SEGV_MAPERR 000000101168
      #0 0x0000b18ab00c <unknown>
      #1 0x0000b18ab471 <unknown>
      #2 0x0000b7768db8 ([vdso]+0xdb7)
      #3 0x0000b45aeef4 <unknown>
      #4 0x0000b5042ead <unknown>
      #5 0x0000b504300b <unknown>
      #6 0x0000b7768db8 ([vdso]+0xdb7)
      #7 0x0000b7768dc9 ([vdso]+0xdc8)
      #8 0x0000af206be0 socketpair
      #9 0x0000b441f1e4 ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall <unknown>
      #10 0x0000b4420454 0372<unknown>
      #11 0x0000b4421046 
      <unknown>
      #12 0x0000b441e7c0 <unknown>
      #13 0x0000b18a2b21 <unknown>
      #14 0x0000b18c4cec <unknown>
      #15 0x0000b18c5228 <unknown>
      #16 0x0000b18f3949 qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      0000b18ab00c qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x0000b18ab00c <unknown>
      #1 0x0000b18ab471 <unknown>
      #2 0x0000b7768db8 ([vdso]+0xdb7)
      #3 0x0000b45aeef4 <unknown>
      #4 0x0000b5042ead <unknown>
      #5 0x0000b504300b <unknown>
      #6 0x0000b7768db8 ([vdso]+0xdb7)
      #7 0x0000b7768dc9 ([vdso]+0xdc8)
      #8 0x0000af445531 __libc_recvmsg
      #9 0x0000b0f711ef <unknown>
      #10 0x0000b0f63c6c <unknown>
      #11 0x0000b0f6404a <unknown>
      #12 0x0000b0f55b87 <unknown>
      #13 0x0000b0f4a5a4 <unknown>
      #14 0x0000b0f4884d <unknown>
      #15 0x0000b247dfc1 <unknown>
      #16../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall  0x0000b2e5c9a6 <unknown>
      0360#
      17qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      Received signal 11 SEGV_MAPERR 000000101168
      qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x0000b18ab00c <unknown>
      #../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      1qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      #0 0x0000b18ab00c <unknown>
      #1 0x0000b18ab471 <unknown>
      #2 0x0000b7768db8 ([vdso]+0xdb7)
      #3 0x0000b45aeef4 ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      qml: Render process exited with code 139 (killed)
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0372
      Received signal 11 SEGV_MAPERR 000001452174
      ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0360
      ^C
      
      

      And then this repeats over and over again.
      Any idea what might cause this?

      UPDATE: So just using

      --disable-seccomp-filter-sandbox

      works for me. It still uses a sandbox I think, however another one using namespaces or something like it. So I don't know if this can closed, it is still a problem really. Tried with the official 5.8.0-rc also now. See the comments for a better stacktrace too.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            tomdeblauwe Tom Deblauwe
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes