Closed NyshMy closed 9 months ago
The process has ended with an exit code of -1073741819 (0xC0000005)
Will closing the handle and reopening it after each call result in such an exception
A RangeDefect happens when you call a function with a to high or to low parameter. You didn't provided any code so I don't know which one caused the issue.
nim> high(int32)
2147483647 == type int32
nim> low(int32)
-2147483648 == type int32
You can always activate the debug
parameter on open_process
to check out which call causes the trouble.
[R] [int32] 0x0000000140000000 -> 9460301 [R] [int32] 0x0000000140000000 -> 9460301 [R] [int32] 0x0000000149E68EB4 -> 996223544 [R] [int64] 0x000000014A1603D8 -> 85465272 [R] [seq[byte]] 0x00000000051818B8 -> @[205, 145, 134, 94, 49, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 179, 108, 23, 83, 49, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 113, 92, 28, 78, 50, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 10, 78, 119, 109, 51, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0] [R] [seq[byte]] 0x000000014425CCF0 -> @[184] [W] [openArray[byte]] 0x000000014425CCF0 -> [139, 129, 212, 7, 0, 0] [W] [openArray[byte]] 0x000000014425CCE0 -> [139, 129, 208, 7, 0, 0] [W] [openArray[byte]] 0x0000000144FBE7A8 -> [15, 133, 140, 0, 0, 0] [R] [int64] 0x000000014A157810 -> 3506181632 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 129, 236, 0, 1, 0, 0, 72, 186, 1, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 186, 2, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 185, 0, 22, 252, 208, 0, 0, 0, 0, 73, 184, 80, 178, 204, 63, 1, 0, 0, 0, 72, 199, 194, 81, 5, 0, 0, 72, 184, 32, 71, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 199, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 193, 72, 137, 250, 72, 184, 128, 251, 70, 67, 1, 0, 0, 0, 255, 208, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 129, 196, 0, 1, 0, 0, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000014A157810 -> 3506181632 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 129, 236, 0, 1, 0, 0, 72, 186, 1, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 186, 2, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 185, 0, 22, 252, 208, 0, 0, 0, 0, 73, 184, 80, 178, 204, 63, 1, 0, 0, 0, 72, 199, 194, 90, 5, 0, 0, 72, 184, 32, 71, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 199, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 193, 72, 137, 250, 72, 184, 128, 251, 70, 67, 1, 0, 0, 0, 255, 208, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 129, 196, 0, 1, 0, 0, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000014A157810 -> 3506181632 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 129, 236, 0, 1, 0, 0, 72, 186, 1, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 186, 2, 0, 0, 0, 0, 0, 0, 0, 72, 185, 80, 178, 204, 63, 1, 0, 0, 0, 72, 184, 112, 127, 18, 64, 1, 0, 0, 0, 255, 208, 72, 185, 0, 22, 252, 208, 0, 0, 0, 0, 73, 184, 80, 178, 204, 63, 1, 0, 0, 0, 72, 199, 194, 54, 1, 0, 0, 72, 184, 32, 71, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 199, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 137, 193, 72, 137, 250, 72, 184, 128, 251, 70, 67, 1, 0, 0, 0, 255, 208, 72, 184, 128, 149, 70, 67, 1, 0, 0, 0, 255, 208, 72, 129, 196, 0, 1, 0, 0, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [W] [openArray[byte]] 0x000000014426C33A -> [116, 52] [W] [openArray[byte]] 0x000000014426C36A -> [15, 133] [W] [openArray[byte]] 0x000000013FCA52E0 -> [72, 129, 249, 235, 107, 127, 6, 15, 133, 10, 0, 0, 0, 72, 185, 106, 234, 0, 0, 0, 0, 0, 0, 72, 137, 88, 8, 72, 137, 112, 16, 233, 87, 33, 212, 4, 112, 16, 233, 72, 33, 212, 4] [W] [openArray[byte]] 0x00000001449E7453 -> [233, 136, 222, 43, 251] [W] [openArray[byte]] 0x0000000145260129 -> [235] [W] [openArray[byte]] 0x000000013FAFF000 -> [87, 86, 72, 131, 236, 40, 72, 139, 13, 115, 177, 103, 10, 72, 139, 129, 128, 111, 2, 0, 72, 139, 240, 72, 139, 78, 56, 232, 96, 119, 138, 5, 132, 192, 15, 132, 132, 0, 0, 0, 72, 141, 190, 224, 3, 0, 0, 199, 7, 3, 0, 0, 0, 129, 127, 4, 255, 255, 255, 255, 15, 132, 106, 0, 0, 0, 72, 139, 78, 56, 232, 5, 11, 139, 5, 132, 192, 15, 132, 89, 0, 0, 0, 139, 71, 4, 163, 0, 96, 170, 63, 1, 0, 0, 0, 139, 71, 8, 163, 4, 96, 170, 63, 1, 0, 0, 0, 139, 71, 12, 163, 8, 96, 170, 63, 1, 0, 0, 0, 139, 71, 16, 163, 12, 96, 170, 63, 1, 0, 0, 0, 72, 139, 13, 166, 174, 103, 10, 72, 141, 21, 111, 111, 250, 255, 232, 122, 97, 118, 5, 72, 141, 13, 131, 123, 241, 10, 72, 49, 192, 72, 139, 21, 217, 235, 243, 10, 232, 68, 65, 14, 5, 72, 131, 196, 40, 94, 95, 195] [W] [openArray[byte]] 0x000000013FAB00C0 -> [232, 59, 239, 4, 0, 144] [R] [int64] 0x000000014A12D708 -> 2066830080 [W] [int32] 0x000000007B315B0C -> 200 [R] [int64] 0x000000014A12D708 -> 2066830080 [W] [int32] 0x000000007B315B10 -> 200 [R] [int64] 0x000000014A12D708 -> 2066830080 [W] [int32] 0x000000007B315B14 -> 200 [R] [int64] 0x000000014A12D708 -> 2066830080 [W] [int32] 0x000000007B315B18 -> 200 [W] [openArray[byte]] 0x00000001441A6BB2 -> [131, 190, 204, 248, 0, 0] [R] [int64] 0x000000014A1603D8 -> 85465272 [R] [seq[byte]] 0x00000000051818B8 -> @[205, 145, 134, 94, 49, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 179, 108, 23, 83, 49, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 113, 92, 28, 78, 50, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 10, 78, 119, 109, 51, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0] [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 131, 236, 48, 72, 184, 144, 91, 142, 67, 1, 0, 0, 0, 255, 208, 186, 27, 0, 0, 0, 72, 139, 200, 72, 184, 208, 191, 245, 67, 1, 0, 0, 0, 255, 208, 72, 163, 33, 35, 202, 63, 1, 0, 0, 0, 72, 131, 196, 48, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000013FCA2321 -> 3027090 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 131, 236, 48, 72, 184, 144, 91, 142, 67, 1, 0, 0, 0, 255, 208, 186, 84, 0, 0, 0, 72, 139, 200, 72, 184, 208, 191, 245, 67, 1, 0, 0, 0, 255, 208, 72, 163, 33, 35, 202, 63, 1, 0, 0, 0, 72, 131, 196, 48, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000013FCA2321 -> 3113489 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 131, 236, 48, 72, 184, 144, 91, 142, 67, 1, 0, 0, 0, 255, 208, 186, 22, 0, 0, 0, 72, 139, 200, 72, 184, 208, 191, 245, 67, 1, 0, 0, 0, 255, 208, 72, 163, 33, 35, 202, 63, 1, 0, 0, 0, 72, 131, 196, 48, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000013FCA2321 -> 3804689 [R] [int32] 0x000000013FCA05EC -> 73185352 [W] [openArray[byte]] 0x000000013FCA06B4 -> [72, 131, 236, 48, 72, 184, 144, 91, 142, 67, 1, 0, 0, 0, 255, 208, 186, 97, 0, 0, 0, 72, 139, 200, 72, 184, 208, 191, 245, 67, 1, 0, 0, 0, 255, 208, 72, 163, 33, 35, 202, 63, 1, 0, 0, 0, 72, 131, 196, 48, 195] [W] [openArray[byte]] 0x000000013FDC0090 -> [255, 37, 0, 0, 0, 0, 236, 5, 202, 63, 1, 0, 0, 0, 144, 144, 144, 144, 144] [W] [int32] 0x000000013FCA045C -> 1 [R] [int32] 0x000000013FCA045C -> 3 [W] [openArray[byte]] 0x000000013FDF0090 -> [15, 16, 28, 36, 15, 16, 84, 36, 16, 15, 16, 76, 36, 32, 15, 16, 68, 36, 48] [W] [openArray[byte]] 0x000000013FCA06B4 -> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [R] [int64] 0x000000013FCA2321 -> 3631888 [R] [int64] 0x000000014A164EF0 -> 5537943312 [R] [int64] 0x000000014A164F78 -> 0 [W] [openArray[byte]] 0x000000013FCCB7FC -> [76, 0, 111, 0, 97, 0, 100, 0, 32, 0, 83, 0, 117, 0, 99, 0, 99, 0, 101, 0, 115, 0, 115, 0, 0, 0] [W] [int64] 0x000000013FCCB220 -> 0 [W] [int64] 0x000000013FCCB228 -> 5365348348 [W] [int64] 0x000000013FCCB230 -> 10000 [W] [int64] 0x000000013FCCB238 -> 10000 [W] [int64] 0x000000013FCCB240 -> 10000 fatal.nim(54) sysFatal Error: unhandled exception: value out of range: 4287627008 notin -2147483648 .. 2147483647 [RangeDefect]
This is the information I enabled debug printing, but I can't see where the problem is causing it. Can you help me take a look
def r_int(self,addr):
return pyMeow.r_int(self.Process, addr)
def r_int64(self,addr):
return pyMeow.r_int64(self.Process, addr)
This is my encapsulated call for reading integers and reading long integers
line 2: [R] [int32] 0x0000000140000000 -> 9460301
line 3: [R] [int32] 0x0000000149E68EB4 -> 996223544
line 11: [R] [int32] 0x000000013FCA05EC -> 73185352
line 14: [W] [int32] 0x000000013FCA045C -> 1
line 15: [R] [int32] 0x000000013FCA045C -> 3
line 19: [R] [int32] 0x000000013FCA05EC -> 73185352
line 22: [W] [int32] 0x000000013FCA045C -> 1
line 23: [R] [int32] 0x000000013FCA045C -> 3
line 27: [R] [int32] 0x000000013FCA05EC -> 73185352
line 30: [W] [int32] 0x000000013FCA045C -> 1
line 31: [R] [int32] 0x000000013FCA045C -> 3
line 42: [W] [int32] 0x000000007B315B0C -> 200
line 44: [W] [int32] 0x000000007B315B10 -> 200
line 46: [W] [int32] 0x000000007B315B14 -> 200
line 48: [W] [int32] 0x000000007B315B18 -> 200
line 52: [R] [int32] 0x000000013FCA05EC -> 73185352
line 55: [W] [int32] 0x000000013FCA045C -> 1
line 56: [R] [int32] 0x000000013FCA045C -> 3
line 60: [R] [int32] 0x000000013FCA05EC -> 73185352
line 63: [W] [int32] 0x000000013FCA045C -> 1
line 64: [R] [int32] 0x000000013FCA045C -> 3
line 68: [R] [int32] 0x000000013FCA05EC -> 73185352
line 71: [W] [int32] 0x000000013FCA045C -> 1
line 72: [R] [int32] 0x000000013FCA045C -> 3
line 76: [R] [int32] 0x000000013FCA05EC -> 73185352
line 79: [W] [int32] 0x000000013FCA045C -> 1
line 80: [R] [int32] 0x000000013FCA045C -> 3
As shown above, I searched and did not find any data that exceeded the boundary value
Yes I don't see any reading before with that value. So it happens probably on a write call.
So is there a way to solve this problem? Is there any way to locate this problem
I tested that reading and writing alone is no problem
By the way, is this underlying language written in kernel32 or ntd's DLL
pyMeow is using ReadProcessMemory
from the kernel32 library.
Since I'm not into your code I guess the only way would be to debug it to find out which call causes the exception.
nimpy.AccessViolationDefect: Unexpected error encountered: WriteArray failed [Address: 0x000000013FCCB7FC] [Error: 299 - 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。]
I'll close that issue since it's pretty old. Feel free to reopen if there is still help wanted.
fatal.nim(54) sysFatal Error: unhandled exception: value out of range: 4287627008 notin -2147483648 .. 2147483647 [RangeDefect]
I want to know what caused this error