Re: dot gob+extglob bug
The pathexp-globignore-delim.patch seems to work as advertised. > If *a matches scratch/a, for > example, that's a bug in the matching code I will have to identify and fix. Yes, this is the case. Based on your reply, the examples I showed are definitely a bug. Thank you so much.
Re: Crash in readline_internal_teardown()
On 07/14/2014 04:25 PM, Chet Ramey wrote: On 7/12/14, 6:51 PM, Bernie Innocenti wrote: Bash Version: 4.3 Patch Level: 18 Release Status: release Description: A similar crash has already been reported in Launchpad: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1294669 They are not the same; the stack tracebacks are very different. The bug in that launchpad report was fixed with bash-4.3 patch 9 and had to do with history expansion. This bug has to do with the behavior of readline's revert-all-at-newline option. My bash binary contains patches 9 through 11 which supposedly fixed this, but I'm still getting occasional crashes with a binary built off git head: There is a fix for this in the devel git branch, but there has not been any official patch released yet. It was just reported a couple of weeks ago while I was on vacation. I have attached a patch originally from Jared Yanovich that should fix the problem. Thank you so much, Chet. I'll apply your patch and open a new bug on LP. -- _ // Bernie Innocenti \X/ http://codewiz.org
Re: Crash in readline_internal_teardown()
On 7/12/14, 6:51 PM, Bernie Innocenti wrote: > Bash Version: 4.3 > Patch Level: 18 > Release Status: release > > Description: > > A similar crash has already been reported in Launchpad: > https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1294669 They are not the same; the stack tracebacks are very different. The bug in that launchpad report was fixed with bash-4.3 patch 9 and had to do with history expansion. This bug has to do with the behavior of readline's revert-all-at-newline option. > My bash binary contains patches 9 through 11 which supposedly fixed this, > but I'm still getting occasional crashes with a binary built off git head: There is a fix for this in the devel git branch, but there has not been any official patch released yet. It was just reported a couple of weeks ago while I was on vacation. I have attached a patch originally from Jared Yanovich that should fix the problem. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/ *** ../bash-4.3-patched/lib/readline/misc.c 2012-09-01 18:03:11.0 -0400 --- lib/readline/misc.c 2014-06-30 13:41:19.0 -0400 *** *** 462,465 --- 462,466 /* Set up rl_line_buffer and other variables from history entry */ rl_replace_from_history (entry, 0); /* entry->line is now current */ + entry->data = 0; /* entry->data is now current undo list */ /* Undo all changes to this history entry */ while (rl_undo_list) *** *** 469,473 FREE (entry->line); entry->line = savestring (rl_line_buffer); - entry->data = 0; } entry = previous_history (); --- 470,473
[no subject]
Hi team, I am a user of bash. Could you help explain this? I wrote a simple loop as following: while true; do sleep 1 echo "hello" done But the RSS (resident set size) continue increase. (Check by ps command) Is it possible a bug of bash? Could you please help me check it? I try on bash version 3.2.51 and 4.2.10. The result is same. -- Thuan