Strange EMC2 Bug
24 Jan 2012 18:53 - 24 Jan 2012 22:51 #17103
by NicHoza
Strange EMC2 Bug was created by NicHoza
Has anyone experienced a bug where the program will be running, and suddenly it will jump back to a previous point in the program? It does this repeatedly.
I have experienced this many times under the following circumstances:
1) Running a large program (I checked RAM usage however, and I am well below capacity)
2) Using subroutines. (However, it jumps from outside of a subroutine to the very middle of a subroutine, and not always to the same spot)
I have checked and double and triple checked the code. This is, needless to say, causing very bad things to happen (crashes, etc), and rendering my code/machine useless. I am using EMC 2.3.5. Seems like a bad pointer or something.
Thanks!
Nic
I have experienced this many times under the following circumstances:
1) Running a large program (I checked RAM usage however, and I am well below capacity)
2) Using subroutines. (However, it jumps from outside of a subroutine to the very middle of a subroutine, and not always to the same spot)
I have checked and double and triple checked the code. This is, needless to say, causing very bad things to happen (crashes, etc), and rendering my code/machine useless. I am using EMC 2.3.5. Seems like a bad pointer or something.
Thanks!
Nic
Last edit: 24 Jan 2012 22:51 by NicHoza.
Please Log in or Create an account to join the conversation.
24 Jan 2012 22:53 - 24 Jan 2012 22:54 #17104
by NicHoza
NOTE: I was a bad scientist, and I manipulated two variables. The other thing I changed is that I removed the line numbers. It seems very unlikely that this would do anything, but ya never know.
Replied by NicHoza on topic Re:Strange EMC2 Bug
UPDATE: I replaced each subroutine call (e.g., "O100 call") with the contents of the subroutine, thereby eliminating the subroutines altogether. This fixed the problem. There is definitely a bug in EMC2 related to subroutines!2) Using subroutines. (However, it jumps from outside of a subroutine to the very middle of a subroutine, and not always to the same spot)
NOTE: I was a bad scientist, and I manipulated two variables. The other thing I changed is that I removed the line numbers. It seems very unlikely that this would do anything, but ya never know.
Last edit: 24 Jan 2012 22:54 by NicHoza.
Please Log in or Create an account to join the conversation.
25 Jan 2012 01:44 #17109
by andypugh
Replied by andypugh on topic Re:Strange EMC2 Bug
NicHoza wrote:
I don't recognise the bug, but you are using a rather old version. Latest released is 2.4.7. What version of Ubuntu are you on?
I have checked and double and triple checked the code. This is, needless to say, causing very bad things to happen
…
I am using EMC 2.3.5. Seems like a bad pointer or something.
I don't recognise the bug, but you are using a rather old version. Latest released is 2.4.7. What version of Ubuntu are you on?
Please Log in or Create an account to join the conversation.
Time to create page: 0.666 seconds