Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16551 > unrolled thread

Issue with Bash

Started by"Rishita Saha16" <risaha16@in.ibm.com>
First post2020-07-09 09:17 +0000
Last post2020-07-09 09:17 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Issue with Bash "Rishita Saha16" <risaha16@in.ibm.com> - 2020-07-09 09:17 +0000

#16551 — Issue with Bash

From"Rishita Saha16" <risaha16@in.ibm.com>
Date2020-07-09 09:17 +0000
SubjectIssue with Bash
Message-ID<mailman.1206.1594300259.2574.bug-bash@gnu.org>
   Hi All,

   We are using Bash 5.0 (64bit built using gcc ) in AIX 7.2 machine .This
   is the spec file for reference -->
   [1]https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/bash-5.
   0-1.spec.
   We are seeing recurring bash core dumps on our servers. Leaving bash
   sessions running on the servers for extended periods of time causes the
   core dump (to recreate it, we left httpd running for about a week and a
   half and encountered the core dump). I am hereby sharing the stack
   trace of the core so generated.

   #0  0x0900000000038d0c in __ioctl () from /usr/lib/libc.a(shr_64.o)
   #1  0x09000000000392c8 in ioctl () from /usr/lib/libc.a(shr_64.o)
   #2  0x09000000001c16f0 in tcsetattr () from /usr/lib/libc.a(shr_64.o)
   #3  0x00000001000aec78 in set_tty_settings (tty=0, tiop=0x110013a90
   <_rltty.bss_3_+64>) at rltty.c:466
   #4  0x00000001000aef58 in rl_deprep_terminal () at rltty.c:704
   #5  0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #6  0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #7  0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #8  0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #9  0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #10 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #11 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #12 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #13 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #14 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #15 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #16 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #17 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #18 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #19 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #20 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #21 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #22 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #23 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #24 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #25 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #26 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #27 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #28 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #29 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #30 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #31 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #32 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #33 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #34 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #35 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #36 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #37 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #38 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #39 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249
   #40 0x00000001000aef80 in rl_deprep_terminal () at rltty.c:713
   #41 0x000000010002cf38 in rl_cleanup_after_signal () at signals.c:559
   #42 0x000000010002d500 in _rl_handle_signal (sig=268438344) at
   signals.c:249

   From the stack trace , it looks like bash is looping in a code that is
   setting terminal attributes in response to a signal, and dumps core
   once it runs out of stack.
   Any insights will be greatly helpful.

   Thanks and Regards
   Rishita Saha

References

   1. https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/bash-5.0-1.spec

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web