Where are you running this program at (Virtual Machine, Bare metal, etc)?
--
Rafael Vargas
http://rafavargas.com
I have just tried to replicate this.
I am running it on a Pentium4/HT 3GHz, Ubuntu 9.04,
VMware-server 2.0.1 with Minix 3.1.4
The /var/log/messages output is:
May 23 10:13:46 172 kernel: VM: pagefault: SIGSEGV 71109 bad addr
0x7ff3c908 err 0x6 nopage write
May 23 10:13:46 172 kernel: coba 71109 0x59 0x49
May 23 10:13:46 172 kernel: PM: signal 11 for 119 / coba
May 23 10:13:46 172 kernel: dumpcore for 119 / coba
when executing the program "coba" above
(+ "Memory fault (core dumped)").
--
Rahmat M. Samik-Ibrahim --- vLSM.org