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

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

问题描述

我现在使用 PhoneGap 开发 Android 应用.最近当我尝试在 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++ 代码,这可能表明该本机代码中存在错误.

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.

如果您可以在模拟器中、在带有原始 ROM 的 Nexus 设备上或在不同制造商的各种设备上重现这一点,那么这可能是 Android 本身的错误.在这种情况下,请创建一个可以重现错误的示例项目,并将其与整个堆栈跟踪一起发布到 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.

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

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