Re: coredump from C-c-ed function

2018-01-24 Thread Chet Ramey
On 1/23/18 12:42 PM, xftroxgpx wrote: > I had no idea that the latest bash(from master) is almost 1 year old: > commit bc007799f0e1362100375bb95d952d28de4c62fb (origin/master, origin/HEAD, > master) > Date: Fri Jan 27 11:25:44 2017 -0500 > > Bash-4.4 patch 12 That's the stable version. -

Re: coredump from C-c-ed function

2018-01-23 Thread xftroxgpx
Original Message On January 23, 2018 5:33 PM, Chet Ramey wrote: >On 1/23/18 9:57 AM, Chet Ramey wrote: >>On 1/23/18 8:54 AM, Chet Ramey wrote: >>>On 1/23/18 3:30 AM, xftroxgpx wrote: Bash Version: 4.4 Patch Level: 12 Release Status: release Description: b

Re: coredump from C-c-ed function

2018-01-23 Thread Chet Ramey
On 1/23/18 9:57 AM, Chet Ramey wrote: > On 1/23/18 8:54 AM, Chet Ramey wrote: >> On 1/23/18 3:30 AM, xftroxgpx wrote: >> >>> Bash Version: 4.4 >>> Patch Level: 12 >>> Release Status: release >>> >>> Description: >>> bash coredumps by interrupting a called a function via C-c > > OK, I got it to cra

Re: coredump from C-c-ed function

2018-01-23 Thread xftroxgpx
​ Original Message On January 23, 2018 2:54 PM, Chet Ramey wrote: >On 1/23/18 3:30 AM, xftroxgpx wrote: > >>Bash Version: 4.4 >> Patch Level: 12 >> Release Status: release >>Description: >> bash coredumps by interrupting a called a function via C-c >>Repeat-By: >>1. get inter

Re: coredump from C-c-ed function

2018-01-23 Thread Chet Ramey
On 1/23/18 8:54 AM, Chet Ramey wrote: > On 1/23/18 3:30 AM, xftroxgpx wrote: > >> Bash Version: 4.4 >> Patch Level: 12 >> Release Status: release >> >> Description: >> bash coredumps by interrupting a called a function via C-c OK, I got it to crash. It has something to do with the command timing.

Re: coredump from C-c-ed function

2018-01-23 Thread Chet Ramey
On 1/23/18 3:30 AM, xftroxgpx wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > bash coredumps by interrupting a called a function via C-c > > Repeat-By: > 1. get interactive bash shell > 2. paste this function definition at command prompt > function dv3()

coredump from C-c-ed function

2018-01-23 Thread xftroxgpx
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/loca