mojira.dev
MC-60182

/summon Zombie with big followrange crashes the server

When I activate the command:

/summon Zombie ~ ~1 ~ {CanPickUpLoot:0,CustomName:LumberjackZombie,CustomNameVisible:1,PersistenceRequired:1,Equipment:[{id:258},{id:},{id:},{id:},{id:298}],Attributes:[{Name:generic.followRange,Base:1000},{Name:generic.attackDamage,Base:0},{Name:zombie.spawnReinforcements,Base:0}]}

it freezes the server. Also happens in 14w21b.
If I start the server again, it takes about 2 sec to freeze again. I can only close the server by stopping the proces in task manager.
To stop it from crashing, I start the server and then quickly type /kill @e
that works if I do it at the start, but a few seconds later it would freeze.
I dont know what the problem is with this command.
Just thought I'd report it.

In the attachments are 3 crash logs. At least 2 are from 14w21b. Not sure about the third one. They are deffinitely all about this crash, not an earlyer crash.

Have fun,

  • Pieter Voors

Linked issues

Attachments

Comments 4

Edit:
I am trying to trace the bug. The following command still crashes my server:

/summon Zombie ~ ~1 ~ {CustomName:LumberjackZombie,CustomNameVisible:1,Attributes:[{Name:generic.followRange,Base:1000},{Name:generic.attackDamage,Base:0}]}
/summon Zombie ~ ~1 ~ {CustomName:LumberjackZombie,CustomNameVisible:1}

doestn't crash

/summon Zombie ~ ~1 ~ {CustomName:LumberjackZombie,CustomNameVisible:1,Attributes:[{Name:generic.attackDamage,Base:0}]}

This works just fine so I'm guessing it is the Huge followRange that is crashing the server.

Hope I helped

Don't do that or assign more memory to your server instance.

pieter voors

michael

Unconfirmed

Minecraft 14w27b

Retrieved