NetBSD Problem Report #41845

From www@NetBSD.org  Sat Aug  8 03:31:30 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 536EF63C270
	for <gnats-bugs@gnats.netbsd.org>; Sat,  8 Aug 2009 03:31:30 +0000 (UTC)
Message-Id: <20090808033130.0D72263BDF9@www.NetBSD.org>
Date: Sat,  8 Aug 2009 03:31:30 +0000 (UTC)
From: jcarr@poethecat.com
Reply-To: jcarr@poethecat.com
To: gnats-bugs@NetBSD.org
Subject: devel/pango segfaults on compile on m68k/sun3
X-Send-Pr-Version: www-1.0

>Number:         41845
>Category:       pkg
>Synopsis:       devel/pango segfaults on compile on m68k/sun3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 08 03:35:00 +0000 2009
>Last-Modified:  Tue Aug 07 05:35:01 +0000 2012
>Originator:     John Carr
>Release:        NetBSD-5.0
>Organization:
>Environment:
NetBSD moonbeam 5.0 NetBSD 5.0 (MOONBEAM-SLIM) #0: Wed Jul 15 19:42:20 EDT 2009  root@moonbeam:/usr/src/sys/arch/sun3/compile/MOONBEAM-SLIM sun3
>Description:
I'm running into a problem with getting devel/pango compiled on m68k.
I've tried versions 1.24.0 through 1.24.5 with pkgsrc-2009Q1,
pkgsrc-2009Q2 and -current and getting the same result below. I know
that a 139 is an out of memory error generally, but my hard & soft
limits are max'd; I'm also not seeing it use an inordinate amount of RAM
or swap during this part of the compile... especially since it's
consistently dumping core in the exact same place, which seems to be when it's writing a file. 

My kernel is a pretty stock GENERIC, only slightly slimmed down on devices for sun3 and maxusers increased. Additionally, options MAXDSIZ was increased to 96Mb.

The error is below with results of a gdb directly after:

(cd .libs && rm -f pango-tibetan-fc.la && ln -s ../pango-tibetan-fc.la pango-tibetan-fc.la)
gmake[3]: Leaving directory
`/usr/pkgsrc/devel/pango/work/pango-1.24.5/modules/tibetan'
gmake[3]: Entering directory
`/usr/pkgsrc/devel/pango/work/pango-1.24.5/modules'
Writing a pango.modules file to use with tests/examples.
[1]   Segmentation fault (core dumped) ../pango/pango-q...
gmake[3]: *** [pango.modules] Error 139
gmake[3]: Leaving directory
`/usr/pkgsrc/devel/pango/work/pango-1.24.5/modules'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/devel/pango/work/pango-1.24.5/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/pango/work/pango-1.24.5'
gmake: *** [all] Error 2


moonbeam# gdb pango/.libs/pango-querymodules modules/pango-querymodul.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "m68k--netbsdelf"...
Cannot access memory at address 0x60b20a8
(gdb) bt
#0  0x060a89be in ?? ()
#1  0x00000001 in ?? ()
#2  0x066061b0 in ?? ()
#3  0x06638080 in ?? ()
#4  0x063245a0 in ?? ()
#5  0x063243cc in ?? ()
#6  0x0dffd8d8 in ?? ()
#7  0x06321996 in ?? ()
#8  0x066061b0 in ?? ()
#9  0x00000001 in ?? ()
#10 0x0dfffff0 in ?? ()
#11 0x00000000 in ?? ()
(gdb)  

>How-To-Repeat:
Compile devel/pango out of pkgsrc-2009Q2
>Fix:

>Audit-Trail:
From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/41845
Date: Tue, 7 Aug 2012 09:24:42 +0400

 Can't verify this on 5.0 running in TME because a dependency (perl) does
 not build (miniperl stalls the build).

 -- 
 Sergey Svishchev

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.