LibGDX游戏崩溃与“java平台se二进制停止工作” [英] LibGDX game crashes with "java platform se binary stopped working"

查看:157
本文介绍了LibGDX游戏崩溃与“java平台se二进制停止工作”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个真奇怪的问题,我的LibGDX游戏,偶然,几分钟后玩,崩溃没有异常抛出,它只是冻结和崩溃,我必须强制该过程。

Im having this really weird problem where my LibGDX game, suddently, after a few minutes playing, crashes with no Exceptions thrown, it just freezes and crashes, and I have to force the process down.

我不知道如果错误和google搜索对这种特殊情况没有帮助,如何调试这种类型。

I have no idea how to debug this kind if error and google searches are not helping with this particular case.

我试图运行它在Android上看看Logcat是否会说一些关于它,我得到这个:

I tried to run it on android to see if Logcat would say something about it, and i got this:

有什么可能会使游戏崩溃,没有错误或例外?

Any idea what could make the game crash like this, with no errors or exceptions? Or any way of fetching better logs or something to help narrow the problem down?

PS:第一次崩溃发生在桌面上,它仍然发生在桌面上,我只跑了它在Android上获取更多的日志,但它不是一个仅android的问题,只是澄清。

P.S.: The first crashing happened on Desktop, and it still happens on Desktop, I only ran it on android to get more logs, but it is not an "android only" problem, just clarifying.

推荐答案

快速测试,修改清单:

 <application        
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/CustomTheme"
        android:allowBackup="true"
        android:debuggable="true"
        android:vmSafeMode="true"       
        android:allowClearUserData="true"
        android:hardwareAccelerated="true" >

但可能无法解决您的错误,可以看看这个线程 - >

but perhaps not fix your error, you can take a look at this threads -->


  1. Android libc.so crash ?

  2. Android致命信号11(SIGSEGV)在0x636f7d89(代码= 1)。如何跟踪?

  1. Android libc.so crash?
  2. Android Fatal signal 11 (SIGSEGV) at 0x636f7d89 (code=1). How can it be tracked down?

也许你需要使用 ndk-stack ,希望能以某种方式帮助你解决它,
这是内存管理的一个错误,本机端,错误不会发生在Java代码中不显示堆栈与许多细节,但也可以看看,如果当你显示logcat,错误可能看起来如果你看到的东西,你可以建议错误可能发生的地方

maybe you need to use ndk-stack, hope to help you in some way to fix it, It is an error of memory management, the native side, the error does not occur in the Java code does not display a stack with many details, but can also look if when you display the logcat, the error may look if you see something that can you suggest where the error might be occurring

这篇关于LibGDX游戏崩溃与“java平台se二进制停止工作”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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