Jump to content

Recommended Posts

Posted

I run a custom modpack server on MCPC+. Recently, I've begun to notice it's been crashing periodically, not because of any player events, but periodically every two hours or so. Can anyone make sense of this error? Would be greatly appreciated.

>java(79659,0x11ddc0000) malloc: *** error for object 0x111ddaf1a0: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

Abort trap: 6

logout

 

[Process completed]

Posted

The crash looks like an error inside the JVM, not in Java code like Minecraft or a mod. My one guess as to what it would be is some mod uses a weird native library that is crashing.

You could try a different MCPC+ build, but I doubt it would help much. You could try reinstalling Java or using the default JVM arguments, since it looks a bit like some debug argument passed to the JVM leads to a breakpoint being triggered.

Posted

The crash looks like an error inside the JVM, not in Java code like Minecraft or a mod. My one guess as to what it would be is some mod uses a weird native library that is crashing.

You could try a different MCPC+ build, but I doubt it would help much. You could try reinstalling Java or using the default JVM arguments, since it looks a bit like some debug argument passed to the JVM leads to a breakpoint being triggered.

Well I'm using Java 7 on a mac (which I know is not a good combo in general) and my we are running custom arguments, my startup script looks like this:

#!/bin/bash

cd "$(dirname "$0")"

ulimit -c unlimited

exec java -server -Xmx4G -Xms4G -XX:MaxPermSize=256m -XX:UseSSE=4 -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar Spigot.jar 

Posted

Would using the default garbage collection setup cause problems? The error mentions trying to free a pointer that isn't allocated, and that would be a GC bug. If I had to guess, it would be a result of concurrent garbage collection (switched on by +UseConcMarkSweepGC) interfering with object creation, so you might have better luck doing without it.

Posted

Would using the default garbage collection setup cause problems? The error mentions trying to free a pointer that isn't allocated, and that would be a GC bug. If I had to guess, it would be a result of concurrent garbage collection (switched on by +UseConcMarkSweepGC) interfering with object creation, so you might have better luck doing without it.

So remove the +UseConcMarkSweepGC argument?

Posted

Still happens:

>java(511,0x11d2cb000) malloc: *** error for object 0x11d2ba950: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

Abort trap: 6

logout

 

[Process completed]

Should I try removing Java 7 and downgrading to 6 (Reason i haven't done it yet is because it's a pain in the ass on Mac)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...