-
Notifications
You must be signed in to change notification settings - Fork 170
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Assertion in AsyncTimer class #251
Comments
Yes. The problem is not in the timer class but in how the timer is used. To have any clue where to look we need more context so if you can get a backtrace from the debugger, that would help a lot. |
Unfortunately that rarely happens. I have the impression to occurs if I have four or more logics in use connected by LogicLinking and relatively "complicated" configurations. Will see what I can do here. |
Can you turn core dumps on? Or maybe it's on already so that you have a core dump on your filesystem? |
is turned on now, waiting for exception... |
svxlink: /root/svxlink/src/async/core/AsyncTimer.cpp:150: void Async::Timer::setEnable(bool): Assertion `(m_timeout_ms >= 0) || !do_enable' failed. Program received signal SIGABRT, Aborted. grrr |
What happened? Why the "broken pipe"? |
I was connected with ssh, gdb was running in console. I guess the broken
pipe was the ssh timeout after exception.
The output is not meaningful enough, will see what I can do...
Am 28.02.2017 um 21:32 schrieb Tobias Blomberg:
…
What happened? Why the "broken pipe"?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#251 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH2kwSeUrGnXmNGRCyS9l3tRs48_I5cyks5rhIRGgaJpZM4MMHGy>.
|
I use "tmux" a lot, especially for shaky remote connections. It enables you to disconnect from the terminal and come back later to reattach. It's the same concept as "screen" but much improved. Quickstart:
There are a lot more features in tmux but the simple knowledge above may help very much in many situations. |
You can also try byobu. F12 followed by 'c' to create a session. F12 and 'd' to disconnect but keep it alive. |
I can reproduce this error when an EchoLink connection is created, whenever the remote station starts it's transmission SvxLink crashed with this error message. No further information available so far :( |
That's a step forward at least if you can reproduce the problem. Try to strip down your configuration to a minimal where the problem still occurs. Also try to remove any local modifications to source code or TCL-scripts to see if that is the reason for the crash. |
Unfortunately the problem is pending. I tested together with Frank/DL3DCW, he is running some systems based on bananpi (hamserver pi). He reported that the problem doesn't occur before version 1.5. I took a look into AsyncTimer class line 150: |
It would help a lot if you could get a stack trace when it happens, either by running SvxLink directly under gdb or by enabling core dumps and extracting the stack trace from that. |
hope that helps: https://svxlink.de/download/core.12941.gz (gdb) bt |
Great! So, it seems to have something to do with the Alsa code. That narrows it down considerably! |
Try latest master or svxreflector. Hopefully the problem should now be fixed. |
Have you been able to try this or have the Async::AudioIO bug (now fixed) stopped you? |
Resolved? |
seems to be resolved. Thank you very much! |
SvxLink v1.5.99.3
svxlink: /root/svxlink/src/async/core/AsyncTimer.cpp:150: void Async::Timer::setEnable(bool): Assertion `(m_timeout_ms >= 0) || !do_enable' failed.
Will start it with gdb to find out more.
The text was updated successfully, but these errors were encountered: