M
Michael McHenry
I worked on a program on my Dell laptop. A year ago it was working
fine. Over the last year, I worked on it on primarily on my
thinkpad. The thinkpad is gone and I tried to continue work on the
Dell, but the program locks up in an inexplicable way.
I reverted to the version that was working a year ago and it is also
locking up.
When the program initializes, it fills some arrays of structs with
some data. The program locks up on the same array, row, and column,
and line of code every time. If I make small inconsequential changes
to the program, it locks up on a different array, row, column, and
line of code. The actual instruction it locks up on seems arbitrary.
If I trace through the disassembly, oddly enough, the instruction it
hangs on is a NOP.
When it locks up, the program uses 100% of one core, and doesn't seem
to be doing anything. The VS IDE is not able to break into the
debugger and the UI locks up if you try to.
There is some unsafe code in the program, but if I comment it out, the
problem is still there, but it locks up on a later array. (there are
6 large 65x65 arrays that are being filled.) It is almost as if there
are a fixed number of instructions that will execute and removing
lines from the code means it locks up later.
I have no idea where to go with this.
Please, if anyone has any idea what to do, let me know.
-Michael McHenry
fine. Over the last year, I worked on it on primarily on my
thinkpad. The thinkpad is gone and I tried to continue work on the
Dell, but the program locks up in an inexplicable way.
I reverted to the version that was working a year ago and it is also
locking up.
When the program initializes, it fills some arrays of structs with
some data. The program locks up on the same array, row, and column,
and line of code every time. If I make small inconsequential changes
to the program, it locks up on a different array, row, column, and
line of code. The actual instruction it locks up on seems arbitrary.
If I trace through the disassembly, oddly enough, the instruction it
hangs on is a NOP.
When it locks up, the program uses 100% of one core, and doesn't seem
to be doing anything. The VS IDE is not able to break into the
debugger and the UI locks up if you try to.
There is some unsafe code in the program, but if I comment it out, the
problem is still there, but it locks up on a later array. (there are
6 large 65x65 arrays that are being filled.) It is almost as if there
are a fixed number of instructions that will execute and removing
lines from the code means it locks up later.
I have no idea where to go with this.
Please, if anyone has any idea what to do, let me know.
-Michael McHenry