From root@dva.in-berlin.de  Mon Dec  1 10:30:10 2003
Return-Path: <root@dva.in-berlin.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D1C6816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Dec 2003 10:30:10 -0800 (PST)
Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC9D43FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Dec 2003 10:30:04 -0800 (PST)
	(envelope-from root@dva.in-berlin.de)
Received: from hirsch.in-berlin.de (localhost [127.0.0.1])
	by hirsch.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id hB1IU2sC031008
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 1 Dec 2003 19:30:02 +0100
Received: (from uucp@localhost)
	by hirsch.in-berlin.de (8.12.10/8.12.10/Debian-4) with UUCP id hB1IU2hN031000
	for FreeBSD-gnats-submit@freebsd.org; Mon, 1 Dec 2003 19:30:02 +0100
Received: by dva.in-berlin.de (Postfix, from userid 0)
	id EB1E91806E; Mon,  1 Dec 2003 19:25:51 +0100 (CET)
Message-Id: <20031201182551.EB1E91806E@dva.in-berlin.de>
Date: Mon,  1 Dec 2003 19:25:51 +0100 (CET)
From: Boris Staeblow <balu@dva.in-berlin.de>
Reply-To: Boris Staeblow <balu@dva.in-berlin.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports/misc/gnuls -l failed with "Segmentation fault (core dumped)"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         59875
>Category:       ports
>Synopsis:       ports/misc/gnuls -l failed with "Segmentation fault (core dumped)"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 10:40:16 PST 2003
>Closed-Date:    Mon Dec 15 13:06:17 PST 2003
>Last-Modified:  Mon Dec 15 13:06:17 PST 2003
>Originator:     Boris Staeblow
>Release:        FreeBSD 5.2-BETA i386
>Organization:
private
>Environment:
System: FreeBSD 5.2-BETA : Sat Nov 29 17:27:47 CET 2003 root@dva.in-berlin.de:/usr/obj/usr/src/sys/DVA i386
>Description:
ports/misc/gnuls:
`gnuls -l` failes with "Segmentation fault (core dumped)"


# gnuls -l
Segmentation fault (core dumped)
# truss gnuls -l
mmap(0x0,3560,0x3,0x1000,-1,0x0)		 = 671596544 (0x2807c000)
munmap(0x2807c000,0xde8)			 = 0 (0x0)
__sysctl(0xbfbfe4c8,0x2,0x2807a26c,0xbfbfe4c4,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,0x3,0x1002,-1,0x0)		 = 671596544 (0x2807c000)
issetugid()					 = 0 (0x0)
open("/etc/libmap.conf",0x0,0666)		 ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",0x0,00)		 = 3 (0x3)
read(0x3,0xbfbfe560,0x80)			 = 128 (0x80)
lseek(3,0x80,0)					 = 128 (0x80)
read(0x3,0x2807e100,0xa6)			 = 166 (0xa6)
close(3)					 = 0 (0x0)
access("/lib/libc.so.5",0)			 = 0 (0x0)
open("/lib/libc.so.5",0x0,027757762670)		 = 3 (0x3)
fstat(3,0xbfbfe5a0)				 = 0 (0x0)
read(0x3,0x280791c0,0x1000)			 = 4096 (0x1000)
mmap(0x0,892928,0x5,0x20002,3,0x0)		 = 671629312 (0x28084000)
mprotect(0x28146000,0x1000,0x7)			 = 0 (0x0)
mprotect(0x28146000,0x1000,0x5)			 = 0 (0x0)
mmap(0x28147000,20480,0x3,0x12,3,0xc3000)	 = 672428032 (0x28147000)
mmap(0x2814c000,73728,0x3,0x1012,-1,0x0)	 = 672448512 (0x2814c000)
close(3)					 = 0 (0x0)
mmap(0x0,824,0x3,0x1000,-1,0x0)			 = 672522240 (0x2815e000)
munmap(0x2815e000,0x338)			 = 0 (0x0)
mprotect(0x28084000,0xc3000,0x7)		 = 0 (0x0)
mmap(0x0,21416,0x3,0x1000,-1,0x0)		 = 672522240 (0x2815e000)
munmap(0x2815e000,0x53a8)			 = 0 (0x0)
mprotect(0x28084000,0xc3000,0x5)		 = 0 (0x0)
sigaction(SIGILL,0xbfbfe5e0,0xbfbfe5c0)		 = 0 (0x0)
sigprocmask(0x1,0x0,0x2807911c)			 = 0 (0x0)
sigaction(SIGILL,0xbfbfe5c0,0x0)		 = 0 (0x0)
sigprocmask(0x1,0x280790c0,0xbfbfe5f0)		 = 0 (0x0)
sigprocmask(0x3,0x280790d0,0x0)			 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_COLLATE",0x0,0666) = 3 (0x3)
fstat(3,0xbfbfe0c0)				 = 0 (0x0)
readlink("/etc/malloc.conf",0xbfbfe080,63)	 ERR#2 'No such file or directory'
issetugid()					 = 0 (0x0)
issetugid()					 = 0 (0x0)
getuid()					 = 0 (0x0)
mmap(0x0,4096,0x3,0x1002,-1,0x0)		 = 672522240 (0x2815e000)
break(0x805d000)				 = 0 (0x0)
break(0x8061000)				 = 0 (0x0)
read(0x3,0x805d000,0x4000)			 = 4642 (0x1222)
break(0x8062000)				 = 0 (0x0)
break(0x8063000)				 = 0 (0x0)
close(3)					 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_CTYPE",0x0,0666) = 3 (0x3)
fstat(3,0xbfbfe130)				 = 0 (0x0)
fstat(3,0xbfbfdf70)				 = 0 (0x0)
break(0x8067000)				 = 0 (0x0)
lseek(3,0x0,1)					 = 0 (0x0)
lseek(3,0x0,0)					 = 0 (0x0)
read(0x3,0x8063000,0x4000)			 = 3197 (0xc7d)
close(3)					 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_MONETARY",0x0,05001706130) = 3 (0x3)
fstat(3,0xbfbfe170)				 = 0 (0x0)
read(0x3,0x805e011,0x23)			 = 35 (0x23)
close(3)					 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_NUMERIC",0x0,043) = 3 (0x3)
fstat(3,0xbfbfe170)				 = 0 (0x0)
read(0x3,0x805c0d1,0x6)				 = 6 (0x6)
close(3)					 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_TIME",0x0,06) = 3 (0x3)
fstat(3,0xbfbfe170)				 = 0 (0x0)
read(0x3,0x805f011,0x16f)			 = 367 (0x16f)
close(3)					 = 0 (0x0)
open("/usr/share/locale/de_DE.ISO8859-15/LC_MESSAGES",0x0,0557) = 3 (0x3)
fstat(3,0xbfbfe170)				 = 0 (0x0)
read(0x3,0x805e051,0x12)			 = 18 (0x12)
close(3)					 = 0 (0x0)
ioctl(1,TIOCGETA,0xbfbfe600)			 = 0 (0x0)
ioctl(1,TIOCGWINSZ,0xbfbfe668)			 = 0 (0x0)
open("/usr/local/share/locale/locale.alias",0x0,0666) = 3 (0x3)
fstat(3,0xbfbfdb70)				 = 0 (0x0)
read(0x3,0x8063000,0x4000)			 = 2687 (0xa7f)
break(0x8068000)				 = 0 (0x0)
read(0x3,0x8063000,0x4000)			 = 0 (0x0)
close(3)					 = 0 (0x0)
SIGNAL 11
SIGNAL 11
Process stopped because of:  16
process exit, rval = 139
Segmentation fault (core dumped)

>How-To-Repeat:
- install FreeBSD 5.2-BETA
- install ports/misc/gnuls
- run `gnuls -l`
>Fix:
n/a

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback  
State-Changed-By: krion 
State-Changed-When: Mon Dec 15 05:05:41 PST 2003 
State-Changed-Why:  
I tested it on -current and it works. Are you sure 
your hardware is ok ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59875 
State-Changed-From-To: feedback->closed 
State-Changed-By: krion 
State-Changed-When: Mon Dec 15 13:05:59 PST 2003 
State-Changed-Why:  
Problem doesn't exist anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59875 
>Unformatted:
