From: "SourceForge.net" Subject: [ kvm-Bugs-1672286 ] process creation randomly fails in plan9 Date: Fri, 02 Mar 2007 01:50:43 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: noreply-pyega4qmqnRoyOMFzWx49A@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Bugs item #1672286, was opened at 2007-03-02 10:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1672286&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: cinap_lenrek (cinap_lenrek) Assigned to: Nobody/Anonymous (nobody) Summary: process creation randomly fails in plan9 Initial Comment: the following code produces random segfaults in the created process unter kvm-12. works with -no-kvm option. --- #include #include #include void emptyproc(void *) { } void threadmain(int agrc, char **argv) { int i; for(i=0; i<10000; i++){ proccreate(emptyproc, nil, 1024); } } --- cpu% ./test test 7531: suicide: sys: trap: fault write addr=0xe80424b3 pc=0x00001d6d test 7907: suicide: sys: trap: fault write addr=0x3 pc=0x000014db the pc and addr values are completly bogus and seem to be random. the guest is a netbooted plan9 cpu-kernel. i can test it with some other official plan9 image if you want. host is: root@excel:~# uname -a Linux excel.9hal 2.6.20.1 #8 SMP PREEMPT Wed Feb 28 20:34:11 CET 2007 i686 GNU/Linux r root@excel:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.00GHz stepping : 2 cpu MHz : 3000.399 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm bogomips : 6005.68 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.00GHz stepping : 2 cpu MHz : 3000.399 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm bogomips : 6000.75 c ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1672286&group_id=180599 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV