home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / bash / bug / 566 next >
Encoding:
Text File  |  1992-08-22  |  1.1 KB  |  30 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cs.mu.oz.AU!kre
  3. From: kre@cs.mu.oz.AU (Robert Elz)
  4. Subject: Re: bash-1.12 "pwd" hang
  5. Message-ID: <9223701.4434@mulga.cs.mu.OZ.AU>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <199208200008.AA11669@poincare.geom.umn.edu>
  9. Distribution: gnu
  10. Date: Sun, 23 Aug 1992 15:09:06 GMT
  11. Approved: bug-bash@prep.ai.mit.edu
  12. Lines: 16
  13.  
  14. In <199208200008.AA11669@poincare.geom.umn.edu> scott@geom.umn.edu (Scott S. Bertilson) writes:
  15.  
  16. |   This has been very intermittent so I have had a hard time getting
  17. | the stack trace that was requested long ago.
  18.  
  19. This looks like bash is doing a malloc() from within a signal handler,
  20. which is a very very dangerous thing to do.  Normally if this causes
  21. a race condition things just mysteriously "go wrong" - in your case
  22. it looks as if malloc() has internal mutual exclusion locking, which
  23. is causeing bash to deadlock itself.
  24.  
  25. Whether this might indeed be what is happening I'll leave for someone
  26. more familiar with te internals of bash.
  27.  
  28. kre
  29.  
  30.