Subject: bin/2650: bc(1) dumps core
To: None <gnats-bugs@NetBSD.ORG>
From: None <tage@ACM.org>
List: netbsd-bugs
Date: 07/23/1996 16:20:08
>Number:         2650
>Category:       bin
>Synopsis:       bc(1) dumps core
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 23 11:05:07 1996
>Last-Modified:
>Originator:     Tage Stabell-Kulo
>Organization:
////        Tage Stabell-Kuloe         | e-mail: Tage@ACM.org          ////
/// Department of Computer Science/IMR | Phone : +47-776-44032         ///
// 9037  University of Tromsoe, Norway | Fax   : +47-776-44580         //
/       "'oe' is '\o' in TeX"          | URL:http://www.cs.uit.no/~tage/
>Release:        1.2_ALPHA
>Environment:
	
System: NetBSD tagenb 1.2_ALPHA NetBSD 1.2_ALPHA (TAGENB) #1: Tue Jun 25 16:29:31 MET DST 1996 tage@tagenb:/usr/src/sys/arch/i386/compile/TAGENB i386


>Description:
	When bc is given an obase different from 10, and then asked to
	display the ibase, it dumps core.  Only happens when obase has
	been set to something different from 10; when set to 10 no fault
	is triggered.

>How-To-Repeat:
	~>bc
	bc 1.03 (Nov 2, 1994)
	Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
	This is free software with ABSOLUTELY NO WARRANTY.
	For details type `warranty'. 

	obase=8
	ibase
	Bus error (core dumped)

>Fix:
	
>Audit-Trail:
>Unformatted: