malloc.9 (cc4a02e2993f2506fad79ef69b6a849a9271d958) malloc.9 (1111b49c35645b9561e28458a445684ef38c0881)
1.\"
2.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
3.\" All rights reserved.
4.\"
5.\" This code is derived from software contributed to The NetBSD Foundation
6.\" by Paul Kranenburg.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 185 unchanged lines hidden (view full) ---

194.Sh DIAGNOSTICS
195A kernel compiled with the
196.Dv DIAGNOSTIC
197configuration option attempts to detect memory corruption caused by
198such things as writing outside the allocated area and imbalanced calls to the
199.Fn malloc
200and
201.Fn free
1.\"
2.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
3.\" All rights reserved.
4.\"
5.\" This code is derived from software contributed to The NetBSD Foundation
6.\" by Paul Kranenburg.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 185 unchanged lines hidden (view full) ---

194.Sh DIAGNOSTICS
195A kernel compiled with the
196.Dv DIAGNOSTIC
197configuration option attempts to detect memory corruption caused by
198such things as writing outside the allocated area and imbalanced calls to the
199.Fn malloc
200and
201.Fn free
202functions. Failing consistency checks will cause a panic or a system console
202functions.
203Failing consistency checks will cause a panic or a system console
203message:
204.Bl -bullet -offset indent -compact
205.Pp
206.It
207panic:
208.Dq malloc: bogus type
209.It
210panic:

--- 25 unchanged lines hidden ---
204message:
205.Bl -bullet -offset indent -compact
206.Pp
207.It
208panic:
209.Dq malloc: bogus type
210.It
211panic:

--- 25 unchanged lines hidden ---