Re: how to debug gc crashes correlated to arena chunk size
Douglas Katzman via Sbcl-help <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAOrNasy_qObQxvGhQtVwcto0eB6LfBVLaAanoYHF1aw873jG7A@mail.gmail.com> |
Have you tried running c-find-heap->arena before rewinding? Something else that may be helpful (for debugging, not in production) is to call hide-arena/unhide-arena. The basic technique is to create N times as many arenas as you would otherwise need. Whenever you switch to an arena at the outermost point in a task, hide the most-recently-used arena, pick a new one to use, unhide that one, and use it. Any references to any of the hidden arenas will cause a fault that can be diagnosed. Take a look at the test named 'arena-use-after-free' in arena.impure for the idea. _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help