Subject: bin/903: netgroup_mkdb breaks on big files
To: None <gnats-admin@NetBSD.ORG>
From: None <sh391@city.ac.uk>
List: netbsd-bugs
Date: 03/24/1995 11:50:04
>Number: 903
>Category: bin
>Synopsis: netgroup_mkdb breaks on big files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 24 11:50:02 1995
>Originator: David Brownlee
>Organization:
Private
>Release: Mar '95
>Environment:
NetBSD 1.0A sparc
System: NetBSD electron.city.ac.uk 1.0A NetBSD 1.0A (YIKES) #96: Fri Mar 10 13:49:18 CST 1995 chuck@yikes.ccrc.wustl.edu:/um/netbsd/downrev/sys_tdr/arch/sparc/compile/YIKES sparc
>Description:
I have a netgroup file that is generated somewhere else by ORACLE, when
I try to feed it through netgroup_mkdb it chokes - it appears to alloc
all the memory available then fail.
Bit much on a machine with over 100Mb free virtual memory :)
>How-To-Repeat:
run netgroup_mkdb /etc/netgroup with the below file.
On a 16Mb(ram) + 96Mb(free swap) sun4/300 the entire machine goes
away for 20 odd seconds (wont respond to rup etc) and I get
netgroup_mkdb: seq: Cannot allocate memory
#Created by OPS$SG385 on
#Fri Mar 24 11:01:50 GMT 1995
#
A (abingdon.city.ac.uk,,) (appleford.city.ac.uk,,) (ardley.city.ac.uk,,) \
(axebridge.city.ac.uk,,) (aynho.city.ac.uk,,) (blackthorn.city.ac.uk,,) \
(bodmin.city.ac.uk,,) (bristol.city.ac.uk,,) (bugle.city.ac.uk,,) \
(burngullow.city.ac.uk,,) (camborne.city.ac.uk,,) (causeland.city.ac.uk,,) \
(chacewater.city.ac.uk,,) (chard.city.ac.uk,,) (cheddar.city.ac.uk,,) \
(chinnor.city.ac.uk,,) (cookham.city.ac.uk,,) (coombe.city.ac.uk,,) \
(draycott.city.ac.uk,,) (durston.city.ac.uk,,) (exeter.city.ac.uk,,) \
(falmouth.city.ac.uk,,) (fowey.city.ac.uk,,) (frome.city.ac.uk,,) \
(golant.city.ac.uk,,) (goonbell.city.ac.uk,,) (goonhavern.city.ac.uk,,) \
(gunnislake.city.ac.uk,,) (highbridge.city.ac.uk,,) (illminster.city.ac.uk,,) \
(latchley.city.ac.uk,,) (liskeard.city.ac.uk,,) (looe.city.ac.uk,,) \
(luxulyan.city.ac.uk,,) (marazion.city.ac.uk,,) (martock.city.ac.uk,,) \
(menheniot.city.ac.uk,,) (mithian.city.ac.uk,,) (olympia.city.ac.uk,,) \
(oxford.city.ac.uk,,) (paddington.city.ac.uk,,) (radstock.city.ac.uk,,) \
(somerton.city.ac.uk,,) (st-budeaux.city.ac.uk,,) (truro.city.ac.uk,,) \
(unix-spare.city.ac.uk,,)
#
B (callington.city.ac.uk,,) (calstock.city.ac.uk,,) (charingx.city.ac.uk,,) \
(culham.city.ac.uk,,) (didcot.city.ac.uk,,) (highgate.city.ac.uk,,) \
(info.city.ac.uk,,) (iver.city.ac.uk,,) (langley.city.ac.uk,,) \
(launceston.city.ac.uk,,) (lelant.city.ac.uk,,) (littlemore.city.ac.uk,,) \
(loudwater.city.ac.uk,,) (luckett.city.ac.uk,,) (maidenhead.city.ac.uk,,) \
(marlow.city.ac.uk,,) (moorswater.city.ac.uk,,) (newquay.city.ac.uk,,) \
(pangbourne.city.ac.uk,,) (par.city.ac.uk,,) (penmere.city.ac.uk,,) \
(penryn.city.ac.uk,,) (perranwell.city.ac.uk,,) (portreath.city.ac.uk,,) \
(praze.city.ac.uk,,) (probus.city.ac.uk,,) (radley.city.ac.uk,,) \
(redruth.city.ac.uk,,) (roche.city.ac.uk,,) (saltash.city.ac.uk,,) \
(scorrier.city.ac.uk,,) (shepherds.city.ac.uk,,) (shiplake.city.ac.uk,,) \
(southall.city.ac.uk,,) (sparkford.city.ac.uk,,) (st-agnes.city.ac.uk,,) \
(st-austell.city.ac.uk,,) (st-blazey.city.ac.uk,,) (st-erth.city.ac.uk,,) \
(st-ives.city.ac.uk,,) (st-keyne.city.ac.uk,,) (swindon.city.ac.uk,,) \
(taplow.city.ac.uk,,) (taunton.city.ac.uk,,) (thame.city.ac.uk,,) \
(theale.city.ac.uk,,) (tiddington.city.ac.uk,,) (tilehurst.city.ac.uk,,) \
(twyford.city.ac.uk,,) (uxbridge.city.ac.uk,,) (wargrave.city.ac.uk,,) \
(watchet.city.ac.uk,,) (watlington.city.ac.uk,,) (wellington.city.ac.uk,,) \
(wells.city.ac.uk,,) (wheatley.city.ac.uk,,) (winscombe.city.ac.uk,,) \
(witham.city.ac.uk,,) (wookey.city.ac.uk,,) (yeovil.city.ac.uk,,) \
#
GNR (ardsley.city.ac.uk,,) (baldock.city.ac.uk,,) (batley.city.ac.uk,,) \
(bayford.city.ac.uk,,) (cuffley.city.ac.uk,,) (denholme.city.ac.uk,,) \
(eccleshill.city.ac.uk,,) (hatfield.city.ac.uk,,) (hertford.city.ac.uk,,) \
(holmfield.city.ac.uk,,) (huntingdon.city.ac.uk,,) (ingley.city.ac.uk,,) \
(knebworth.city.ac.uk,,) (letchworth.city.ac.uk,,) (pudsey.city.ac.uk,,) \
(royston.city.ac.uk,,) (sandy.city.ac.uk,,) (stapleford.city.ac.uk,,) \
(thackley.city.ac.uk,,)
#
GWR (albrighton.city.ac.uk,,) (bristol-old.city.ac.uk,,) (cardiff.city.ac.uk,,) \
(chudleigh.city.ac.uk,,) (cosford.city.ac.uk,,) (dartmouth.city.ac.uk,,) \
(hampton.city.ac.uk,,) (hayle.city.ac.uk,,) (hereford.city.ac.uk,,) \
(highley.city.ac.uk,,) (keynsham.city.ac.uk,,) (kingswear.city.ac.uk,,) \
(minehead.city.ac.uk,,) (netherton.city.ac.uk,,) (newbury.city.ac.uk,,) \
(oldbury.city.ac.uk,,) (padd-old.city.ac.uk,,) (paignton.city.ac.uk,,) \
(pembroke.city.ac.uk,,) (penygraig.city.ac.uk,,) (plymouth.city.ac.uk,,) \
(solihull.city.ac.uk,,) (torquay.city.ac.uk,,) (totnes.city.ac.uk,,) \
#
LBSCR (aldrington.city.ac.uk,,) (bath.city.ac.uk,,) (bramber.city.ac.uk,,) \
(carlisle.city.ac.uk,,) (e223horley.city.ac.uk,,) (earlswood.city.ac.uk,,) \
(fishergate.city.ac.uk,,) (ftp.city.ac.uk,,) (hassocks.city.ac.uk,,) \
(miles.city.ac.uk,,) (mnt-pleasant.city.ac.uk,,) (netman.city.ac.uk,,) \
(netserv.city.ac.uk,,) (optosun4.city.ac.uk,,) (penzance.city.ac.uk,,) \
(portslade.city.ac.uk,,) (rye.city.ac.uk,,) (shoreham.city.ac.uk,,) \
(southwick.city.ac.uk,,) (thurso.city.ac.uk,,) (wick.city.ac.uk,,) \
(woodkirk.city.ac.uk,,)
#
LNWR (blackwall.city.ac.uk,,) (chilcomton.city.ac.uk,,) (crewe.city.ac.uk,,) \
(cyprus.city.ac.uk,,) (euston.city.ac.uk,,) (evercreech.city.ac.uk,,) \
(gallions.city.ac.uk,,) (henstridge.city.ac.uk,,) (island.city.ac.uk,,) \
(masbury.city.ac.uk,,) (midsomer.city.ac.uk,,) (poplar.city.ac.uk,,) \
(spetisbury.city.ac.uk,,)
#
SUN4 (bristol-old,,) (charingx,,) (crewe,,) (info,,) (neutron,,) \
(oxford,,) (padd-old,,) (rye,,)
#
SUN4C (carlisle,,) (ccesun1,,) (electron,,) (euston,,) (highgate,,) \
(latchley,,) (measun1,,) (measun10,,) (measun12,,) (measun13,,) \
(measun14,,) (measun2,,) (measun9,,) (netserv,,) (olympia,,) \
(optosun5,,) (proton,,) (syssun1,,)
#
SUN4M (abingdon,,) (appleford,,) (ardley,,) (axebridge,,) (aynho,,) \
(bath,,) (blackthorn,,) (bodmin,,) (bristol,,) (bugle,,) \
(burngullow,,) (callington,,) (camborne,,) (causeland,,) (cesun3,,) \
(chacewater,,) (chard,,) (cheddar,,) (chinnor,,) (cookham,,) \
(coombe,,) (culham,,) (didcot,,) (draycott,,) (durston,,) \
(eeisun14,,) (falmouth,,) (fowey,,) (frome,,) (golant,,) \
(goonbell,,) (goonhavern,,) (gunnislake,,) (highbridge,,) (illminster,,) \
(iver,,) (langley,,) (launceston,,) (lelant,,) (liskeard,,) \
(littlemore,,) (looe,,) (loudwater,,) (luckett,,) (luxulyan,,) \
(maidenhead,,) (marazion,,) (marlow,,) (martock,,) (measun4,,) \
(measun7,,) (menheniot,,) (mithian,,) (mnt-pleasant,,) (moorswater,,) \
(netman,,) (newquay,,) (pangbourne,,) (par,,) (penmere,,) \
(penryn,,) (penzance,,) (perranwell,,) (portreath,,) (praze,,) \
(probus,,) (radley,,) (radstock,,) (redruth,,) (roche,,) \
(saltash,,) (scorrier,,) (shepherds,,) (shiplake,,) (somerton,,) \
(southall,,) (sparkford,,) (st-agnes,,) (st-austell,,) (st-blazey,,) \
(st-budeaux,,) (st-erth,,) (st-ives,,) (st-keyne,,) (tachyon,,) \
(taplow,,) (taunton,,) (thame,,) (theale,,) (thurso,,) \
(tiddington,,) (tilehurst,,) (truro,,) (twyford,,) (unix-spare,,) \
(uxbridge,,) (wargrave,,) (watchet,,) (watlington,,) (wellington,,) \
(wells,,) (wheatley,,) (wick,,) (winscombe,,) (witham,,) \
(wookey,,) (yeovil,,)
#
>Fix:
>Audit-Trail:
>Unformatted: