我正在部署我的应用程序并收到一些非常神秘的消息。
我已经阅读并认为这可能是权限的一些问题,甚至是 apparmor。我的另一个嫌疑人丢失了一些东西,但不清楚是什么,我用 strace 运行应用程序,乍一看似乎没有丢失任何东西。
构建系统能够运行应用程序,但我正在测试安装的目标机器不能。
这是输出:
LaunchProcess: failed to execvp:
/opt/Stremio/libexec/QtWebEngineProcess
[7511:7511:0131/125813:FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid).
#0 0x7f1f9afa400e <unknown>
#1 0x7f1f9afb70ce <unknown>
#2 0x7f1f9b54ae33 <unknown>
#3 0x7f1f9b549b2b <unknown>
#4 0x7f1f9b54a0ce <unknown>
#5 0x7f1f9b5c1a69 <unknown>
#6 0x7f1f9b3cb373 <unknown>
#7 0x7f1f99e69d32 <unknown>
#8 0x7f1f99e6af45 <unknown>
#9 0x7f1f99e0cf31 QtWebEngineCore::BrowserContextAdapter::defaultContext()
#10 0x7f1f9f581938 QQuickWebEngineProfile::defaultProfile()
#11 0x7f1f9f58769a QQuickWebEngineViewPrivate::QQuickWebEngineViewPrivate()
#12 0x7f1f9f58842b QQuickWebEngineView::QQuickWebEngineView()
#13 0x7f1f7b138460 <unknown>
#14 0x7f1f97dce68a QQmlType::create()
#15 0x7f1f97e35680 <unknown>
#16 0x7f1f97e37dfe <unknown>
#17 0x7f1f97e382ae <unknown>
#18 0x7f1f97e34be2 <unknown>
#19 0x7f1f97e35959 <unknown>
#20 0x7f1f97e36502 <unknown>
#21 0x7f1f97dbbf24 QQmlComponentPrivate::beginCreate()
#22 0x7f1f97db9619 QQmlComponent::create()
#23 0x7f1f97e2a8bb QQmlApplicationEnginePrivate::_q_finishLoad()
#24 0x7f1f97e2aaa2 QQmlApplicationEnginePrivate::startLoad()
#25 0x7f1f97e2aadd QQmlApplicationEngine::load()
#26 0x00000040d969 main
#27 0x7f1f96789830 __libc_start_main
#28 0x00000040dbe9 _start
Aborted (core dumped)
最佳答案
正如您在上面提到的,我尝试向项目文件夹及其所有子文件夹和文件授予 权限 。像魔术一样工作。
chmod -R <permissionsettings> <dirname>
例如,我运行了这个:
chmod -R 755 <dirname>
然后再次尝试测试安装。
关于qtWebengineProcess 无法启动,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/41957394/