kernel: bad malloc : 4
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Apr 13 08:09:46 PDT 2003
In message <20030413140647.GA18474 at gilberto.physik.rwth-aachen.de>, "Christoph
P. Kukulies" writes:
>On Sun, Apr 13, 2003 at 01:53:11PM +0200, Christoph Kukulies wrote:
>>
>> During boot, I suspect when an interface goes up (ng0?, wi0?) -
>> I'm using mpd (vpn) and thought I'd better recompile mpd but the
>> message is still there with a yesterday cvsuped kernel and -current.
>>
>> The message isn't logged in total, so I'll probably have to write
>> it down next time unless someone knows already the culprit.
>
>Here is what I could type off the screen:
>
>Bad malloc flags: 4
This means that malloc() was called with M_DONTWAIT which is a mbuf
allocator flags.
>Stack backtrace:
>backtrace(...)
>malloc(..)
>ng_ksocket(...)
I can't find a function called just "ng_ksocket()" but there are a
bunch called "ng_ksocket_BLA()" I guess it must be one of them.
A cursory glance doesn't reveal a culprit to me.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list