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

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

问题描述

林有这个非常奇怪的问题,在我的LibGDX游戏,suddently,几分钟后打,崩溃,并没有抛出异常,它只是冻结和崩溃了,我不得不强迫下跌过程。

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?

P.S:第一轰然发生在桌面,它仍然发生在桌面上,我只跑了它在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.

推荐答案

可以做一个简单的测试,修改清单:

could do a quick test, modifying the manifest:

 <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中崩溃?

  2. Android致命的信号11(SIGSEGV)在0x636f7d89(code = 1)。它怎么能追查?

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

也许你需要使用 NDK堆栈,希望能帮助你以某种方式解决它,
它是内存管理错误,本机端,在Java code不发生错误不显示与许多细节的堆栈,而且还可以看,如果当您显示的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游戏崩溃与&QUOT; Java平台本身的二进制停止工作&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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