Hello,

 

Full version output is:

 

debian:/usr/local/etc/kamailio# /usr/local/sbin/kamailio -V

version: kamailio 3.2.2 (i386/linux) 5fc59c

flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB

poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.

id: 5fc59c 

compiled on 06:46:26 Feb 28 2012 with gcc 4.3.2

 

Thanks in advance.

F.Chahrour

 

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Sent: Thursday, March 01, 2012 3:44 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Cc: Fatima Chahrour~Vanrise Support
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

 

Hello,

can you send also the full version - -the output of
'/usr/local/sbin/kamailio -V'

Based on the backtrace, I could not match a valid line in the source code
that could cause a crash.

Also, you haven't sent the output of 'bt full' -- you sent only from 'bt',
first part just limited number of printed line. Do 'bt full' in gdb and sent
the output.

Cheers,
Daniel

On 3/1/12 11:02 AM, Fatima Chahrour~Vanrise Support wrote: 

Hi Daniel,

 

Please find output attached.

Waiting your feedback.

 

Thanks,

F.Chahrour

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Sent: Thursday, March 01, 2012 11:34 AM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Cc: Fatima Chahrour~Vanrise Support
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

 

Hello,

that's the core file, do:

gdb /usr/local/sbin/kamailio /core

The send out the output from the gdb commands:

bt
bt full

Cheers,
Daniel

On 3/1/12 10:03 AM, Fatima Chahrour~Vanrise Support wrote: 

Dear Daniel,

 

Thanks for your reply..

I'd like to ask you too if my script in my first post that am using in the
routing area is correct?

 

I found file named core in the '/' location as you mentioned. 

When I open it using #cat core, the opened file go crazy and writes strange
characters and it ending with the below:

 

/usr/local/sbin/kamailio-P/var/run/kamailio.pid-f/usr/local/etc/kamailio//ka
mailio.cfgSSH_AGENT_PID=3234GPG_AGENT_INFO=/tmp/seahorse-jKaZEU/S.gpg-agent:
3246:1TERM=xtermDESKTOP_STARTUP_ID=SHELL=/bin/bashGTK_RC_FILES=/etc/gtk/gtkr
c:/home/vanrise/.gtkrc-1.2-gnome2WINDOWID=33580848USER=rootGNOME_KEYRING_SOC
KET=/tmp/keyring-ZKxFck/socketSSH_AUTH_SOCK=/tmp/keyring-ZKxFck/sshUSERNAME=
vanriseSESSION_MANAGER=local/debian:/tmp/.ICE-unix/3188MAIL=/var/mail/rootPA
TH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/DESKTOP_SES
SION=defaultGDM_XSERVER_LOCATION=localPWD=/usr/local/etc/kamailioLANG=en_US.
UTF-8GDM_LANG=en_US.UTF-8GDMSESSION=defaultSHLVL=4HOME=/rootGNOME_DESKTOP_SE
SSION_ID=DefaultLOGNAME=rootDBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus
-sH8atcWdX4,guid=f0dcba443f8fd1d5267161364f4dd99dXDG_DATA_DIRS=/usr/local/sh
are/:/usr/share/:/usrdebian:/# 62;9;c62;9

 

Sorry, I've just realized an info that I should mention and would be
helpful, am running this Kamailio on a debian Lenny VMware as a trial before
migrating it to its server.

 

Thank you,

F.Chahrour

 

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Sent: Thursday, March 01, 2012 10:15 AM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Cc: Fatima Chahrour~Vanrise Support; sr-users-boun...@lists.sip-router.org
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

 

Hello,

have you found the core file in /var/log/? It is a strange location unless
you started with -w /var/log. The core file is named usually 'core' or
core.pid (replace pid with same number, like, 'core.1234'). The default
location in in '/' unless there is a different location set via -w or
enforced by operating system (e.g., mac os x puts it in '/corefiles').

Hope it helps to locate the core file and send the backtrace.

Cheers,
Daniel

On 3/1/12 9:05 AM, Fatima Chahrour~Vanrise Support wrote: 

I also tried : #gdb /usr/local/sbin/kamailio  /var/log/core.file
                         (gdb) bt

And got No Stack..

 

BR,

F.Chahrour

 

 







_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users






-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda






_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda
(gdb) bt
#0  do_routing (msg=0xb7250c8c, drg=0xb72396c8) at drouting.c:658
#1  0x0805c09e in do_action (h=Cannot access memory at address 0x8
) at action.c:1122
#2  0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#3  0x080628d1 in run_actions_safe (h=Cannot access memory at address 0x8
) at action.c:1662
#4  0x080f7c8d in rval_get_int (h=Cannot access memory at address 0x8
) at rvalue.c:920
#5  0x080fb8e5 in rval_expr_eval_int (h=0xb71f7c8c, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1914
#6  0x080fb9b5 in rval_expr_eval_int (h=0x0, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1922
#7  0x0805b853 in do_action (h=Cannot access memory at address 0x8
) at action.c:1092
#8  0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#9  0x08062854 in run_top_route (a=Cannot access memory at address 0x8
) at action.c:1683
#10 0xb6d326f5 in do_routing (msg=Cannot access memory at address 0xfffffe5c
) at drouting.c:751
#11 0x0805c09e in do_action (h=Cannot access memory at address 0x8
) at action.c:1122
#12 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#13 0x080628d1 in run_actions_safe (h=Cannot access memory at address 0x8
) at action.c:1662
#14 0x080f7c8d in rval_get_int (h=Cannot access memory at address 0x8
) at rvalue.c:920
#15 0x080fb8e5 in rval_expr_eval_int (h=0xb71f7c8c, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1914
#16 0x080fb9b5 in rval_expr_eval_int (h=0x0, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1922
#17 0x0805b853 in do_action (h=Cannot access memory at address 0x8
) at action.c:1092
#18 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#19 0x08062854 in run_top_route (a=Cannot access memory at address 0x8
) at action.c:1683
#20 0xb6d326f5 in do_routing (msg=Cannot access memory at address 0xfffffe5c
) at drouting.c:751
#21 0x0805c09e in do_action (h=Cannot access memory at address 0x8
) at action.c:1122
#22 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) bt full
#0  do_routing (msg=0xb7250c8c, drg=0xb72396c8) at drouting.c:658
        from = <value optimized out>
        uri = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host = {
    s = 0x0, len = 0}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0}, 
  sip_params = {s = 0x0, len = 0}, headers = {s = 0x0, len = 0}, port_no = 0, 
  proto = 0, type = ERROR_URI_T, flags = 0, transport = {s = 0x0, len = 0}, 
  ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x0, 
    len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 = {
    s = 0x0, len = 0}, transport_val = {s = 0x0, len = 0}, ttl_val = {s = 0x0, 
    len = 0}, user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, 
    len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 0x0, len = 0}, 
  r2_val = {s = 0x0, len = 0}}
        rt_info = <value optimized out>
        grp_id = <value optimized out>
        i = <value optimized out>
        j = <value optimized out>
        l = <value optimized out>
        t = <value optimized out>
        ruri = <value optimized out>
        val = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}
        avp = <value optimized out>
        gwlist_size = <value optimized out>
        ret = <value optimized out>
---Type <return> to continue, or q <return> to quit---

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to