Mythruna

General Category => Tech Support => Topic started by: Wurstwürfel on May 15, 2013, 05:11:22 PM



Title: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 15, 2013, 05:11:22 PM
Hello,
i`d build and object an the game crashes.Since this time the last location is a blank area.
A jump into it crashes all again.
At first i updated my ati radeon.
The Problem is the new Java 7.21.
Both Vers. (32/64) aren`t running on my win7 ultimate.So i have installed the old 6.45(64bit).
Nothing repairs this random problem.


Regards
Wurstwürfel

Error:
Uncaught exception from thread:Thread[AnimationThread,5,main]
java.lang.RuntimeException: Protocol version mismatch, read:0
   at mythruna.db.io.LeafInfoProtocol.read(LeafInfoProtocol.java:35)
   at mythruna.db.DefaultLeafDatabase.readData(DefaultLeafDatabase.java:206)
   at mythruna.db.ColumnWorldDatabase.loadLeaf(ColumnWorldDatabase.java:82)
   at mythruna.db.AbstractColumnWorldDatabase.loadLeafs(AbstractColumnWorldDatabase.java:442)
   at mythruna.db.AbstractColumnWorldDatabase.loadColumn(AbstractColumnWorldDatabase.java:408)
   at mythruna.db.AbstractColumnWorldDatabase.getColumn(AbstractColumnWorldDatabase.java:387)
   at mythruna.db.AbstractColumnWorldDatabase.getLeaf(AbstractColumnWorldDatabase.java:75)
   at mythruna.db.AbstractColumnWorldDatabase.getLeaf(AbstractColumnWorldDatabase.java:67)
   at mythruna.DefaultWorld.getLeaf(DefaultWorld.java:159)
   at mythruna.DefaultWorld.getType(DefaultWorld.java:179)
   at mythruna.phys.WorldLeaf.get(WorldLeaf.java:72)
   at mythruna.phys.WorldLeaf.update(WorldLeaf.java:142)
   at mythruna.phys.WorldLeaf.update(WorldLeaf.java:41)
   at mythruna.phys.WorldLeaf.<init>(WorldLeaf.java:34)
   at mythruna.phys.WorldMesh.getTile(WorldMesh.java:93)
   at mythruna.phys.WorldMesh.getWorldType(WorldMesh.java:105)
   at mythruna.phys.WorldMesh.collideWithWorld(WorldMesh.java:246)
   at mythruna.phys.CollisionSystem.getCollisions(CollisionSystem.java:145)
   at mythruna.client.CameraTask$WalkCameraTask.doMovement(CameraTask.java:656)
   at mythruna.client.CameraTask.updatePhysics(CameraTask.java:333)
   at mythruna.client.PhysicsThread.doTasks(PhysicsThread.java:75)
   at mythruna.client.PhysicsThread.run(PhysicsThread.java:136)

Build version:20120627

Gathering app info from OpenGL thread...
Memory usage:
Working memory: 61% (231234240/379060224)  VM Max: 48% (231234240/477233152)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 909790
  Triangles = 493418
  Uniforms = 3453
  Objects = 383
  Shaders (S) = 158
  Shaders (F) = 22
  Shaders (M) = 27
  Textures (S) = 586
  Textures (F) = 65
  Textures (M) = 90
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 900
Renderer = LWJGL-OpenGL2
BitsPerPixel = 16
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = 60
Width = 1600
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:aticfx64
Driver Version:8.17.10.1129
Vendor:ATI Technologies Inc.
Version:3.3.11672 Compatibility Profile Context
Renderer:ATI Mobility Radeon HD 4500/5100 Series
GLSL Ver:3.30

CLIENT:
2013-05-16 01:05:06,637 INFO  [mythruna.client.MainStart] Build version:20120627
2013-05-16 01:05:14,623 WARN  [com.jme3.asset.AssetConfig] Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
2013-05-16 01:05:14,903 INFO  [mythruna.client.MainStart] Application info:
Memory usage:
Working memory: 12% (8012456/64356352)  VM Max: 1% (8012456/477233152)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 0
  Triangles = 0
  Uniforms = 0
  Objects = 0
  Shaders (S) = 0
  Shaders (F) = 0
  Shaders (M) = 0
  Textures (S) = 0
  Textures (F) = 0
  Textures (M) = 0
  FrameBuffers (S) = 0
  FrameBuffers (F) = 0
  FrameBuffers (M) = 0
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 900
Renderer = LWJGL-OpenGL2
BitsPerPixel = 16
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = 60
Width = 1600
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:aticfx64
Driver Version:8.17.10.1129
Vendor:ATI Technologies Inc.
Version:3.3.11672 Compatibility Profile Context
Renderer:ATI Mobility Radeon HD 4500/5100 Series
GLSL Ver:3.30

2013-05-16 01:05:21,654 WARN  [de.lessvoid.nifty.screen.Screen] Possible conflicting id [spacer] detected. Consider making all Ids unique or use #id in control-definitions.
2013-05-16 01:05:46,735 WARN  [mythruna.script.ScriptManager] Script file or directory does not exist:mods\scripts
2013-05-16 01:05:48,853 WARN  [com.jme3.input.InputManager] Attempted to add mapping "WheelDown" twice to trigger.
2013-05-16 01:05:49,195 WARN  [mythruna.script.ScriptManager] Script file or directory does not exist:mods\ui-init


Title: Re: Random Area Crash in Single Mode
Post by: Michael on May 15, 2013, 05:15:10 PM
Quote
java.lang.RuntimeException: Protocol version mismatch, read:0

I haven't seen this error before..
I am sorry for the inconvenience, the creator pspeed ( Paul Speed ) will check this error soon, please be patient.


Title: Re: Random Area Crash in Single Mode
Post by: Sean on May 15, 2013, 05:31:27 PM
Is this problem occurring on all versions of Java?
Try deleting the world and loading a new one.
Also try turning the settings all the way down and run in windowed mode.


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 15, 2013, 05:50:19 PM
This is not a new problem. sometimes while creating an object the games crashes.
But now i have a blank area:)
At a new Dimension or World the Problem exists too....and i want not to lose my nice areas.





Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 15, 2013, 06:04:24 PM
Sorry you are having trouble.  The problem posted indicates that a file is corrupt.  Most likely you crashed while it was writing but I guess there could be something else going on, too.

When you say it sometimes crashes when creating an object do you mean editing a blueprint or putting an object down or placing a block?

If you don't have anything in the world that you care about then the easiest way to remedy this problem is to delete the mythruna.db directory.  It's also possible that I could fix the specific piece of world if you have stuff that you built that you want to save.

To properly diagnose the real problem, I would need the crash report from the first time it crashes with a working world.  That could be the one that causes the world to get corrupted in the first place.  Frankly, the game tries really really hard not to crash mid-write so something pretty serious must be going on.


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 16, 2013, 04:16:22 AM
Have a look at my Screenshot pls:

http://mcgobo.dlinkddns.com/dl/crash/crash.png

And this is the first error:

Uncaught exception from thread:Thread[AnimationThread,5,main]
java.lang.IllegalArgumentException: Frame transitions cannot go backwards.
   at mythruna.sim.FrameTransition.<init>(FrameTransition.java:32)
   at mythruna.sim.FrameTransition.<init>(FrameTransition.java:43)
   at mythruna.sim.TimeBuffer.addFrame(TimeBuffer.java:70)
   at mythruna.client.CameraTask.updatePhysics(CameraTask.java:356)
   at mythruna.client.PhysicsThread.doTasks(PhysicsThread.java:75)
   at mythruna.client.PhysicsThread.run(PhysicsThread.java:136)

Build version:20120627

Gathering app info from OpenGL thread...
Memory usage:
Working memory: 46% (200022208/434749440)  VM Max: 38% (200022208/518979584)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 25002
  Triangles = 15784
  Uniforms = 271
  Objects = 71
  Shaders (S) = 23
  Shaders (F) = 18
  Shaders (M) = 30
  Textures (S) = 38
  Textures (F) = 34
  Textures (M) = 104
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 5
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 900
Renderer = LWJGL-OpenGL2
BitsPerPixel = 16
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = 60
Width = 1600
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:aticfx64
Driver Version:null
Vendor:ATI Technologies Inc.
Version:3.3.11318 Compatibility Profile Context
Renderer:ATI Mobility Radeon HD 4500/5100 Series
GLSL Ver:3.30



Title: Re: Random Area Crash in Single Mode
Post by: BenKenobiWan on May 16, 2013, 07:55:23 AM
So are you saying that the blank area in the screenshot never loads? (Sometimes it takes a few seconds)
And when you go into the blank area, the game crashes?


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 16, 2013, 08:55:53 AM
No loading:( and a jump into it crashes the game.
This time i think an object hits me.Sometimes i have trouble with items.
No way to jump or get out of an hidden block.Theres also no /Stuck option.(timed respawn after eg "no move between many objects".
But all blueprints are working fine and there are no issues.

I found another little bug by clicking blocks.Sometimes many blocks lights up at one side by deleting this to make room for a new place.
This "lightning" looks like the blank place.(blue colored lightning).

Theres a texture issue i think.





Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 16, 2013, 09:22:50 AM
The image shows exactly what I was talking about before.  Part of your world has become corrupt and that's where the errors come from.  It will never become magically uncorrupt now.  Those parts of the world will never load properly again unless they are deleted.  You can either delete the world and start over or I can try to walk you through finding the individual files that are bad and delete them.  It may just be that they are 0 size .leaf files.  If you have blueprints that you don't want to lose then you can just delete the node directories under mythruna.db.  If you leave the entities and bluerpints directories then it will still remember your blueprints and objects.

Thank you for posting the original error.  It's very strange because it indicates that the low level time counter on your machine occasionally goes backwards.  I used to see things like this with old dual core Dells... they had a low level system bug that caused the time to report differently as stuff was moved around from core to core.


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 16, 2013, 09:44:25 AM
Lets find the bad files pls:))


Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 16, 2013, 10:03:28 AM
Lets find the bad files pls:))


First, look in the mythruna.db/node0x0 directory and see if there are any .leaf files with 0 size.  If so, you can delete those as the .leaf files will never be of 0 size.

If not... then run the game and fall into one of the blank areas and then tell me with the "Leaf:" values are in the lower left corner (or just post another screen shot from there.)


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 16, 2013, 10:38:02 AM
http://mcgobo.dlinkddns.com/dl/crash/crash2.png



Sorry,there are no leafs with 0size


Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 16, 2013, 10:44:38 AM
http://mcgobo.dlinkddns.com/dl/crash/crash2.png



Sorry,there are no leafs with 0size


Ok... then I'll need a picture of you standing in one of the places that didn't load.  I'm not sure what the second picture you posted is supposed to show me.  I need to know the leaf numbers of the corrupted areas to help you.


Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 16, 2013, 10:45:00 AM
P.S.: You can upload your images to imgur and they might load faster for me.  Thanks.


Title: Re: Random Area Crash in Single Mode
Post by: Wurstwürfel on May 16, 2013, 11:05:56 AM
http://mcgobo.dlinkddns.com/dl/crash/crash3.png

The pic shows the place i stand now.i cant give u a stand in there pic.This is the screenshot after i jumped in and crashed.
I cant walk around then.
The pic before is the same with another sight:)


Title: Re: Random Area Crash in Single Mode
Post by: pspeed on May 16, 2013, 11:34:44 AM
http://mcgobo.dlinkddns.com/dl/crash/crash3.png

The pic shows the place i stand now.i cant give u a stand in there pic.This is the screenshot after i jumped in and crashed.
I cant walk around then.
The pic before is the same with another sight:)

If you walk into it then it crashes to the desktop?  Or can you take a screen shot inside?

Otherwise, you will have to wander around the four sides or whatever and figure out what the missing leaf would be.  The number is x,y,z... where x,y are map locations and z is elevation.