Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 18:01:20 +0100 (CET)
From:      sec@ice.42.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        bug-dc@gnu.org
Subject:   gnu/25707: dc :  memory leak?
Message-ID:  <20010311170120.7690FD6@ice.42.org>

next in thread | raw e-mail | index | archive | help

>Number:         25707
>Category:       gnu
>Synopsis:       dc & memory leak?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 11 09:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

dc (GNU bc 1.06) 1.3

Copyright 1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

	
>Description:

dc eats memory like hell in a recursion. Other dc's (like solaris and
irix dc) don't do this
>How-To-Repeat:

echo '[ p lb 2 + d sb + lax]sa 1sb 1 lax'|dc

This soon exhausts grows to > 60Mb, and then core dumps.

	
>Fix:

None known
	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010311170120.7690FD6>