I have a pretty large pexe ~4 Megs. It takes some time for it to load up (translate). On arm sometimes it gets to the end and I never get a load callback from the NaClProcessManager. If I just pretend it finished loading at that point, it doesn't run. I've only see this problem on arm not Intel. My solution right now is to set a timeout and if I didn't get the load callback I call chrome.runtime.reload() and try again. Eventually after a couple reloads it ends up loading, I get the callback and everything is fine.
Anyone run into this issue?
--
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.
You think this might be because I'm using something compiled using pepper_41? These later builds are the only ones I've been able to get to work the way I want. I'm just having this last intermittent loading problem.I tried nacl_translate with pepper_40 sdk it seems to finish everytime.This is actually a prebuilt pexe build from the naclports continuous builder:I was also mistaken, it happens on both intel x86_64, and arm on ChromeOS. I've never seen it happen on x86_64 Chrome in Linux.Using top I do not see anything taking any more than a few percent of memory. The nacl_helper_bootstrap /opt/google/chrome/nacl_helper takes lots of CPU then it stops as if it was done even though I don't get the loaded event.ChromeOS version 40.0.2214.114
http://gsdview.appspot.com/naclports/builds/pepper_41/trunk-247-g574856f/publish/python/pnacl/python.pexeThanks for your replies.
On Thu, Feb 26, 2015 at 12:23 PM, 'Jan Voung' via Native-Client-Discuss <native-client-discuss@googlegroups.com> wrote:
On Wed, Feb 25, 2015 at 3:06 PM Victor Khimenko <kh...@chromium.org> wrote:On Thu, Feb 26, 2015 at 12:18 AM, Russell Valentine <russell....@gmail.com> wrote:I have a pretty large pexe ~4 Megs. It takes some time for it to load up (translate). On arm sometimes it gets to the end and I never get a load callback from the NaClProcessManager. If I just pretend it finished loading at that point, it doesn't run. I've only see this problem on arm not Intel. My solution right now is to set a timeout and if I didn't get the load callback I call chrome.runtime.reload() and try again. Eventually after a couple reloads it ends up loading, I get the callback and everything is fine.
Does it work reliably on x86-32? PNaCl translator itself has 4GiB address space on x86-64 but only 1GiB on x86-32 and arm...It should be able to handle a 4MB pexe in 1GiB of address space. Under ChromeOS you can open the crosh (with ctrl-alt-t) and use "top" to look for a process with the name "nacl_helper" and watch its RES memory usage to confirm that it completes in under 1GiB.Otherwise, the chrome task manager gives a slightly more precise name to the process than "nacl_helper". The translation process currently involves two "chrome://pnacl-translator/arm/..." tasks under the chrome task manager, one after the other. The two are "pnacl-llc.nexe" and "ld.nexe". Which one hangs?Is this reproducible if you run the commandline tool "pnacl-translate" from the SDK?What version of ChromeOS / NaCl SDK?
Anyone run into this issue?--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to native-client-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to native-client-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to native-client-discuss@googlegroups.com.
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.