🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #911

Re: bash-1.12 "pwd" hang

#911
From: Robert Elz
Date: Sun, 23 Aug 1992 15:09
15 lines
1119 bytes
In <199208200008.AA11669@poincare.geom.umn.edu> scott@geom.umn.edu (Scott S. Bertilson) writes:

|   This has been very intermittent so I have had a hard time getting
| the stack trace that was requested long ago.

This looks like bash is doing a malloc() from within a signal handler,
which is a very very dangerous thing to do.  Normally if this causes
a race condition things just mysteriously "go wrong" - in your case
it looks as if malloc() has internal mutual exclusion locking, which
is causeing bash to deadlock itself.

Whether this might indeed be what is happening I'll leave for someone
more familiar with te internals of bash.

kre
Technical Details
Message-ID: <9223701.4434@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.mu.oz.AU!kre
References: <199208200008.AA11669@poincare.geom.umn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.mu.oz.AU!kre
From: kre@cs.mu.oz.AU (Robert Elz)
Subject: Re: bash-1.12 "pwd" hang
Message-ID: <9223701.4434@mulga.cs.mu.OZ.AU>
Sender: gnulists@ai.mit.edu
Organization: Computer Science, University of Melbourne, Australia
References: <199208200008.AA11669@poincare.geom.umn.edu>
Distribution: gnu
Date: Sun, 23 Aug 1992 15:09:06 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 16