-
Notifications
You must be signed in to change notification settings - Fork 360
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
rtpengine terminates on websocket connection #27
Comments
Can you please post the log output from rtpengine leading up to the crash: everything from the log that relates to the call that triggered the crash. Also, if you have a core dump, load it up in gdb and post a backtrace ("bt full"). If you don't have a core dump, consider enabling them and reproduce the crash. As a general suggestion on a hunch, make sure you have a recent version of OpenSSL installed. |
Hi, Sorry, as i said, i am relatively new to these things. How can i get rtpengine dump?, I tried gdb rtpengine, then run (with arguments). The only output i received was: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Here the data from syslog:
-OpenSSL is intalled and is of latest version. Please suggest me on how can i take the dump (reference would be useful) Regards |
Ok, I have got the full backtrace finally, here it is:
I hope this is all what you need. Please let me know if something else is required. Regards |
What kind of platform is this on? Anything other than x86 or amd64? |
Its amd64. |
Strange, it shouldn't do that. All I can think of is a pointer alignment issue, which on some platforms (sparc, arm, ...) causes segfaults or other errors, but amd64 shouldn't have that problem. I don't have access to an EC2 instance to actually test this. You can edit
Recompile and see if this fixes anything. If this fixes the crash, then it's a pointer alignment issue. |
Hi, Actually i reconfirmed the architecture and found it to be: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz. The one previously stated was of a different EC2 instance(signed into wrong instance). Can you please let me know on this. |
That would still be either i386 or amd64. Can you please try with the modification I suggested and see if that fixes anything. |
I can provide you with a fresh DigitalOcean instance if you want to, Richard. |
That would be awesome. Even a simple user account on an existing one would suffice. |
Setting up a Debian 7 server for you. Thanks! |
Hi abhishekSaini, what Linux flavor are you using? I think this only happens on RedHat based distros. I am using Fedora 19, and after switching to Debian 7, it suddenly just worked. |
More information. Crashing Server info
Non crashing server info
|
Hi All, The patch provided by rfuchs did work on ubuntu ami, thanks for this, and now rtpengine does not terminate upon webocket connection. However, there does not seem to be a media flow. I wonder, if it has something to do with that patch. I am using the config(websocket to classic sip phones) provided by you, caruizdiaz. Thanks for posting the config. |
One-way audio is almost certainly an issue unrelated to this patch. |
Hi,
When i make SIP call from webrtc to any other end point. The rtpengine service seems to crash and has to be started again, following is what i see in syslog:
kernel: [4222780.657197] traps: rtpengine[10188] general protection ip:418f33 sp:7f88520c3438 error:0 in rtpengine[400000+28000]
I am relatively new to this thing, How can i get rtpengine to work? (same thing happens with mediapoxy-ng).
Regards
The text was updated successfully, but these errors were encountered: