Subject: Attempting to run profiled program kills the kernel
To: None <current-users@netbsd.org>
From: Miguel Mendez <flynn@energyhq.homeip.net>
List: current-users
Date: 11/15/2002 16:57:15
This is a current system running GENERIC-MP
christine: {1} uname -a
NetBSD christine.energyhq.tk 1.6K NetBSD 1.6K (GENERIC.MP) #0: Tue Nov 5 20:09:44 CET 2002 root@christine.energyhq.tk:/usr/src/sys/arch/i386/compile/GENERIC.MP i386
Now, if do something as simple as this:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf("Hello, crash\n");
}
Then: env CFLAGS="-pg -ax" make hello
then: ./hello
bang!
The kernel freezes. On a 1.6-RELEASE system it doesn't happen.
Any ideas why is this happenning? I can't seem to get a coredump, the system freezes solid.
Cheers,
--
Miguel Mendez - flynn@energyhq.homeip.net
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
NetBSD :: Unix without hype