致命的信号11(SIGSEGV)为00000000(code = 1) - 的PhoneGap [英] Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) - PhoneGap
问题描述
我开发的Android应用程序现在PhoneGap的。 最近,当我尝试HTML页面之间切换,在应用程序关闭,并在LogCat中出现以下错误:
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)
我搜索了一下谷歌关于这个错误,我的理解是,它关系到设备的内存中。我找到了一些解决方案,但没有这么多,我才意识到我是如何实现它们在PhoneGap的。
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?
感谢您:)
推荐答案
如果你已经写了(或正在使用),然后再将通过NDK使用原生的C / C ++ code插件,这可能表明中的错误即原生code。
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.
否则,这是在设备或模拟器要测试后的固件的bug。
Otherwise, this is a bug in the firmware of the device or emulator you are testing upon.
如果您可以在模拟器复制本,一台Nexus设备上与原来的ROM,或在各种来自不同制造商的设备,它可能是在安卓本身就是一个错误。在这种情况下,请创建一个可以重现该错误的示例项目,并张贴一起的全部的堆栈跟踪 HTTP: //b.android.com ,Android操作系统问题跟踪。
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.
如果你只有一台设备或者一个第三方ROM上遇到这种情况,可能是一个更具体的错误 - 你最好的选择是设备制造商或ROM出版商接触你的症状
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)为00000000(code = 1) - 的PhoneGap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!