致命信号11(SIGSEGV)在0x00000000(code = 1) - PhoneGap [英] Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) - PhoneGap

查看:81
本文介绍了致命信号11(SIGSEGV)在0x00000000(code = 1) - PhoneGap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在用PhoneGap开发Android应用程序。
最近当我尝试在HTML页面之间切换时,应用程序关闭,并在LogCat中出现以下错误:

  12-24 15:43:39.237:A / libc(23631):0x00000000(code = 1)的致命信号11(SIGSEGV),线程23631(.example.app)

我在Google上搜索了一下有关此错误的信息,我所了解的是它与设备的内存有关。我找到了一些解决方案,但并没有那么多,我意识到我如何在PhoneGap中实现它们。



有没有人在此之前遇到过这个错误?
我可以如何解决问题?



谢谢:)

解决方案

如果您已经(或正在使用)一个插件,反过来通过NDK使用本机C / C ++代码,这可能表示本机代码中的错误。



否则,这是您正在测试的设备或模拟器的固件中的错误。



如果您可以在仿真器中重现此信息具有原始ROM的Nexus设备,或来自不同制造商的各种设备,这可能是Android本身的一个错误。在这种情况下,请创建一个可以重现错误的示例项目,并将其与整个堆栈跟踪一起发布到 http://b.android.com ,Android操作系统问题跟踪器。



如果您只在一台设备上遇到这个或三分之一一方面的ROM,它可能是一个更具体的错误 - 最好的办法是联系设备制造商或ROM发行商您的症状。


I develop Android apps now with PhoneGap. Lately when I try to switch between HTML pages, the application closed, and in the LogCat the following error appears:

12-24 15:43:39.237: A/libc(23631): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 23631 (.example.app)

I searched a bit on Google about this error, and what I understand is that it is related to the device's memory. I found some solutions, but not so much that I realized how I implement them in PhoneGap.

Has anyone here encountered this error before? What can I do to solve the problem?

Thank you :)

解决方案

If you have written (or are using) a plugin that in turn uses native C/C++ code through the NDK, this may indicate a bug in that native code.

Otherwise, this is a bug in the firmware of the device or emulator you are testing upon.

If you can reproduce this in an emulator, on a Nexus device with the original ROM, or on a variety of devices from different manufacturers, it is probably a bug in Android itself. In that case, please create a sample project that can reproduce the error, and post it along with the entire stack trace to http://b.android.com, the Android OS issue tracker.

If you are only encountering this on one device or one third-party ROM, it is probably a more specific bug -- your best bet is to contact the device manufacturer or ROM publisher with your symptoms.

这篇关于致命信号11(SIGSEGV)在0x00000000(code = 1) - PhoneGap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆