Hello,
I have got an segmentation fault in libreadline (version 6.3). Thanks to libSegFault I have been able to found error. Unfortunately I don't know the key sequence that have produced the fault and I can't reproduce it.
The error has happened in function '_rl_dispatch_callback' called from line 188 of file 'callback.c':
eof = _rl_dispatch_callback (_rl_kscxt); /* For now */
because '_rl_kscxt' is NULL. It seems that after RL_STATE_MULTIKEY has been set, '_rl_kscxt' has became NULL. I think that this has happened in line 755 of file 'readline.c':
_rl_kscxt = cxt->ocxt;
Perhaps bug can be fixed adding an else clause after this line:
if (_rl_kscxt)
_rl_kscxt->childval = r;
else
RL_UNSETSTATE (RL_STATE_MULTIKEY);
But I don't know if this break another part of code.