memguard usage?

4 posts / 0 new
Last post
walkero
walkero's picture
Offline
Last seen: 4 months 1 week ago
Joined: 2009-05-03 16:54
memguard usage?

Hello all,
I am trying to get some info on leaked memory on an application I am working on. I would like to ask you if you are using memguard and if you know if it works fine on X5000. I am experiencing an ISI crash if I run memguard and have it enabled when I run my application.

The version I used with memguard was compiled with -gstabs, which as much as I know is necessary to get information about the line of the program when you check specific memory addresses. But I might be wrong as well.

Do you know if a newer version than the one that is available on OS4Depot exists? Are you using other applications to check for memory leaks and other possible issues?

Do I need to use the debug version of kernel when I do such checks?

I tried also on a microAmigaOne that I have, where memguard didn't crash when it was enabled, but the results all pointed to kernel.

Below is the output I got.

  1. New Shell process 7
  2. 7.Programs:Programming/MemGuard> MemGuard Client=MediaVault.debug
  3. MemGuard 1.15 (2.1.2009) installed.
  4.  
  5. CTRL-C : unassigned
  6. CTRL-D : print munglist
  7. CTRL-E : enable/disable MemGuard
  8. CTRL-F : show some internal stats
  9.  
  10. NOTE: To stop this program you must reboot!
  11. 0 buckets of 1024 used, max chain size 0, avg 0, total 0
  12. 0 bytes overhead caused by walls
  13. 1 MemHeaders allocated, that's 65504 bytes, 57280 bytes are free
  14. 0 allocations were tracked by this program, 0 are already freed
  15. Task: [8] "MediaVault.debug" (69D67820) -- 6A2B0040 = AllocVecTagList(3988, AVT_Type, 00001000, ...)
  16. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  17. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  18. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C0040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  19. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  20. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  21. Task: [6] "MediaVault.debug" (67F375D0) -- 6A1C2138 = AllocPooled(6783DF60, 131)
  22. LR 7FD067CC : "LIBS:bsdsocket.library" offset 0000 segment 367CC
  23. CTR 7FAEDA98 : "MemGuard" offset 0000 segment 8A98
  24. Task: [6] "MediaVault.debug" (67F375D0) -- 6A1C2040 = AllocVecTagList(1044, AVT_Type, 00001000, ...)
  25. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  26. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  27. Task: [6] "MediaVault.debug" (67DC7280) -- 6A1C2248 = AllocPooled(6783DF60, 165)
  28. LR 7FD067CC : "LIBS:bsdsocket.library" offset 0000 segment 367CC
  29. CTR 7FAEDA98 : "MemGuard" offset 0000 segment 8A98
  30. Task: [8] "MediaVault.debug" (69D67820) -- 67019610 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  31. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  32. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  33. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C4040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  34. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  35. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  36. Task: [8] "MediaVault.debug" (69D67820) -- 67631040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  37. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  38. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  39. Task: [8] "MediaVault.debug" (69D67820) -- 675E2040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  40. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  41. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  42. Task: [6] "MediaVault.debug" (67F237E0) -- 67680750 = AllocVecTagList(32, AVT_Type, 00001000, ...)
  43. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  44. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  45. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C1380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  46. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  47. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  48. Task: [8] "MediaVault.debug" (69D67820) -- 67751040 = AllocVecTagList(8212, AVT_Type, 00001000, ...)
  49. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  50. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  51. Task: [8] "MediaVault.debug" (69D67820) -- 67744610 = AllocVecTagList(28, AVT_Type, 00001000, ...)
  52. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  53. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  54. Task: [8] "MediaVault.debug" (69D67820) -- 678C0040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  55. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  56. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  57. Task: [8] "MediaVault.debug" (69D67820) -- 67744B10 = AllocVecTagList(16, AVT_Type, 00001000, ...)
  58. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  59. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  60. Task: [8] "MediaVault.debug" (69D67820) -- 67019040 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  61. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  62. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  63. Task: [8] "MediaVault.debug" (69D67820) -- 68227040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  64. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  65. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  66. Task: [8] "MediaVault.debug" (69D67820) -- 68227440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  67. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  68. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  69. Task: [8] "MediaVault.debug" (69D67820) -- 68227840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  70. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  71. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  72. Task: [8] "MediaVault.debug" (69D67820) -- 680C9040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  73. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  74. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  75. Task: [8] "MediaVault.debug" (69D67820) -- 68227C40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  76. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  77. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  78. Task: [8] "MediaVault.debug" (69D67820) -- 680C9440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  79. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  80. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  81. Task: [8] "MediaVault.debug" (69D67820) -- 680C9840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  82. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  83. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  84. Task: [8] "MediaVault.debug" (69D67820) -- 680C9C40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  85. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  86. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  87. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C8040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  88. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  89. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  90. Task: [8] "MediaVault.debug" (69D67820) -- 67744E30 = AllocVecTagList(15, AVT_Type, 00001000, ...)
  91. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  92. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  93. Task: [6] "MediaVault.debug" (67DC7280) -- 67754040 = AllocVecTagList(8340, AVT_Type, 00001000, ...)
  94. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  95. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  96. Task: [8] "MediaVault.debug" (69D67820) -- 67764040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  97. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  98. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  99. Task: [8] "MediaVault.debug" (69D67820) -- 67883040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  100. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  101. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  102. Task: [8] "MediaVault.debug" (69D67820) -- 675D6040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  103. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  104. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  105. Task: [8] "MediaVault.debug" (69D67820) -- 6821A040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  106. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  107. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  108. Task: [8] "MediaVault.debug" (69D67820) -- 6821A440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  109. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  110. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  111. Task: [8] "MediaVault.debug" (69D67820) -- 6821A840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  112. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  113. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  114. Task: [8] "MediaVault.debug" (69D67820) -- 6821AC40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  115. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  116. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  117. Task: [8] "MediaVault.debug" (69D67820) -- 67744C50 = AllocVecTagList(20, AVT_Type, 00001000, ...)
  118. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  119. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  120. Task: [8] "MediaVault.debug" (69D67820) -- 6A2926C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  121. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  122. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  123. Task: [8] "MediaVault.debug" (69D67820) -- 6A2B26C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  124. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  125. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  126. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C26C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  127. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  128. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  129. Task: [6] "MediaVault.debug" (67DC7280) -- 675C4180 = AllocVecTagList(32, AVT_Type, 00001000, ...)
  130. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  131. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  132. Task: [8] "MediaVault.debug" (69D67820) -- 675E06C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  133. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  134. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  135. Task: [8] "MediaVault.debug" (69D67820) -- 6701A780 = AllocVecTagList(1232, AVT_Type, 00001000, ...)
  136. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  137. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  138. Task: [8] "MediaVault.debug" (69D67820) -- 6A2AC040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  139. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  140. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  141. Task: [8] "MediaVault.debug" (69D67820) -- 67744A70 = AllocVecTagList(16, AVT_Type, 00001000, ...)
  142. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  143. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  144. Task: [8] "MediaVault.debug" (69D67820) -- 67744F70 = AllocVecTagList(12, AVT_Type, 00001000, ...)
  145. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  146. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  147. Task: [8] "MediaVault.debug" (69D67820) -- 68C53040 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  148. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  149. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  150. Task: [8] "MediaVault.debug" (69D67820) -- 678B7040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  151. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  152. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  153. Task: [8] "MediaVault.debug" (69D67820) -- 675DA040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  154. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  155. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  156. Task: [8] "MediaVault.debug" (69D67820) -- 6A2C9380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  157. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  158. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  159. Task: [8] "MediaVault.debug" (69D67820) -- 67626380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  160. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  161. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  162. Task: [8] "MediaVault.debug" (69D67820) -- 67765380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  163. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  164. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  165. Task: [8] "MediaVault.debug" (69D67820) -- 675D7380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  166. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  167. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  168. Task: [8] "MediaVault.debug" (69D67820) -- 67744D90 = AllocVecTagList(16, AVT_Type, 00001000, ...)
  169. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  170. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  171. Task: [8] "MediaVault.debug" (69D67820) -- 6701A1B0 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  172. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  173. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  174. Task: [6] "MediaVault.debug" (67F375D0) -- 67726380 = AllocVecTagList(32, AVT_Type, 00001000, ...)
  175. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  176. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  177. Task: [8] "MediaVault.debug" (69D67820) -- 682C89A0 = AllocVecTagList(84, AVT_Type, 00001000, ...)
  178. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  179. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  180. Task: [8] "MediaVault.debug" (69D67820) -- 676336C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  181. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  182. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  183. Task: [8] "MediaVault.debug" (69D67820) -- 678C9040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  184. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  185. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  186. Task: [8] "MediaVault.debug" (69D67820) -- 66F05E10 = AllocVecTagList(16, AVT_Type, 00001000, ...)
  187. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  188. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  189. Task: [6] "MediaVault.debug" (67F375D0) -- 6774B040 = AllocVecTagList(8340, AVT_Type, 00001000, ...)
  190. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  191. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  192. Task: [8] "MediaVault.debug" (69D67820) -- 6787A040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  193. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  194. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  195. Task: [8] "MediaVault.debug" (69D67820) -- 677446B0 = AllocVecTagList(28, AVT_Type, 00001000, ...)
  196. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  197. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  198. Task: [8] "MediaVault.debug" (69D67820) -- 67E14C40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  199. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  200. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  201. Task: [8] "MediaVault.debug" (69D67820) -- 67744BB0 = AllocVecTagList(10, AVT_Type, 00001000, ...)
  202. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  203. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  204. Task: [8] "MediaVault.debug" (69D67820) -- 6762D040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  205. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  206. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  207. Task: [8] "MediaVault.debug" (69D67820) -- 67A79040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  208. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  209. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  210. Task: [8] "MediaVault.debug" (69D67820) -- 67019BE0 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  211. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  212. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  213. Task: [8] "MediaVault.debug" (69D67820) -- 675DE040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  214. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  215. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  216. Task: [8] "MediaVault.debug" (69D67820) -- 6A2AD380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  217. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  218. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  219. Task: [8] "MediaVault.debug" (69D67820) -- 69C83780 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  220. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  221. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  222. Task: [8] "MediaVault.debug" (69D67820) -- 677449D0 = AllocVecTagList(20, AVT_Type, 00001000, ...)
  223. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  224. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  225. Task: [8] "MediaVault.debug" (69D67820) -- 68FA1380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  226. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  227. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  228. Task: [8] "MediaVault.debug" (69D67820) -- 675DB380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  229. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  230. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  231. Task: [8] "MediaVault.debug" (69D67820) -- 67744ED0 = AllocVecTagList(20, AVT_Type, 00001000, ...)
  232. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  233. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  234. Task: [8] "MediaVault.debug" (69D67820) -- 66F05550 = AllocVecTagList(28, AVT_Type, 00001000, ...)
  235. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  236. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  237. Task: [8] "MediaVault.debug" (69D67820) -- 6A2CA6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  238. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  239. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  240. Task: [8] "MediaVault.debug" (69D67820) -- 67F36440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  241. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  242. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  243. Task: [8] "MediaVault.debug" (69D67820) -- 676276C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  244. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  245. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  246. Task: [8] "MediaVault.debug" (69D67820) -- 66F05A50 = AllocVecTagList(28, AVT_Type, 00001000, ...)
  247. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  248. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  249. Task: [8] "MediaVault.debug" (69D67820) -- 66FC6040 = AllocVecTagList(10772, AVT_Type, 00001000, ...)
  250. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  251. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  252. Task: [8] "MediaVault.debug" (69D67820) -- 67EC7040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  253. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  254. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  255. Task: [8] "MediaVault.debug" (69D67820) -- 6813BAD0 = AllocVecTagList(40, AVT_Type, 00001000, ...)
  256. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  257. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  258. Task: [8] "MediaVault.debug" (69D67820) -- 67F36C40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  259. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  260. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  261. Task: [8] "MediaVault.debug" (69D67820) -- 67EC7440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  262. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  263. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  264. Task: [8] "MediaVault.debug" (69D67820) -- 6782E040 = AllocVecTagList(32788, AVT_Type, 00001000, ...)
  265. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  266. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  267. Task: [8] "MediaVault.debug" (69D67820) -- 675D86C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  268. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  269. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  270. Task: [8] "MediaVault.debug" (69D67820) -- 67EC7840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  271. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  272. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  273. Task: [8] "MediaVault.debug" (69D67820) -- 69C831B0 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  274. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  275. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  276. Task: [8] "MediaVault.debug" (69D67820) -- 67744CF0 = AllocVecTagList(23, AVT_Type, 00001000, ...)
  277. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  278. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  279. Task: [6] "MediaVault.debug" (680CA590) -- 676A5CF0 = AllocVecTagList(32, AVT_Type, 00001000, ...)
  280. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  281. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  282. Task: [8] "MediaVault.debug" (69D67820) -- 68C541B0 = AllocVecTagList(1172, AVT_Type, 00001000, ...)
  283. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  284. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  285. Task: [8] "MediaVault.debug" (69D67820) -- 68F98040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  286. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  287. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  288. Task: [8] "MediaVault.debug" (69D67820) -- 67EC9040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  289. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  290. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  291. Task: [8] "MediaVault.debug" (69D67820) -- 67EC9440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  292. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  293. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  294. Task: [8] "MediaVault.debug" (69D67820) -- 67EC9840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  295. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  296. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  297. Task: [8] "MediaVault.debug" (69D67820) -- 6762E380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  298. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  299. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  300. Task: [8] "MediaVault.debug" (69D67820) -- 67EC9C40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  301. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  302. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  303. Task: [8] "MediaVault.debug" (69D67820) -- 67EAA040 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  304. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  305. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  306. Task: [8] "MediaVault.debug" (69D67820) -- 67EAA440 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  307. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  308. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  309. Task: [8] "MediaVault.debug" (69D67820) -- 66F05190 = AllocVecTagList(32, AVT_Type, 00001000, ...)
  310. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  311. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  312. Task: [8] "MediaVault.debug" (69D67820) -- 67EAA840 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  313. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  314. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  315. Task: [8] "MediaVault.debug" (69D67820) -- 6A2AE6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  316. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  317. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  318. Task: [8] "MediaVault.debug" (69D67820) -- 66F05690 = AllocVecTagList(20, AVT_Type, 00001000, ...)
  319. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  320. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  321. Task: [8] "MediaVault.debug" (69D67820) -- 67EAAC40 = AllocVecTagList(820, AVT_Type, 00001000, ...)
  322. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  323. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  324. Task: [8] "MediaVault.debug" (69D67820) -- 68FA26C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  325. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  326. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  327. Task: [8] "MediaVault.debug" (69D67820) -- 675DC6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  328. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  329. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  330. Task: [8] "MediaVault.debug" (69D67820) -- 66F054B0 = AllocVecTagList(28, AVT_Type, 00001000, ...)
  331. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  332. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  333. Task: [8] "MediaVault.debug" (69D67820) -- 68F9C040 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  334. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  335. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  336. Task: [8] "MediaVault.debug" (69D67820) -- 67E5E040 = AllocVecTagList(16404, AVT_Type, 00001000, ...)
  337. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  338. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  339. Task: [8] "MediaVault.debug" (69D67820) -- 66F04BD0 = AllocVecTagList(128, AVT_Type, 00001000, ...)
  340. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  341. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  342. Task: [8] "MediaVault.debug" (69D67820) -- 66F04CD0 = AllocVecTagList(128, AVT_Type, 00001000, ...)
  343. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  344. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  345. Task: [8] "MediaVault.debug" (69D67820) -- 68F99380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  346. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  347. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  348. Task: [8] "MediaVault.debug" (69D67820) -- 6762F6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  349. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  350. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  351. Task: [6] "MediaVault.debug" (67F375D0) -- 67D2E760 = AllocVec(672, 00010001)
  352. LR 0143660C : "Kickstart/kernel" offset 0000 segment 3660C
  353. CTR 7FAED930 : "MemGuard" offset 0000 segment 8930
  354. Task: [8] "MediaVault.debug" (69D67820) -- 66F05CD0 = AllocVecTagList(12, AVT_Type, 00001000, ...)
  355. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  356. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  357. Task: [8] "MediaVault.debug" (69D67820) -- 67A7B6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  358. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  359. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  360. Task: [8] "MediaVault.debug" (69D67820) -- 68F9D380 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  361. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  362. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  363. Task: [8] "MediaVault.debug" (69D67820) -- 68F9A6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  364. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  365. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  366. Task: [6] "MediaVault.debug" (67F375D0) -- 67D7B9E0 = AllocVec(1948, 00010001)
  367. LR 0145CF34 : "Kickstart/kernel" offset 0000 segment 5CF34
  368. CTR 7FAED930 : "MemGuard" offset 0000 segment 8930
  369. Task: [8] "MediaVault.debug" (69D67820) -- 68F9E6C0 = AllocVecTagList(4116, AVT_Type, 00001000, ...)
  370. LR 014325B8 : "Kickstart/kernel" offset 0000 segment 325B8
  371. CTR 7FAEDBC4 : "MemGuard" offset 0000 segment 8BC4
  372. 119 buckets of 1024 used, max chain size 2, avg 1, total 132
  373. 16896 bytes overhead caused by walls
  374. 2 MemHeaders allocated, that's 131008 bytes, 114176 bytes are free
  375. 24412 allocations were tracked by this program, 24280 are already freed
trixie
trixie's picture
Offline
Last seen: 7 months 1 week ago
Joined: 2011-02-03 13:58
Re: memguard usage?

Hello George,

Memguard is known to NOT work on the X5000, and possibly on other systems. Whether it's a hardware thing or a Final Edition thing I don't know. All I can say is that it definitely worked fine on my Sam440 before OS4.1 FE.

AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2

walkero
walkero's picture
Offline
Last seen: 4 months 1 week ago
Joined: 2009-05-03 16:54
Re: memguard usage?

@trixie
Thank you for your reply. I have to investigate it more and see what we can get from it.

cwenzel
cwenzel's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 2021-01-12 07:05
Re: memguard usage?

The biggest problem that I recall from years ago about discussions regarding programs like this, was that they didn't work properly with the memory pools and task-centic private buffers, they also made some asumptions about internal constructs like AllocVec() allocations having the size at -4 offset, there were other issues, but it's too long ago, I don't remember the specifics.

I think someone told me that one of them would track all memory allocated by a process but didn't know that some allocations are done at run-time by various OS components like dos.library that were not released straight away. For example, when a program starts in a new process, and that program calls say SetDate() for the first time, or any API function that takes a string name parameter for that matter, DOS will allocate a 4K buffer for a private memory list stored in that process' structure, for later use.
Every time after that when the program calls a string-input-name function, it reuses that same path buffer, rather than constantly allocating and freeing them all the time, which takes quite some time when you do it a lot.
Only when the process ends (or crashes) do these private buffers get freed, unfortunately these tools apparently don't know about this behaviour and complains when a synchronous CLI launched program exits, that it hasn't freed the 4K buffer, because as you know, the same CLI processes is reused over and over again until ENDCLI is issued.

So, it will be difficult to make one of these kind of tools, not only because there is internal system knowledge required to do so, but has to be updated frequently due to the constant evolution of the various API's.
I know that Thomas has a way of tracking memory in Exec, but that method doesn't have an API for third part tools to use, AFAIK.

Log in or register to post comments