Re: [native-client-discuss] PNaCl Translation Error

184 views
Skip to first unread message

JF Bastien

unread,
Mar 25, 2015, 9:01:16 PM3/25/15
to native-cli...@googlegroups.com
Could you provide more information to reproduce this issue?

On Tue, Mar 24, 2015 at 10:51 AM, <dtipp...@gmail.com> wrote:
Previously I have been successfully able to build and run my PNaCl application. However, recently when I make new builds of the .pexe (with the latest code) I get "NativeClient: PnaclCoordinator: pexe load failed (pp_error=-2)" when trying to load them in Chrome despite the fact that it compiled and linked correctly. I get this error building with both pepper 38 and pepper 41.

Does anyone know what can cause this error and if there are any fixes or workarounds?

David

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.

Jan Voung

unread,
Mar 30, 2015, 2:06:50 PM3/30/15
to native-cli...@googlegroups.com
"pexe load failed" is more like "pexe download failed" -- pp_error=-2 is the generic download failure code i.e., nothing more specific about the download error is known. One of the more specific error codes we have is "no access" which usually corresponds to a cross-origin request that is denied... so we at least know it's not that =)

Are you able to monitor the download or get more insight into how much of the download is completed before this error shows up? Is there any info you can glean from the chrome developer-tools network tab? Any info from "chrome://net-internals", or your server?

Jan Voung

unread,
Mar 30, 2015, 2:34:31 PM3/30/15
to native-cli...@googlegroups.com
Hmm, looks the browser could also show that message if it fails to create a delete-on-close temporary file for intermediate translation results. Do any other PNaCl apps translate and load (successfully creating a temp file)? E.g., https://gonativeclient.appspot.com/demo. May want to empty cache first just in case.


Reply all
Reply to author
Forward
0 new messages