THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Greger Viken Teigre (greger)
Attached to Project - sip-router
Summary - Core dump on CentOS5
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - 2.99
Due in Version - Undecided
Due Date - Undecided
Details - I have pulled the latest git repos from /sip-router and compiled for
CentOS5 without any Makefile changes. My SER 2.1 config has been adapted and
sip-router starts ok, but core dumps on first SIP message coming in on the
socket.
gdb trace below.
<code>[r...@cleo sip-router]# gdb /opt/sip-router/sbin/ser /core.2896
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /opt/sip-router/lib/ser/modules/db_mysql.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules/db_mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /opt/sip-router/lib/ser/libsrdb2.so.1...done.
Loaded symbols for /opt/sip-router/lib/ser/libsrdb2.so.1
Reading symbols from /opt/sip-router/lib/ser/libsrdb1.so.1...done.
Loaded symbols for /opt/sip-router/lib/ser/libsrdb1.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libssl.so.6...done.
Loaded symbols for /lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /lib/libselinux.so.1...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/libsepol.so.1...done.
Loaded symbols for /lib/libsepol.so.1
Reading symbols from /opt/sip-router/lib/ser/modules_s/sl.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/sl.so
Reading symbols from /opt/sip-router/lib/ser/modules/tm.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules/tm.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/rr.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/rr.so
Reading symbols from /opt/sip-router/lib/ser/libser_cds.so.0...done.
Loaded symbols for /opt/sip-router/lib/ser/libser_cds.so.0
Reading symbols from /opt/sip-router/lib/ser/modules_s/maxfwd.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/maxfwd.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/usrloc.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/usrloc.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/registrar.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/registrar.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/xlog.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/xlog.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/textops.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/textops.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/ctl.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/ctl.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/auth.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/auth.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/auth_db.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/auth_db.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/gflags.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/gflags.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/domain.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/domain.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/uri_db.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/uri_db.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/avp.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/avp.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/avp_db.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/avp_db.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/acc_db.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/acc_db.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/options.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/options.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/sanity.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/sanity.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/nathelper.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/nathelper.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/uri.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/uri.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/speeddial.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/speeddial.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/timer.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/timer.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/db_ops.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/db_ops.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/exec.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/exec.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/cfg_rpc.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/cfg_rpc.so
Reading symbols from /opt/sip-router/lib/ser/modules_s/eval.so...done.
Loaded symbols for /opt/sip-router/lib/ser/modules_s/eval.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `./ser -f /opt/sip-router/etc/ser/ser.cfg'.
Program terminated with signal 11, Segmentation fault.
#0 0x0814efed in search_avp (ident=
{flags = 7, name = {n = 35, s = {s = 0x23 <Address 0x23 out of bounds>,
len = 137352780}, re = 0x23}, index = 0}, val=0x0, state=0xbfd5788c)
at usr_avp.c:145
145 id ^= *p;
(gdb) bt
#0 0x0814efed in search_avp (ident=
{flags = 7, name = {n = 35, s = {s = 0x23 <Address 0x23 out of bounds>,
len = 137352780}, re = 0x23}, index = 0}, val=0x0, state=0xbfd5788c)
at usr_avp.c:145
#1 0x0814f299 in search_first_avp (flags=7, name=
{n = 127, s = {s = 0x7f <Address 0x7f out of bounds>, len = 137352780}, re
= 0x7f}, val=0x0, s=0xbfd5788c) at usr_avp.c:412
#2 0x08056a7c in do_action (h=0xbfd581b8, a=0x82bc6f4, msg=0x832cbf4)
at action.c:418
#3 0x0805aa5d in run_actions (h=0xbfd581b8, a=0x82bbf04, msg=0x832cbf4)
at action.c:1260
#4 0x0805630e in do_action (h=0xbfd581b8, a=0x82bd324, msg=0x832cbf4)
at action.c:845
#5 0x0805aa5d in run_actions (h=0xbfd581b8, a=0x82b9380, msg=0x832cbf4)
at action.c:1260
#6 0x080576c6 in do_action (h=0xbfd581b8, a=0x82b3c40, msg=0x832cbf4)
at action.c:475
#7 0x0805aa5d in run_actions (h=0xbfd581b8, a=0x82b2b2c, msg=0x832cbf4)
at action.c:1260
#8 0x080576c6 in do_action (h=0xbfd581b8, a=0x82ab084, msg=0x832cbf4)
at action.c:475
#9 0x0805aa5d in run_actions (h=0xbfd581b8, a=0x82ab084, msg=0x832cbf4)
at action.c:1260
---Type <return> to continue, or q <return> to quit---
#10 0x0805adc4 in run_top_route (a=0x82ab084, msg=0x832cbf4, c=0x0)
at action.c:1308
#11 0x080c36f8 in receive_msg (
buf=0x8257a80 "REGISTER sip:teigre.com SIP/2.0\r\nVia: SIP/2.0/UDP 10.0.0.3;branch=z9hG4bK0a000003000000204a70b14900006b4b00000000;rport\r\nFrom: \"Greger\" <sip:gre...@teigre.com>;tag=23c66a5689f8\r\nTo: <sip:gre...@teigre"...,
len=390, rcv_info=0xbfd58318) at receive.c:182
#12 0x081499f7 in udp_rcv_loop () at udp_server.c:520
#13 0x08099925 in main_loop () at main.c:1357
#14 0x0809ab43 in main (argc=3, argv=0xbfd585a4) at main.c:2148
</code>
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=11
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev