Hi All,
I see a core dump with the following ksh93 script
root@lbl-1405:/opt# cat cor.ksh
#!/usr/bin/ksh
typeset -l HISTFILE=qwerty
root@lbl-1405:/opt# ./cor.ksh
Segmentation Fault (core dumped)
root@lbl-1405:/opt# pstack core
core 'core' of 8031: /usr/bin/ksh ./cor.ksh
0000000100036254 put_history (100319368, 100325a00, 1, 100316d80,
100316d80, 10028b1e0) + c
000000010005d65c nv_putval (100319368, 10028b000, 1, 8, 100325a00,
1) + 10c
0000000100061168 nv_newattr (100319368, 100325890, 0, 0, 8, 0) + 3fc
00000001000a388c b_common (0, 7, 100316a30, 10017fad0,
ffffffff7fffed08, 10028a7d8) + 1130
00000001000a2328 b_typeset (10028a7d8, 1003144c0, 1003144c8, 2d,
100316a30, 0) + a8c
0000000100082294 sh_exec (10028ac78, 0, 3, 10031abc8, 0, 1) + 44d4
000000010001b324 exfile (0, 14, 0, 10028a7d8, a, 100325790) + a68
000000010001a8a0 sh_main (100305000, 3, 10028c668, 100000,
10028a7d8, 100319090) + c10
0000000100019b70 main (2, ffffffff7ffffc78, ffffffff7ffffc90,
ffffffff7e700180, 10000, 400000000) + 3c
0000000100019b1c _start (0, 0, 0, 0, 0, 0) + 17c
I checked with the latest ksh93 binary(2012-08-06 BASE binary) and it
seems to core dump as well .
Is it legitimate to set HISTFILE this way? And even if it is not,
I guess the shell should not be dumping core.
Any help appreciated.
Thanks
Rohith
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers