[OpenSER-Users] Openser crash if using invalid flag in t_relay

Ruchir ruchir.lists at gmail.com
Wed Jun 18 11:11:27 CEST 2008


Hi Henning,

Here is the back trace.

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 /usr/local/lib/openser/modules/mysql.so...done.
Loaded symbols for /usr/local/lib/openser/modules/mysql.so
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
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 /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/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 /usr/local/lib/openser/modules/domain.so...done.
Loaded symbols for /usr/local/lib/openser/modules/domain.so
Reading symbols from /usr/local/lib/openser/modules/permissions.so...done.
Loaded symbols for /usr/local/lib/openser/modules/permissions.so
Reading symbols from /usr/local/lib/openser/modules/sl.so...done.
Loaded symbols for /usr/local/lib/openser/modules/sl.so
Reading symbols from /usr/local/lib/openser/modules/tm.so...done.
Loaded symbols for /usr/local/lib/openser/modules/tm.so
Reading symbols from /usr/local/lib/openser/modules/rr.so...done.
Loaded symbols for /usr/local/lib/openser/modules/rr.so
Reading symbols from /usr/local/lib/openser/modules/maxfwd.so...done.
Loaded symbols for /usr/local/lib/openser/modules/maxfwd.so
Reading symbols from /usr/local/lib/openser/modules/usrloc.so...done.
Loaded symbols for /usr/local/lib/openser/modules/usrloc.so
Reading symbols from /usr/local/lib/openser/modules/alias_db.so...done.
Loaded symbols for /usr/local/lib/openser/modules/alias_db.so
Reading symbols from /usr/local/lib/openser/modules/registrar.so...done.
Loaded symbols for /usr/local/lib/openser/modules/registrar.so
Reading symbols from /usr/local/lib/openser/modules/nathelper.so...done.
Loaded symbols for /usr/local/lib/openser/modules/nathelper.so
Reading symbols from /usr/local/lib/openser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local/lib/openser/modules/mediaproxy.so
Reading symbols from /usr/local/lib/openser/modules/uri.so...done.
Loaded symbols for /usr/local/lib/openser/modules/uri.so
Reading symbols from /usr/local/lib/openser/modules/uri_db.so...done.
Loaded symbols for /usr/local/lib/openser/modules/uri_db.so
Reading symbols from /usr/local/lib/openser/modules/textops.so...done.
Loaded symbols for /usr/local/lib/openser/modules/textops.so
Reading symbols from /usr/local/lib/openser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/openser/modules/xlog.so
Reading symbols from /usr/local/lib/openser/modules/acc.so...done.
Loaded symbols for /usr/local/lib/openser/modules/acc.so
Reading symbols from /usr/local/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/local/lib/libradiusclient-ng.so.2
Reading symbols from /usr/local/lib/openser/modules/group_radius.so...done.
Loaded symbols for /usr/local/lib/openser/modules/group_radius.so
Reading symbols from /usr/local/lib/openser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/openser/modules/auth.so
Reading symbols from /usr/local/lib/openser/modules/auth_radius.so...done.
Loaded symbols for /usr/local/lib/openser/modules/auth_radius.so
Reading symbols from /usr/local/lib/openser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/openser/modules/avpops.so
Reading symbols from /usr/local/lib/openser/modules/mi_fifo.so...done.
Loaded symbols for /usr/local/lib/openser/modules/mi_fifo.so
Reading symbols from /usr/local/lib/openser/modules/avp_radius.so...done.
Loaded symbols for /usr/local/lib/openser/modules/avp_radius.so
Reading symbols from /usr/local/lib/openser/modules/lcr.so...done.
Loaded symbols for /usr/local/lib/openser/modules/lcr.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Core was generated by `openser'.
Program terminated with signal 11, Segmentation fault.
#0  0x008e6131 in t_forward_nonack (t=0xb6168d28, p_msg=0x81a2ff8,
proxy=0x0) at t_fwd.c:754
754     t_fwd.c: No such file or directory.
        in t_fwd.c
(gdb)
(gdb) bt
#0  0x008e6131 in t_forward_nonack (t=0xb6168d28, p_msg=0x81a2ff8,
proxy=0x0) at t_fwd.c:754
#1  0x008f2162 in w_t_relay (p_msg=0x81a2ff8, proxy=0x0, flags=0x8 <Address
0x8 out of bounds>) at tm.c:997
#2  0x08051223 in do_action (a=0x817e970, msg=0x81a2ff8) at action.c:883
#3  0x080534ea in run_action_list (a=0x817e970, msg=0x81a2ff8) at
action.c:131
#4  0x0809010d in eval_expr (e=0x817e9c8, msg=0x81a2ff8, val=0x0) at
route.c:1058
#5  0x0808fcf3 in eval_expr (e=0x817e9f0, msg=0x81a2ff8, val=0x0) at
route.c:1374
#6  0x0808fc87 in eval_expr (e=0x817ea18, msg=0x81a2ff8, val=0x0) at
route.c:1379
#7  0x0805113f in do_action (a=0x817eeb8, msg=0x81a2ff8) at action.c:783
#8  0x080534ea in run_action_list (a=0x817d900, msg=0x81a2ff8) at
action.c:131
#9  0x08051b05 in do_action (a=0x818a398, msg=0x81a2ff8) at action.c:111
#10 0x080534ea in run_action_list (a=0x818a340, msg=0x81a2ff8) at
action.c:131
#11 0x08052a7a in do_action (a=0x818a3f0, msg=0x81a2ff8) at action.c:807
#12 0x080534ea in run_action_list (a=0x8189948, msg=0x81a2ff8) at
action.c:131
#13 0x08051b05 in do_action (a=0x8189438, msg=0x81a2ff8) at action.c:111
#14 0x080534ea in run_action_list (a=0x81893e0, msg=0x81a2ff8) at
action.c:131
#15 0x08052699 in do_action (a=0x8189898, msg=0x81a2ff8) at action.c:801
#16 0x080534ea in run_action_list (a=0x8188298, msg=0x81a2ff8) at
action.c:131
#17 0x08051b05 in do_action (a=0x8184200, msg=0x81a2ff8) at action.c:111
#18 0x080534ea in run_action_list (a=0x8180cf8, msg=0x81a2ff8) at
action.c:131
#19 0x08051b05 in do_action (a=0x817cba8, msg=0x81a2ff8) at action.c:111
#20 0x080534ea in run_action_list (a=0x817cb50, msg=0x81a2ff8) at
action.c:131
#21 0x08052699 in do_action (a=0x817cc00, msg=0x81a2ff8) at action.c:801
#22 0x080534ea in run_action_list (a=0x8179af8, msg=0x81a2ff8) at
action.c:131
#23 0x08053783 in run_top_route (a=0x8179af8, msg=0x81a2ff8) at action.c:111
#24 0x08082c75 in receive_msg (
    buf=0x813d1e0 "INVITE sip:90003 at mydomain.com
<sip%3A90003 at mydomain.com>SIP/2.0\r\nVia: SIP/2.0/UDP
192.168.1.7:1000;rport;branch=z9hG4bKc0a80107000000194858d0332401228c0000000d\r\nContent-Length:
364\r\nContact: <sip:90003 at 192.168.1.7:1"..., len=1067, rcv_info=0xbfdcb628)
at receive.c:156
#25 0x080b36b9 in udp_rcv_loop () at udp_server.c:465
#26 0x0806ece8 in main_loop () at main.c:732
#27 0x08070a85 in main (argc=1, argv=0xbfdcb7f4) at main.c:1399
(gdb)

On Mon, Jun 16, 2008 at 6:01 PM, Henning Westerholt <
henning.westerholt at 1und1.de> wrote:

> On Monday 16 June 2008, Ruchir wrote:
> > I am using openser 1.2.3. Unfortunately I don't have backtrace. I can
> > generate and send if you want.
>
> Hi Ruchir,
>
> would be great to have a look at the backtrace. Is this easy reproducable?
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080618/dc1a52c4/attachment.htm 


More information about the Users mailing list