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

OpenP b.107 crash dedi server: no class found clientside only stuff #142

Open
oddstr13 opened this issue Mar 29, 2014 · 8 comments
Open

Comments

@oddstr13
Copy link

Works fine in SSP, crashes SMP

ComputerCraft{1.6} [ComputerCraft] (ComputerCraft1.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenMods{0.4} [OpenMods] (OpenModsLib-0.4-snapshot-177.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenPeripheralCore{0.3.3} [OpenPeripheralCore] (OpenPeripheralCore-0.3.3-snapshot-107.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenPeripheral{0.1.3} [OpenPeripheralAddons] (OpenPeripheralAddons-0.1.3-snapshot-83.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenBlocks{1.2.7} [OpenBlocks] (OpenBlocks-1.2.7-snapshot-351.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge log: http://oddstr13.openshell.no/paste/Uzb0ftJO/

Crash report: http://tk.nerdstation.nl/crash-reports/crash-2014-03-29_17.08.37-server.txt

Turtle in question has a IronChest above & below it.

@boq
Copy link
Member

boq commented Mar 29, 2014

Non-fatal exceptions in log like:

[OpenMods] Can't create peripheral for TE class dan200.computercraft.shared.turtle.blocks.TileTurtle
...
[OpenMods] Can't get adapter class dan200.computercraft.shared.peripheral.modem.TileCable methods (possible sideness fail), bailing out

are caused by bug in CC (as exception suggests, missing @SideOnly annotation, in this case on public static void registerIcons(IconRegister iconRegister)). They aren't harmful, just preventing from using that block as peripheral.

Main, crashing exception isn't probably caused by OpenPeripheral exception. It's in TileTurtle.updateEntity and no OP method is in stack. So it's probably CC bug too.

@oddstr13
Copy link
Author

testing that should be rather easy, i'll get back to you on that

@oddstr13
Copy link
Author

On the test server instance this time.
Crash log from before removing the OpenMods: http://tk.nerdstation.nl/crash-reports-test/crash-2014-03-29_22.07.52-server.txt

Log from a just fine run, with all the OpenMods removed (search for ".jar---" to see what's disabled from last run)
http://oddstr13.openshell.no/paste/Uzc7iB75/

Conclusion: The crash is not caused by just ComputerCraft 1.6 all by itself.

startup program on the offending turtle: http://oddstr13.openshell.no/paste/Uzc-iWjq/

@SafPlusPlus
Copy link

In case it isn't clear from the awful turtle code I wrote. The turtle is a plain turtle and interacts with a bunch of iron chest and an applied energetics cable. It aims to take and sort forestry + extrabees bees from an iron chest into a bunch of other chest based on the bee's beeinfo. Hope that's useful extra information. :)

@mikeemoo
Copy link
Member

This still looks like nothing to do with OpenPeripheral, regardless of whether using OpenPeripheral enables the issue.

When our code isn't even in the stack, it's very difficult to see how our code could be offending here.

However, I'll speak to dan and see if he can shed some light.

@SafPlusPlus
Copy link

Thanks for the effort, Mikee! :)

@oddstr13
Copy link
Author

I have been unable to reproduce this crash without running said turtle script, but when i do run the turtle script, it seems to crash in this loop for some reason: http://oddstr13.openshell.no/paste/UzdX7lcr/
Adding some more debug (http://oddstr13.openshell.no/paste/UzdaPH1S/) yields this:
2014-03-30_004026_0000578

The turtle moves once, then the server crashes

http://tk.nerdstation.nl/crash-reports-test/crash-2014-03-30_00.41.46-server.txt crashlog from the crash that happened just before i took screenshot, just for good measure

@theoriginalbit
Copy link
Contributor

@mikeemoo did you discuss this with dan, and if so, was light shed?

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