- status: open-fixed --> closed
On OpenVMS, Bash versions prior to V4.3.42(1) access violate when using the Reverse History lookup feature. To reproduce the bug:
Start up bash.
Type Control-r to start a history search.
When the search turns up something, press the right arrow key.
You get a crash similar to that shown below, where it also crashes in the exit handler.
ROBERTSON@srvr1:~ > bash
(reverse-i-search)`p': perl --help
%SYSTEM-F-ACCVIO, access violation, reason mask=FE, virtual address=000000000000
0000, PC=FFFFFFFF80F735D4, PS=00000018
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
DECC$SHR_EV56 0 00000000000DB5D4 FFFFFFFF80F735D4
DECC$SHR_EV56 0 00000000000DB7D0 FFFFFFFF80F737D0
DECC$SHR_EV56 0 000000000014C364 FFFFFFFF80FE4364
DECC$SHR_EV56 0 000000000014BCC8 FFFFFFFF80FE3CC8
DECC$SHR_EV56 0 00000000001DBB0C FFFFFFFF81073B0C
DECC$SHR_EV56 0 00000000001DB7AC FFFFFFFF810737AC
DECC$SHR_EV56 0 000000000003049C FFFFFFFF80EC849C
----- above condition handler called with exception 0000000C:
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=FFFFFFFF992B
20F4, PC=00000000000F5DD0, PS=0000001B
----- end of exception message
0 FFFFFFFF800AF15C FFFFFFFF800AF15C
bash 0 00000000000F5DD0 00000000000F5DD0
bash 0 00000000000F80A4 00000000000F80A4
bash 0 0000000000131208 0000000000131208
bash 0 0000000000134B74 0000000000134B74
bash 0 0000000000135E4C 0000000000135E4C
bash 0 000000000011159C 000000000011159C
bash 0 0000000000110AB4 0000000000110AB4
bash 0 0000000000110258 0000000000110258
bash 0 00000000000E64D8 00000000000E64D8
bash 0 00000000000E76C4 00000000000E76C4
bash 0 00000000000E8B2C 00000000000E8B2C
bash 0 00000000000E3920 00000000000E3920
bash 0 000000000008A834 000000000008A834
bash 0 000000000008A9B8 000000000008A9B8
bash 0 000000000008A494 000000000008A494
bash 0 00000000000B5EF4 00000000000B5EF4
bash 0 00000000000B479C 00000000000B479C
bash 0 00000000000B3C90 00000000000B3C90
bash 0 000000000017C454 000000000017C454
After this crash, you must type the command "SET TERM/ECHO" to restore normal terminal behavior.