[Xorp-users] 'echo "any text" | xorpsh' cause abend
Pavlin Radoslavov
pavlin@icir.org
Thu, 16 Jun 2005 13:45:17 -0700
> Issuing command:
> echo "show igmp interface" | xorpsh
>
> cause abend. The output:
>
> ===============
> [ 2005/06/16 19:31:57 INFO xorpsh CLI ] CLI enabled
> [ 2005/06/16 19:31:57 ERROR xorpsh:79599 CLI +319 cli_node_net.cc
> start_connection ]
> start_connection(): tcgetattr() error: Inappropriate ioctl for device
> Segmentation fault (core dumped)
>
> Core was generated by xorpsh'.
> Program terminated with signal 11, Segmentation fault.
<DEL>
Accidentally, few days ago we had a conversation about exactly same
issue: we wanted to run xorpsh as part of a UNIX command-line pipe,
and it crashed. There is a patch about that, and it is just waiting
to be integrated and tested.
Pavlin