Version JM 93u+ 2011-06-22   (on RHEL 4.5)

I thought I would try out the new undocumented history menu and it
does work, but sometimes the list doesn't come up the first time and
at other times the number of items displayed varies and yet other
times I get a memory fault.

This occurs after I type #<letter> to activate the menu.

Here is some gdb info from the core file:

#0  0x08060636 in ed_histgen (ep=0x8ea1450, pattern=0x8ea4d90 "@( )*")
at /home/dw111/tmp/ksh_20110630/src/cmd/ksh93/edit/edit.c:1737
1737            ep->hfirst = ep->hlist[0];
(gdb) print ep
$1 = (Edit_t *) 0x8ea1450
(gdb) print ep->hlist
$2 = (Histmatch_t **) 0x8ea0000
(gdb) print ep->hlist[0]
Cannot access memory at address 0x8ea0000
(gdb)

Regards

Richard George

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to