-
Notifications
You must be signed in to change notification settings - Fork 569
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
OpenSIPS 2.1.2-1.el7 Segmentation fault. #903
Comments
@sjap , could you please post the backtrace from the core file (do "bt" in gdb) ? |
here :) |
In frame 3, could you print *p ? Any chance to get access to the machine where the core file is ? |
I'm quite new to debugging with gdb, so how do I print *p in frame 3? :/ - |
Got a little help from a friend :)
And perhaps you will need this:
|
@sjap , many thanks for allowing me to investigate the core file. I will try to run some more tests on my side, to see if I can get more clues on the crash. Unfortunately, the info provided by the corefile is not sufficient for finding the problem |
Do you think the segfault can relate to this?
|
I cannot say it for sure, but I do not think so. |
BTW, is the same backtrace in this second crash ? |
I'm not sure what you mean? - But if you're thinking about the output of the syslog it's just before the crash last week. |
@sjap , if you still have similar crashes (after updating to the latest 2.1, and event better to 2.2), please open new tickets. Thank you! |
A few days ago a notice my OpenSIPS crashed with:
[root@proxy-voip-1a ccpp-2016-06-09-17:17:32-12797]# gdb /usr/sbin/opensips coredump
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips.debug...done.
done.
[New LWP 12797]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/opensips -P /var/run/opensips.pid -m 2048 -M 8'.
Program terminated with signal 11, Segmentation fault.
#0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2722
2722 mov (%rsi), %edx
(gdb)
root@proxy-voip-1a ccpp-2016-06-09-17:17:32-12797]# opensips -V
version: opensips 2.1.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
main.c compiled on 10:02:01 Jan 19 2016 with gcc 4.8.5
I've only seen the crash once. - But i'm not sure if it's a bug or not?
The text was updated successfully, but these errors were encountered: