【问题标题】:PNaCl and Google Chrome 40 on Linux: Compile process could not be createdLinux 上的 PNaCl 和 Google Chrome 40:无法创建编译过程
【发布时间】:2015-02-03 20:41:19
【问题描述】:

我正在尝试在 Google Native Client SDK 的 getting_started 目录中运行 part1 应用程序,我在浏览器中收到以下消息:

 NativeClient: PnaclCoordinator: Compile process could not be created: 

当我访问http://localhost:5103 时,我看到字符串“Loading...”,但它从未变为“Success”。

我需要在 Chrome 中进行哪些配置才能使用 Native Client 应用程序?

我的设置:

  • 操作系统:Ubuntu Linux 12.04 LTS
  • 浏览器:谷歌浏览器 40
  • 胡椒:39
  • root 访问权限:否

【问题讨论】:

  • chrome://components/ 中的 PNaCl 部分怎么说? PNaCl 的更新与 PDF 阅读器和 Flash 类似,所以可能是更新方面出了问题?
  • @jfbastien:pnacl - 版本:0.1.0.13992。没有提及错误,只是目前没有可用的更新。
  • @JFBastien : 并不是要 nacropost。我使用的是 Chromium 版本 48.0.2564.10 (dev) Ubuntu 14.04 (64-bit),因为我无法在我全新的 Ubuntu 安装上安装 Chrome Dev。我在 chrome://components/ 上看到“pnacl - 版本:0.46.0.4”。

标签: google-chrome google-nativeclient


【解决方案1】:

不是答案,而是一个问题:

您能否尝试从 chrome 或 NaCl 运行时获取更多日志消息?

设置环境变量NACLVERBOSITY=4 从shell 启动chrome。这要求 chrome 在创建 NaCl 进程(用于编译器)时显示 NaCl 运行时中发生的情况。典型的消息是这样的:

Entered NaClCreateServiceSocket
...
NaClSetUpBootstrapChannel
...
Elf header
...

还有更多细节。如果出现这种情况,我们知道 NaCl 编译器进程的创建至少做到了这一点。然后你能把日志贴在某个地方,我可以看看吗?

如果它没有出现,那么问题出在 chrome 中。在这种情况下,使用--enable-logging=stderr -v1 (http://www.chromium.org/for-testers/enable-logging) 运行 chrome 可能会让您了解在 NaCl 进程创建之前 chrome 中发生了什么。

【讨论】:

    【解决方案2】:

    同样的问题。

    我更改了 NaCl 的 chrome://flags 设置以进行调试,但我们根本没有使用 NaCl 调试器。我将其设置回默认值并开始工作。 (所以我猜这就是问题所在?)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-07-21
      • 1970-01-01
      • 1970-01-01
      • 2021-03-04
      • 2021-03-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多