From nobody@FreeBSD.org  Fri Jul  6 13:11:53 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6103F16A468
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Jul 2007 13:11:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 3CA9313C46A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Jul 2007 13:11:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l66DBrIa021482
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 6 Jul 2007 13:11:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l66DBrat021477;
	Fri, 6 Jul 2007 13:11:53 GMT
	(envelope-from nobody)
Message-Id: <200707061311.l66DBrat021477@www.freebsd.org>
Date: Fri, 6 Jul 2007 13:11:53 GMT
From: Eric Kingston <ericnk@esreco.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: LZMA segmentation fault and core dump on files > 1-5 GB
X-Send-Pr-Version: www-3.0

>Number:         114355
>Category:       ports
>Synopsis:       archivers/LZMA segmentation fault and core dump on files > 1-5 GB
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    infofarmer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 06 13:20:03 GMT 2007
>Closed-Date:    Sat Jul 28 14:43:21 GMT 2007
>Last-Modified:  Sat Jul 28 14:43:21 GMT 2007
>Originator:     Eric Kingston
>Release:        FreeBSD 6.2 amd64
>Organization:
>Environment:
FreeBSD elrond.esreco.net 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Sun Jun 17 13:37:57 MDT 2007     ericnk@elrond.esreco.net:/usr/obj/usr/src/sys/ELROND  amd64
>Description:
LZMA, an archiver port, segmentation faults on files > 1-5 GB in size.  I've tested this on three different xeon dual multi-core processor servers.  In each case, lzma core dumps in the exact same spot and the resulting file size for each is exactly the same.  Files less than 1 GB seem to work ok.  LZMA seems to work on any size file without a problem on the FreeBSD i386 platform.  When I spoke with a friend of mine, he says that he compresses 160GB files daily without a problem, on his i386 systems.


>How-To-Repeat:
Try to compress a file > 1-5 GB on an amd64 system.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->infofarmer 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jul 6 23:12:12 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114355 
State-Changed-From-To: open->closed 
State-Changed-By: sat 
State-Changed-When: Sat Jul 28 14:41:07 UTC 2007 
State-Changed-Why:  
This command worked for me on two different current/amd64 
machines: 
dd if=/dev/random bs=1M count=7k|lzma e -si -so>/dev/null 

Peter Jeremy <peterjeremy at optushome.com.au> has also 
reported success compressing 4Gb and 7Gb of data. If the 
problem persists for you, please try to resolve it upstream. 

Thanks! 

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