Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Still able to reproduce history crash (3.0.4)



> And still unable to get a backtrace.
> 
> Easiest way to reproduce is to start zsh -f, then do:
> 
> HISTSIZE=0
> HISTSIZE=5
> 
> and then execute at least five commands.  Appears to dump in malloc(), but
> as the stack is complete garbage there's no way to be sure.  I've enabled
> all the debug and mem-debug options but there's not even a hint of an error
> until the gooey kablooey.

I'll try to look at it, but right now, I'm busy rewriting paramsubst() to
clean up the mess around rc_expand_param and the (e) flag.  This turned
out to be a much more difficult problem than I first thought, but
hopefully the final code will be a bit simpler than the current one.

Zoltan



Messages sorted by: Reverse Date, Date, Thread, Author