java - corrupted double-linked list -


please me, little appreciated!

when running java application, after times, here comes error:

*** error in `/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java': corrupted double-linked list: 0x00007fd77c2cf640 ***

the correct instruction must set variable , restart application.

more information:

immediately next, run-log print out:

process finished exit code 134

i found error occurs @ point:

private game game; private void backtomenu () {     // switch menu screen     game.setscreen(new menuscreen(game)); } 

exactly at:

game.setscreen(new menuscreen(game)); 

some imports are:

import com.badlogic.gdx.game;
import com.packtpub.libgdx.canyonbunny.screens.menuscreen;

the libgdx version 1.6.0, guide says libgdx version used in book 0.1.2 (learning libgdx game development second edition).

i run desktop version (desktop module) of application under ubuntu 15.04.

thanks lot!

judging google search results "corrupted double-linked list", message result of internal assertion error detected in "malloc". native heap allocation function used native (c / c++) library code. error consequence of (in native code) corrupting memory.

this kind of thing should never happen in "pure java" application. possible causes include:

  • a bug in 1 of own native libraries.
  • a bug in 3rd-party native library.
  • a consequence of corruption cause using unsafe class incorrectly.
  • a jvm bug.

but minimal information have provided not allow diagnose problem. (hint!!)

the correct instruction must set variable , restart application.

it unlikely can fix problem way.


update - there still not enough information diagnose this, when googled libgdx "corrupted double-linked list", got hits problem turned out due methods being called on objects after dispose had been called.

it possibly code doing that, or 3rd-party menuscreen code doing it.

in short, looks using libgdx wrappers incorrectly.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -