When ldap search is asking password, or when results are already in screen, and I do xterm window resize the program crashes with SIGSEGV.
To verify that this truly is still a problem I took latest git version,
git://re-alpine.git.sourceforge.net/gitroot/re-alpine/re-alpine
compiled it and saw same error as with Alpine 2.00 patchlevel VERSION=72 (archlinux repository version). Please see attached gdb_backtrace.txt for details. This bug is easy to reproduce, so far the problem has occurred with every attempt I have done.
gdb_backtrace.txt
The bug seems to be caused by lack of initialization in optionally_enter. Patch init-optionally_enter.diff will make crash to go away, but it is far from optimal. If a window is resized while password prompt is visible the main window will not get redrawn. That indicates to me that returning from resize needs to be handled as well. More seriously while on ldap search a window is resized and an enter is pressed alternative editor will crash. That could be rare condition, but still a good reason not to use this patch as is.
a patch that will fix first issue, and breaks something else