Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Pathfinder pack (1.03) when configuring a face on stirling generator #2333

Closed
ArbitraryHubris opened this issue Apr 18, 2015 · 12 comments

Comments

@ArbitraryHubris
Copy link

I was using the internal 3D gui to config a face and got this crash. Now it crashes every time I start my world.

http://pastebin.com/J3hkhfQ1

@MatthiasMann
Copy link
Contributor

I think that has been fixed - update EnderIO to 2.2.8 build 367 (available on Curse)

@ArbitraryHubris
Copy link
Author

I just tried EnderIO-1.7.10-2.2.8.367.jar and I still have the crash. new log attached.

http://pastebin.com/SgLM5tQX

@ArbitraryHubris
Copy link
Author

I don't know why it's trying to render fused quartz. I don't have any of those blocks sitting around.

HenryLoenwind added a commit to HenryLoenwind/EnderIO that referenced this issue Apr 18, 2015
* Don't crash on invalid block meta value
* re SleepyTrousers#2333
@HenryLoenwind
Copy link
Member

Quite clear glass then?

Looks like something corrupted your world a little bit. Now there's a block with an invalid meta value, and that block just cannot take it. No idea where the corruption comes from, but the crash can at this location can be stopped.

@ArbitraryHubris
Copy link
Author

I've been thinking about what happened before the crash.

I have a stirling generator placed directly next to FluxCrystals powered soil. On the other side of the generator is a leadstone energy cell that has leadstone fluxducts going under the generator to power the soil. Then, I picked up the stirling generator and dropped it into my Project-E alchemical tablet so I could duplicate it. I created 3 of them from the tablet and placed them down to power the energy cell. They all have octadic capacitors (removed when I duplicated them) and are burning aeternalis fuel from Project-E. I was using the 3d user interface of the generator that sits between the energy cell and one of the powered soils. I was trying to disable the side pointing at the powered soil when the crash occured. Now just loading the world causes the crash to repeat.

I think that the fused quartz is a red herring. Though, I did cook some fused quartz in an alloy smelter so there could be one or more left in that machine but it shouldn't have to be rendered.

Would you like a zipped copy of the world file?

@ArbitraryHubris
Copy link
Author

Another update: I didn't realize that there were two files generated per crash. Now it looks clear that it's an interaction between enderio and fluxed crystals.

http://pastebin.com/8fQKitvG

@ArbitraryHubris
Copy link
Author

I'll open the issue on the fluxed crystals github if there is one. Should I link that bug here or just close this one?

@HenryLoenwind
Copy link
Member

Thx for the second stacktrace. It looks like the other block declares it has 4 (or more) inventory slots, but when EIO asks it about the 4th (index number 3) slot, it crashes.

@jaredlll08
Copy link

Hey, I am the author,
I do
items = new ItemStack[3];
I would think that this would give 3 inventory slots,
0, 1, 2
So I am registering my block with 3 slots and EIO is thinking I have 4 slots, I never reference a 4th slot.
The reason the code is crashin on my side is because EIO is calling the "getInventorySlotContents(3)" on my block, which results in the error.

@MatthiasMann
Copy link
Contributor

@jaredlll08 what do you return for getAccessibleSlotsFromSide() or getSizeInventory() ?

@jaredlll08
Copy link

I do items.length
And new int[] {}

On Sunday, April 19, 2015, MatthiasMann notifications@github.com wrote:

@jaredlll08 https://github.com/jaredlll08 what do you return for
getAccessibleSlotsFromSide() or getSizeInventory() ?


Reply to this email directly or view it on GitHub
#2333 (comment)
.

@MatthiasMann
Copy link
Contributor

@ArbitraryHubris you are using an old version of Fluxed Crystals - that bug has already been fixed - download version 0.0.5i.

HenryLoenwind added a commit to HenryLoenwind/EnderIO that referenced this issue Apr 20, 2015
* Don't crash on invalid block meta value
* Reworked code to avoid call to enum.values()
* re SleepyTrousers#2333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants