Posted 12 September 2015 - 12:30 PM
VERSION:
CC1.73/CC1.74
DESCRIPTION:
"java.lang.RuntimeException: You are not attached to this Computer:" (full stacktrace) is thrown when running simple program:
against test peripheral with single method:
(full peripheral code)
while spamming computer with rapid block updates (like redstone signal changes).
Note 1: crash seems to be easier to reproduce in SMP
Note 2: peripheral is not cached in any way, used provider can be seen here
EXPECTED RESULT:
This method should never fail, unless peripheral instance is somehow cached and used after block update, when new instance is generated.
CC1.73/CC1.74
DESCRIPTION:
"java.lang.RuntimeException: You are not attached to this Computer:" (full stacktrace) is thrown when running simple program:
while true do peripheral.call("left", "testAttached") sleep(0) end
against test peripheral with single method:
return new Object[] { computer.getAttachmentName() };
(full peripheral code)
while spamming computer with rapid block updates (like redstone signal changes).
Note 1: crash seems to be easier to reproduce in SMP
Note 2: peripheral is not cached in any way, used provider can be seen here
EXPECTED RESULT:
This method should never fail, unless peripheral instance is somehow cached and used after block update, when new instance is generated.