Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svxlink after update crash #455

Closed
sp2ong opened this issue May 17, 2019 · 8 comments
Closed

svxlink after update crash #455

sp2ong opened this issue May 17, 2019 · 8 comments

Comments

@sp2ong
Copy link

sp2ong commented May 17, 2019

I have update sources to latest version svxlink and after startup and make echolink connections svxlink broken with message on screen

Incoming EchoLink connection from SP2ONG (Waldek) at 217.97.47.139
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Przerwane

@dh9yap
Copy link

dh9yap commented May 19, 2019

Hello
I have the same problem !
I can activate the ModulEchoLink only if I enter the Node number and confirm with # there is a most complete Svxlink abort.
SimplexLogic: Activating module EchoLink...
Tx1: Turning the transmitter ON
Tx1: Turning the transmitter OFF
SimplexLogic: Sending short identification...
Tx1: Turning the transmitter ON
Tx1: Turning the transmitter OFF
SimplexLogic: digit=4
SimplexLogic: digit=2
SimplexLogic: digit=6
SimplexLogic: digit=0
SimplexLogic: digit=4
SimplexLogic: digit=6
SimplexLogic: digit=#
DTMF command received in module EchoLink: 426046
Connecting to DB0ROD-R (426046)
terminate called after throwing an instance of 'std::logic_error'
what(): basic_str

@dj9ph
Copy link

dj9ph commented May 19, 2019

Hi together,

same problem at DM0JL after todays update:

DTMF command received in module EchoLink: 31
Creating random connection to node:
KB1MMR-R ON 14:53 Durham, CT 313834 73.159.240.103
Connecting to KB1MMR-R (313834)
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid

I have exactly the same issue at DB0SZ with also running an update today.

Best regards, Christian (DJ9PH)

p.s. additional information:
The error occurs before playing the audio file "connected to ……" If the repeater connected to is not valid the system still reacts as usual. So the error occurs only when there is a valid echolink connection established.
Same for inbound connections:

Spurious audio packet received from 89.15.237.191
Incoming EchoLink connection from DJ9PH (Christian) at 89.15.237.191
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Abgebrochen

@iw0red
Copy link

iw0red commented Jun 7, 2019

Hi, any news on this?
73 Marco IW0RED

@dl1hrc
Copy link
Contributor

dl1hrc commented Jun 7, 2019

I've sent a message to the devel-list some days ago:

Hi Tobias,
the reason is in svxlink/modules/echolink/QsoImpl.cpp, line 223:
event_handler = new EventHandler(event_handler_script, 0);
To create an event handler instance the second param (here 0) must be a string (logic_name) since the constructor is defined as
EventHandler(const std::string& event_script, const std::string& logic_name);

Maybe
event_handler = new EventHandler(event_handler_script, module->logicName());
solves it.

vy 73s de Adi / DL1HRC

@dj9ph
Copy link

dj9ph commented Jun 8, 2019

Hi together,

just tried the fix - and it worked! thanks Adi for the help!

@iw0red
Copy link

iw0red commented Jun 8, 2019

Fine, it works.
Thanks.
Marco IW0RED.

@dh9yap
Copy link

dh9yap commented Jun 11, 2019

Thank you Adi

@sm0svx
Copy link
Owner

sm0svx commented Jun 24, 2019

Thanks Adi! Your suggested fix saved me a lot of time. The bug should now be fixed in the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants