home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / bash / bug / 562 < prev    next >
Encoding:
Text File  |  1992-08-19  |  5.4 KB  |  83 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!geom.umn.edu!scott
  3. From: scott@geom.umn.edu (Scott S. Bertilson)
  4. Subject: bash-1.12 "pwd" hang
  5. Message-ID: <199208200008.AA11669@poincare.geom.umn.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Wed, 19 Aug 1992 14:08:57 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 70
  12.  
  13.   This has been very intermittent so I have had a hard time getting
  14. the stack trace that was requested long ago.  I did one a month or
  15. so ago, but wanted to see it again to be sure I had a valid one.
  16. I'm including both below.  They are from a NeXTstation monochrome
  17. running NeXTstep 2.2 with 20 Megs.  To my surprise the last one
  18. actually happened on a filesystem local to the machine - I had
  19. assumed that it might relate to NFS earlier.
  20.   I (for a short time at least) am going to leave the latest hung
  21. copy running on my machine.  I'd be willing to allow access to the
  22. machine in some form if it would help to track the problem down.
  23.   Looking at the backtrace, I can't help but wonder if this isn't
  24. some sort of NeXTstep bug.  We are testing 3.0PR2 here, but this
  25. happens so rarely and we're running it on so few machines that I
  26. can't say whether that clears up the problem.
  27.                 Scott S. Bertilson
  28.  
  29. -----Trace 1-----
  30. #0  0x50240fc in cthread_yield ()
  31. #1  0x50240e2 in mutex_wait_lock ()
  32. #2  0x500be4c in nxzonemalloc ()
  33. #3  0x500974c in malloc ()
  34. #4  0x8e70 in xmalloc (size=23) (general.c line 76)
  35. #5  0x27e8a in history_filename (filename=(char *) 0x467ec "/u/scott/.bash_history") (history.c line 427)
  36. #6  0x281fe in history_do_write (filename=(char *) 0x467ec "/u/scott/.bash_history", nelements=43, overwrite=0) (history.c line 607)
  37. #7  0x28306 in append_history (nelements=43, filename=(char *) 0x467ec "/u/scott/.bash_history") (history.c line 641)
  38. #8  0x4910 in maybe_save_shell_history () (shell.c line 815)
  39. #9  0x5058 in termination_unwind_protect (sig=11) (shell.c line 1304)
  40. #10 0x500831c in _sigtramp ()
  41. #11 0x500ee48 in free ()
  42. #12 0x1d142 in unwind_frame_discard_internal (tag=(char *) 0x35765 "saved redirects") (unwind_prot.c line 200)
  43. #13 0x1cf6c in without_interrupts (function=(VFunction *) 0x1d0d2 <run_unwind_protects_internal+86>, arg1=(char *) 0x35765 "saved redirects", arg2=(char *) 0x0) (unwind_prot.c line 70)
  44. #14 0x1cfa4 in discard_unwind_frame (tag=(char *) 0x35765 "saved redirects") (unwind_prot.c line 96)
  45. #15 0xd0a4 in execute_builtin_or_function (words=(struct word_list *) 0x4a728, builtin=(Function *) 0x2137e <cd_builtin+830>, var=(struct variable *) 0x0, redirects=(struct redirect *) 0x0, fds_to_close=(struct fd_bitmap *) 0x45af8, flags=0) (execute_cmd.c line 1540)
  46. #16 0xcace in execute_simple_command (simple_command=(struct simple_com *) 0x4a654, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=(struct fd_bitmap *) 0x45af8) (execute_cmd.c line 1254)
  47. #17 0xb9c8 in execute_command_internal (command=(struct command *) 0x50a28, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=(struct fd_bitmap *) 0x45af8) (execute_cmd.c line 481)
  48. #18 0xb3e4 in execute_command (command=(struct command *) 0x50a28) (execute_cmd.c line 177)
  49. #19 0x4b96 in reader_loop () (shell.c line 967)
  50. #20 0x481e in main (argc=1, argv=(char **) 0x3fffd54, env=(char **) 0x3fffd5c) (shell.c line 762)
  51.  
  52. ------Trace 2-----
  53. Reading symbol data from bash+syms...
  54. Reading symbol data from /usr/shlib/libsys_s.B.shlib...
  55. Reading Objective-C data...
  56. done.
  57. Type "help" for a list of commands.
  58. (gdb) attach 2164
  59. 0x50240fc in cthread_yield ()
  60. (gdb) backtrace
  61. #0  0x50240fc in cthread_yield ()
  62. #1  0x50240e2 in mutex_wait_lock ()
  63. #2  0x500be4c in nxzonemalloc ()
  64. #3  0x500974c in malloc ()
  65. #4  0x8e74 in xmalloc (size=23) (general.c line 76)
  66. #5  0x27e8e in history_filename (filename=(char *) 0x467ec "/u/scott/.bash_history") (history.c line 427)
  67. #6  0x28202 in history_do_write (filename=(char *) 0x467ec "/u/scott/.bash_history", nelements=67, overwrite=0) (history.c line 607)
  68. #7  0x2830a in append_history (nelements=67, filename=(char *) 0x467ec "/u/scott/.bash_history") (history.c line 641)
  69. #8  0x4914 in maybe_save_shell_history () (shell.c line 815)
  70. #9  0x505c in termination_unwind_protect (sig=11) (shell.c line 1304)
  71. #10 0x500831c in _sigtramp ()
  72. #11 0x500ee48 in free ()
  73. #12 0x1d146 in unwind_frame_discard_internal (tag=(char *) 0x35767 "saved redirects") (unwind_prot.c line 200)
  74. #13 0x1cf70 in without_interrupts (function=(VFunction *) 0x1d0d6 <unwind_frame_discard_internal>, arg1=(char *) 0x35767 "saved redirects", arg2=(char *) 0x0) (unwind_prot.c line 70)
  75. #14 0x1cfa8 in discard_unwind_frame (tag=(char *) 0x35767 "saved redirects") (unwind_prot.c line 96)
  76. #15 0xd0a8 in execute_builtin_or_function (words=(struct word_list *) 0x51594, builtin=(Function *) 0x21382 <pwd_builtin>, var=(struct variable *) 0x0, redirects=(struct redirect *) 0x0, fds_to_close=(struct fd_bitmap *) 0x49b80, flags=0) (execute_cmd.c line 1540)
  77. #16 0xcad2 in execute_simple_command (simple_command=(struct simple_com *) 0x4a2c8, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=(struct fd_bitmap *) 0x49b80) (execute_cmd.c line 1254)
  78. #17 0xb9cc in execute_command_internal (command=(struct command *) 0x4a290, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=(struct fd_bitmap *) 0x49b80) (execute_cmd.c line 481)
  79. #18 0xb3e8 in execute_command (command=(struct command *) 0x4a290) (execute_cmd.c line 177)
  80. #19 0x4b9a in reader_loop () (shell.c line 967)
  81. #20 0x4822 in main (argc=1, argv=(char **) 0x3fffd54, env=(char **) 0x3fffd5c) (shell.c line 762)
  82.  
  83.