Internal-Errors.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <html lang="en">
  2. <head>
  3. <title>Internal Errors - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="Diagnostics.html#Diagnostics" title="Diagnostics">
  9. <link rel="prev" href="Diagnostics.html#Diagnostics" title="Diagnostics">
  10. <link rel="next" href="i_002fo-Errors.html#i_002fo-Errors" title="i/o Errors">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="Internal-Errors"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="i_002fo-Errors.html#i_002fo-Errors">i/o Errors</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="Diagnostics.html#Diagnostics">Diagnostics</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="Diagnostics.html#Diagnostics">Diagnostics</a>
  32. <hr>
  33. </div>
  34. <h4 class="subsection">1.6.1 Internal Errors</h4>
  35. <p><a name="index-internal-errors-55"></a>Internal errors should never occur unless the
  36. <code>avram</code> source code has been carelessly modified, except as noted
  37. in <a href="Bugs.html#Bugs">Bugs</a>. There are two kinds.
  38. <dl>
  39. <dt><var>application-name</var><code>: virtual machine internal error (code </code><var>nn</var><code>)</code><dd>Most internal errors would be reported by a message of this form
  40. if they were to occur. It indicates that some required invariant was
  41. not maintained. In such cases, the program terminates immediately, and
  42. any results already produced are suspect.
  43. <br><dt><var>application-name</var><code>: </code><var>nn</var><code> unreclaimed </code><var>struct-names</var><dd>A message of this form could be printed at the end of an otherwise successful
  44. run. <code>avram</code> maintains a count of the number of units allocated
  45. for various data structures, and checks that they are all reclaimed
  46. eventually as a safeguard against memory leaks. This message indicates
  47. that some memory remains unaccounted for.
  48. </dl>
  49. <p><a name="index-bug-reports-56"></a><a name="index-email-57"></a><a name="index-author-58"></a>If a repeatable internal error is discovered, please email a bug
  50. report and a small representative test case to the author at
  51. <a href="mailto:[email protected]">[email protected]</a>. Include the version number of <code>avram</code>,
  52. which you can get by running <kbd>avram --version</kbd>.
  53. </body></html>