Amaxter Posted September 6, 2013 Posted September 6, 2013 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] Quote
planetguy Posted September 6, 2013 Posted September 6, 2013 What mods are in the pack? Do clients crash with the same error playing on singleplayer? Quote
Amaxter Posted September 6, 2013 Author Posted September 6, 2013 Lots of mods, pack link below, clients don't crash, just get kicked. Error doesn't seem to show up on singleplayer. http://www.technicpack.net/modpack/details/maxtech.171156 Quote
planetguy Posted September 7, 2013 Posted September 7, 2013 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. Quote
Amaxter Posted September 7, 2013 Author Posted September 7, 2013 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 Quote
planetguy Posted September 7, 2013 Posted September 7, 2013 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. Quote
Amaxter Posted September 7, 2013 Author Posted September 7, 2013 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? Quote
planetguy Posted September 7, 2013 Posted September 7, 2013 Yes, it's worth trying in my opinion. Quote
Amaxter Posted September 7, 2013 Author Posted September 7, 2013 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) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.