From nobody@FreeBSD.org  Sun Aug 25 14:03:52 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 47379555
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Aug 2013 14:03:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 34BF62F0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Aug 2013 14:03:52 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7PE3pKI018603
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Aug 2013 14:03:51 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7PE3ptg018602;
	Sun, 25 Aug 2013 14:03:51 GMT
	(envelope-from nobody)
Message-Id: <201308251403.r7PE3ptg018602@oldred.freebsd.org>
Date: Sun, 25 Aug 2013 14:03:51 GMT
From: Jan Beich <jbeich@tormail.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [regression] uniq(1) is segfaults in 32bit mode on amd64 since r253457
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181526
>Category:       bin
>Synopsis:       [regression] uniq(1) is segfaults in 32bit mode on amd64 since r253457
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pjd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 25 14:10:00 UTC 2013
>Closed-Date:    Sun Sep 22 02:41:26 UTC 2013
>Last-Modified:  Sun Sep 22 02:41:26 UTC 2013
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
ex. http://lists.freebsd.org/pipermail/freebsd-ports/2013-August/085533.html

>Description:

>How-To-Repeat:
$ make CC='cc -m32' -C /usr/src/usr.bin/uniq
$ /usr/src/usr.bin/uniq/uniq
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x28164dab in __increment_D2A (b=0x0) at /usr/src/lib/libc/gdtoa_strtodg.c:61
61              xe = x + b->wds;
Current language:  auto; currently minimal
(gdb) bt
#0  0x28164dab in __increment_D2A (b=0x0) at /usr/src/lib/libc/gdtoa_strtodg.c:61
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->pjd 
Responsible-Changed-By: flo 
Responsible-Changed-When: Tue Sep 10 13:56:40 UTC 2013 
Responsible-Changed-Why:  
Pawel, can you please have a look at this? I'm also seeing uniq segfault 
in i386 poudriere jails on amd64 (host and jail build from sources from 
r255441) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181526 
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sun Sep 22 02:41:25 UTC 2013 
State-Changed-Why:  
per submitter request - see r255657 

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