NetBSD Problem Report #49521

From he@floke.uninett.no  Thu Jan  1 22:12:15 2015
Return-Path: <he@floke.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EFB22A582D
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  1 Jan 2015 22:12:14 +0000 (UTC)
Message-Id: <20150101205438.A6BB8CFEBF@floke.uninett.no>
Date: Thu,  1 Jan 2015 21:54:38 +0100 (CET)
From: he@NetBSD.org
Reply-To: he@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: python33 self-tests crash i386/netbsd-6 systems
X-Send-Pr-Version: 3.95

>Number:         49521
>Category:       port-i386
>Synopsis:       python33 self-tests crash i386/netbsd-6 systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 01 22:15:00 +0000 2015
>Last-Modified:  Thu Jan 08 22:05:01 +0000 2015
>Originator:     Havard Eidnes
>Release:        NetBSD 6.1.4_PATCH
>Organization:
	None
>Environment:
System: NetBSD floke.uninett.no 6.1.4_PATCH NetBSD 6.1.4_PATCH (GENERIC) #1: Sun Jun 29 13:59:55 CEST 2014 he@floke.uninett.no:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	Running "make test" in pkgsrc/lang/python33 eventually results
	in a panic.  My test system doesn't have a serial console,
	the crashdump contains this tail of dmesg:

uvm_fault(0xc41d8958, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c079495f cs 8 eflags 210213 cr2 0 ilevel 0
panic: trap
cpu1: Begin traceback...
printf_nolog(c0ba9993,df9baa60,df9baa60,c079495f,8,210213,0,0,df9baa10,c08ac8e4) at netbsd:printf_nolog
trap_tss() at netbsd:trap_tss
--- trap via task gate ---
0:
cpu1: End traceback...

	Unfortunately, the crash utility doesn't reveal much more:

crash> bt
_KERNEL_OPT_NAPMBIOS(c0ba9993,104,c05a2408,8,5,0,0,104,df9ba9b4,c0790cfa) at 0
_KERNEL_OPT_IPX(104,0,fffe,c0bb42e3,c0790aa5,0,6,df9baa60,df9ba9c4,c0790d9f) at d
f9ba9d0
vpanic(c0ba9993,df9ba9d0,df9baa54,c07df53c,c0ba9993,df9baa60,df9baa60,c079495f,8
,210213) at vpanic+0x1cf
printf_nolog(c0ba9993,df9baa60,df9baa60,c079495f,8,210213,0,0,df9baa10,c08ac8e4)
 at printf_nolog
trap_tss() at trap_tss
--- trap via task gate ---
0:
crash> 

>How-To-Repeat:
	See above.

>Fix:
	Sorry, don't know yet.

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/49521: python33 self-tests crash i386/netbsd-6 systems
Date: Thu, 1 Jan 2015 22:23:18 +0000

 On Thu, Jan 01, 2015 at 10:15:01PM +0000, he@NetBSD.org wrote:
  > --- trap via task gate ---
  > 0:

 That is probably a kernel stack overflow.

 -- 
 David A. Holland
 dholland@netbsd.org

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/49521: python33 self-tests crash i386/netbsd-6 systems
Date: Thu, 8 Jan 2015 22:01:19 +0000

 On Thu, Jan 01, 2015 at 10:25:00PM +0000, David Holland wrote:
 > The following reply was made to PR port-i386/49521; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: port-i386/49521: python33 self-tests crash i386/netbsd-6 systems
 > Date: Thu, 1 Jan 2015 22:23:18 +0000
 > 
 >  On Thu, Jan 01, 2015 at 10:15:01PM +0000, he@NetBSD.org wrote:
 >   > --- trap via task gate ---
 >   > 0:
 >  
 >  That is probably a kernel stack overflow.

 In which case find the processes kernel stack, hexdump it, and
 follow it by hand.
 I think there are 'frame pointers' which should point to each other
 and be next to the return address.

 	David

 -- 
 David Laight: david@l8s.co.uk

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.