From 5a88ed36b41efc90a4e5d9877faaddc55ee2df01 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 9 Jul 2024 15:38:52 +0200 Subject: [PATCH] Managed to reproduce the crash consistently! --- JOURNAL.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/JOURNAL.md b/JOURNAL.md index 54e6c2f..c5653f5 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -971,3 +971,70 @@ buffer by directly poking at the memory from the host. I did a small tool `memtool` that performs allocations and deallocations. + +Good news, the tool has hang the console (potentially the kernel too). + + ~ # which memtool + /nix/store/amj11aclwx62d4mnvkhdgj19kq5gjb9y-extra-utils/bin/memtool + ~ # memtool + iter 0, nblocks 1, nbytes 0.1M (A) + iter 1, nblocks 2, nbytes 3.5M (A) + iter 2, nblocks 3, nbytes 3.8M (A) + iter 3, nblocks 4, nbytes 5.7M (A) + iter 4, nblocks 5, nbytes 6.8M (A) + iter 5, nblocks 6, nbytes 10.7M (A) + iter 6, nblocks 5, nbytes 10.6M (D) + iter 7, nblocks 6, nbytes 13.9M (A) + iter 8, nblocks 7, nbytes 16.4M (A) + iter 9, nblocks 8, nbytes 19.8M (A) + iter 10, nblocks 9, nbytes 21.2M (A) + iter 11, nblocks 10, nbytes 24.3M (A) + iter 12, nblocks 11, nbytes 27.4M (A) + iter 13, nblocks 12, nbytes 28.3M (A) + iter 14, nblocks 13, nbytes 31.6M (A) + iter 15, nblocks 12, nbytes 28.2M (D) + iter 16, nblocks 13, nbytes 29.2M (A) + iter 17, nblocks 14, nbytes 30.8M (A) + iter 18, nblocks 15, nbytes 32.6M (A) + iter 19, nblocks 16, nbytes 32.8M (A) + iter 20, nblocks 17, nbytes 36.8M (A) + iter 21, nblocks 18, nbytes 39.6M (A) + iter 22, nblocks 19, nbytes 41.1M (A) + iter 23, nblocks 20, nbytes 44.1M (A) + iter 24, nblocks 21, nbytes 46.9M (A) + iter 25, nblocks 20, nbytes 46.5M (D) + iter 26, nblocks 21, nbytes 50.2M (A) + iter 27, nblocks 22, nbytes 53.8M (A) + +Let's see if we can reproduce it again in the same position. + + ~ # memtool + iter 0, nblocks 1, nbytes 0.1M (A) + iter 1, nblocks 2, nbytes 3.5M (A) + iter 2, nblocks 3, nbytes 3.8M (A) + iter 3, nblocks 4, nbytes 5.7M (A) + iter 4, nblocks 5, nbytes 6.8M (A) + iter 5, nblocks 6, nbytes 10.7M (A) + iter 6, nblocks 5, nbytes 10.6M (D) + iter 7, nblocks 6, nbytes 13.9M (A) + iter 8, nblocks 7, nbytes 16.4M (A) + iter 9, nblocks 8, nbytes 19.8M (A) + iter 10, nblocks 9, nbytes 21.2M (A) + iter 11, nblocks 10, nbytes 24.3M (A) + iter 12, nblocks 11, nbytes 27.4M (A) + iter 13, nblocks 12, nbytes 28.3M (A) + iter 14, nblocks 13, nbytes 31.6M (A) + iter 15, nblocks 12, nbytes 28.2M (D) + iter 16, nblocks 13, nbytes 29.2M (A) + iter 17, nblocks 14, nbytes 30.8M (A) + iter 18, nblocks 15, nbytes 32.6M (A) + iter 19, nblocks 16, nbytes 32.8M (A) + iter 20, nblocks 17, nbytes 36.8M (A) + iter 21, nblocks 18, nbytes 39.6M (A) + iter 22, nblocks 19, nbytes 41.1M (A) + iter 23, nblocks 20, nbytes 44.1M (A) + iter 24, nblocks 21, nbytes 46.9M (A) + iter 25, nblocks 20, nbytes 46.5M (D) + iter 26, nblocks 21, nbytes 50.2M (A) + iter 27, nblocks 22, nbytes 53.8M (A) +