On 7/30/12 3:30 PM, Brian Bloniarz wrote: > Hi, I think I've stumbled on a bug involving memory allocation from signal > context > in readline 6.2. In GDB, I see this traceback:
Thanks for the report. This has already been fixed for the next version of readline. If you want to look at the fixed version, you can get it from the `devel' branch of the bash git tree on savannah (the relevant file is lib/readline/signals.c). > The rl_resize_terminal() call happens because of a SIGWINCH signal (see > rl_sigwinch_handler). > > I saw there was some discussion involving fixing signal-handler-safety bugs > (http://lists.gnu.org/archive/html/bug-readline/2011-06/msg00003.html), > but I didn't see this particular case being discussed. It's the same issue with the same fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
