layer23/mobile: VTY is broken

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Sun Oct 22 19:11:51 UTC 2017


On Sun, Oct 22, 2017 at 07:33:10PM +0330, Vadim Yanitskiy wrote:
> > I tried using your trxcon along with grgsmtrx,
> > but when i start the app mobile in the l2l3 software
> > it gives me the following error:
> >
> > Assert failed !check_element_exists(cnode, cmd->string) command.c:627
> > backtrace() returned 7 addresses
> > /usr/local/lib/libosmovty.so.3(install_element+0x136) [0x7f7a8c7fd4b6]
> > ./mobile() [0x43d371]
> > ./mobile() [0x40548e]
> > ./mobile() [0x4049e7]
> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f7a8bffaf45]
> > ./mobile() [0x404a83]
> >
> > Please help.
> 
> Actually, this crash isn't related to trxcon application
> anyhow, it's caused by the recent libosmocore changes,
> related to the VTY default nodes. A quick solution would
> be to drop all custom 'exit' commands from the
> 'vty_interface.c'.

Then it should be my fault. Can I do anything to help fix it?

Can you explain why custom 'exit' commands need to be dropped? That shouldn't
be the case for a telnet VTY, only while reading in VTY config from a file.

~N

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20171022/ea2c1c65/attachment.bin>


More information about the baseband-devel mailing list