Running tests/send periodically results in memory errors #16
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
john@Johns-Mac-mini prosperon % cell tests/send
[b697e] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[e5bd0] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[b697e] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[e5bd0] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor e5bd0edd594b2a571ea0fdeb583f729b
freeing actor e5bd0edd594b2a571ea0fdeb583f729b
[b697e] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "e5bd0edd594b2a571ea0fdeb583f729b"
}
}
[b697e] [engine.cm:98:12]: got stop message
freeing actor b697e6604c0cf7f96ee901d0994e2c5a
cell(39111,0x16f793000) malloc: *** error for object 0x600003e0e1b0: pointer being freed was not allocated
cell(39111,0x16f793000) malloc: *** set a breakpoint in malloc_error_break to debug
john@Johns-Mac-mini prosperon % cell tests/send
[0d0c6] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[cc0d7] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[0d0c6] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[cc0d7] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor cc0d7b93d5f7b96e2d95605fd0e878a8
[0d0c6] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "cc0d7b93d5f7b96e2d95605fd0e878a8"
}
}
[0d0c6] [engine.cm:98:12]: got stop message
freeing actor 0d0c6c80f86cb2338d030ccc86957f23
john@Johns-Mac-mini prosperon % cell tests/send
[c8f96] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[9146b] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[c8f96] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[9146b] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor 9146b941936d60516f07b4a0be390d7f
[c8f96] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "9146b941936d60516f07b4a0be390d7f"
}
}
[c8f96] [engine.cm:98:12]: got stop message
freeing actor c8f9664e153d908e36cbe62fe56e1793
john@Johns-Mac-mini prosperon % cell tests/send
[ee12b] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[5bf61] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[ee12b] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[5bf61] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor 5bf61dd2d8221ec8968e14aba54cdaa8
freeing actor 5bf61dd2d8221ec8968e14aba54cdaa8
[ee12b] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "5bf61dd2d8221ec8968e14aba54cdaa8"
}
}
[ee12b] [engine.cm:98:12]: got stop message
freeing actor ee12b0e5e95a0c1f1e906816054ceb4f
cell(39114,0x16b7e3000) malloc: *** error for object 0x6000006fc150: pointer being freed was not allocated
cell(39114,0x16b7e3000) malloc: *** set a breakpoint in malloc_error_break to debug
cell(39114,0x16b63f000) malloc: *** error for object 0x6000006fc1c0: pointer being freed was not allocated
cell(39114,0x16b63f000) malloc: *** set a breakpoint in malloc_error_break to debug
john@Johns-Mac-mini prosperon % cell tests/send
[25c4b] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[9dd7d] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[25c4b] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[9dd7d] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor 9dd7d37501a8931bf70ba2c4613b6c01
freeing actor 9dd7d37501a8931bf70ba2c4613b6c01
[25c4b] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "9dd7d37501a8931bf70ba2c4613b6c01"
}
}
[25c4b] [engine.cm:98:12]: got stop message
freeing actor 25c4b138e3577a2905e738c4e78806ae
cell(39115,0x16fa17000) malloc: *** error for object 0x60000340fcd0: pointer being freed was not allocated
cell(39115,0x16fa17000) malloc: *** set a breakpoint in malloc_error_break to debug
john@Johns-Mac-mini prosperon % cell tests/send
[c287b] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[90b04] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[c287b] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[90b04] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor 90b04a24f49c4b93991954af8be0d84e
freeing actor 90b04a24f49c4b93991954af8be0d84e
[c287b] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "90b04a24f49c4b93991954af8be0d84e"
}
}
[c287b] [engine.cm:98:12]: got stop message
freeing actor c287bada48a6c0505864f8e7c249c82c
cell(39116,0x16c06b000) malloc: *** error for object 0x600002ab21b0: pointer being freed was not allocated
cell(39116,0x16c06b000) malloc: *** set a breakpoint in malloc_error_break to debug
john@Johns-Mac-mini prosperon % cell tests/send
[382f4] [engine.cm:63:14]: [SYSTEM] coupled to [object Object]
[d4f62] [engine.cm:63:14]: [SYSTEM] actor [object Object] is coupled to me
[382f4] [reply:2:14]: Got a message: {
"message": "Hello! Good to go?"
}
[d4f62] [tests/send:3:16]: Original sender got message back: {
"message": "Good to go."
}. Stopping!
freeing actor d4f6283a8c3828d23ef8ab6ac008b3ac
[382f4] [engine.cm:63:14]: [SYSTEM] Unable to send message to actor {
"ACTORDATA": {
"id": "d4f6283a8c3828d23ef8ab6ac008b3ac"
}
}
[382f4] [engine.cm:98:12]: got stop message
freeing actor 382f4d0c5634ecb848ae327333656b9e
More information: when running tests/parseq, if the $.stop command isn't given, the program hangs and the actor is never reclaimed; if $.stop is provided after the work is done, results in a malloc leak.