From: "Michael Marineau" Subject: Weird bug: system instability after cat /proc/kcore Date: Wed, 3 Oct 2007 16:03:15 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ok, the existence of this bug just blew my mind. It appears that after coppying /proc/kcore to disk the system starts to behave strangely. Processes start to sometimes segfault randomly or die with a glibc double free error. The system is perfectly fine prior to catting /proc/kcore. I can reproduce this problem on the 2.6.18 kernel from xen 3.1.0 and 3.1.1-rc2. To trigger it I just have to run 'cat /proc/kcore >coredump' and then start hitting the system with something like a gdb compile. I usually see a segfault or some strange failure before the compile finishes. -- Michael Marineau Oregon State University mike@marineau.org