I'm testing a Mac Powerbook G4 as a potential replacement for my linux laptop. At the moment, MacOS X keeps crashing on me.
I can crash it as follows: create a small file test.c containing:
#include <stdio.h>
int main() { printf ("sizeof(int)=%d\n",sizeof(int)); }
and then repeatedly compiling and executing it in a loop:
while (1)
gcc -O2 test.c
./a.out > /dev/null
done
(In my tests an Activity Monitor was also running.)
gcc --version outputs
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
....
I'm running MacOS 10.3.4 and now 10.3.5 (although the machine froze while "optimizing HD performance" while upgrading to 10.3.5). (uname now says I'm running Darwin kernel version 7.5.0 dated Aug 5 2004).
Machine is a Powerbook G4 with 512 MB memory (only ~200 MB is in use).
After about 15-20 minutes, the machine freezes solid. The display remains unchanged, the mouse doesn't respond, the network doesn't respond, closing the screen does nothing, and I have to hold the power button down to turn the machine off and then reboot.
According to the Activity Monitor main memory is not being leaked and there is plenty of HD space. I've also seen the freeze happen under other circumstances (not involving gcc), but this is the most repeatable.
Does this happen for you, or not, and how might I go about fixing it?
Thanks.
I can crash it as follows: create a small file test.c containing:
#include <stdio.h>
int main() { printf ("sizeof(int)=%d\n",sizeof(int)); }
and then repeatedly compiling and executing it in a loop:
while (1)
gcc -O2 test.c
./a.out > /dev/null
done
(In my tests an Activity Monitor was also running.)
gcc --version outputs
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
....
I'm running MacOS 10.3.4 and now 10.3.5 (although the machine froze while "optimizing HD performance" while upgrading to 10.3.5). (uname now says I'm running Darwin kernel version 7.5.0 dated Aug 5 2004).
Machine is a Powerbook G4 with 512 MB memory (only ~200 MB is in use).
After about 15-20 minutes, the machine freezes solid. The display remains unchanged, the mouse doesn't respond, the network doesn't respond, closing the screen does nothing, and I have to hold the power button down to turn the machine off and then reboot.
According to the Activity Monitor main memory is not being leaked and there is plenty of HD space. I've also seen the freeze happen under other circumstances (not involving gcc), but this is the most repeatable.
Does this happen for you, or not, and how might I go about fixing it?
Thanks.