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
Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -f 
/usr/local/etc/kamailio//k'.
Program terminated with signal 11, Segmentation fault.
[New process 5064]
#0  do_routing (msg=0xb7250c8c, drg=0xb72396c8) at drouting.c:658
658     {
(gdb) bt
#0  do_routing (msg=0xb7250c8c, drg=0xb72396c8) at drouting.c:658
#1  0x0805c09e in do_action (h=0xbf5974a8, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1122
#2  0x08062579 in run_actions (h=0xbf5974a8, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1610
#3  0x080628d1 in run_actions_safe (h=0xbf597b18, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1662
#4  0x080f7c8d in rval_get_int (h=0xbf597b18, msg=0xb7250c8c, i=0xbf5977d8, 
    rv=0xb723dde4, cache=0x0) at rvalue.c:920
#5  0x080fb8e5 in rval_expr_eval_int (h=0xbf597b18, msg=0xb7250c8c, 
    res=0xbf5977d8, rve=0xb723dde0) at rvalue.c:1914
#6  0x080fb9b5 in rval_expr_eval_int (h=0xbf597b18, msg=0xb7250c8c, 
    res=0xbf597ab4, rve=0xb723e1fc) at rvalue.c:1922
#7  0x0805b853 in do_action (h=0xbf597b18, a=0xb723e8a4, msg=0xb7250c8c)
    at action.c:1092
#8  0x08062579 in run_actions (h=0xbf597b18, a=0xb723e8a4, msg=0xb7250c8c)
    at action.c:1610
#9  0x08062854 in run_top_route (a=0xb723e8a4, msg=0xb7250c8c, c=0x0)
    at action.c:1683
#10 0xb6d326f5 in do_routing (msg=0xb7250c8c, drg=<value optimized out>)
    at drouting.c:751
#11 0x0805c09e in do_action (h=0xbf598118, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1122
---Type <return> to continue, or q <return> to quit---
QUIT
gdb) bt
#0  do_routing (msg=0xb7250c8c, drg=0xb72396c8) at drouting.c:658
#1  0x0805c09e in do_action (h=0xbf5974a8, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1122
#2  0x08062579 in run_actions (h=0xbf5974a8, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1610
#3  0x080628d1 in run_actions_safe (h=0xbf597b18, a=0xb723d78c, msg=0xb7250c8c)
    at action.c:1662
#4  0x080f7c8d in rval_get_int (h=0xbf597b18, msg=0xb7250c8c, i=0xbf5977d8, 
    rv=0xb723dde4, cache=0x0) at rvalue.c:920
#5  0x080fb8e5 in rval_expr_eval_int (h=0xbf597b18, msg=0xb7250c8c, 
    res=0xbf5977d8, rve=0xb723dde0) at rvalue.c:1914
#6  0x080fb9b5 in rval_expr_eval_int (h=0xbf597b18, msg=0xb7250c8c, 
    res=0xbf597ab4, rve=0xb723e1fc) at rvalue.c:1922
#7  0x0805b853 in do_action (h=0xbf597b18, a=0xb723e8a4, msg=0xb7250c8c)
    at action.c:1092
#8  0x08062579 in run_actions (h=0xbf597b18, a=0xb723e8a4, msg=0xb7250c8c)
    at action.c:1610
#9  0x08062854 in run_top_route (a=0xb723e8a4, msg=0xb7250c8c, c=0x0)
    at action.c:1683
#10 0xb6d326f5 in do_routing (msg=0xb7250c8c, drg=<value optimized out>)
    at drouting.c:751
#11 0x0805c09e in do_action (h=0x0, a=Cannot access memory at address 0xc
) at action.c:1122
#12 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
---Type <return> to continue, or q <return> to quit---bt full
#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
#23 0x080628d1 in run_actions_safe (h=Cannot access memory at address 0x8
) at action.c:1662
#24 0x080f7c8d in rval_get_int (h=Cannot access memory at address 0x8
) at rvalue.c:920
#25 0x080fb8e5 in rval_expr_eval_int (h=0xb71f7c8c, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1914
#26 0x080fb9b5 in rval_expr_eval_int (h=0x0, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1922
#27 0x0805b853 in do_action (h=Cannot access memory at address 0x8
) at action.c:1092
#28 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#29 0x08062854 in run_top_route (a=Cannot access memory at address 0x8
) at action.c:1683
#30 0xb6d326f5 in do_routing (msg=Cannot access memory at address 0xfffffe5c
) at drouting.c:751
#31 0x0805c09e in do_action (h=Cannot access memory at address 0x8
) at action.c:1122
#32 0x08062579 in run_actions (h=Cannot access memory at address 0x8
) at action.c:1610
#33 0x080628d1 in run_actions_safe (h=Cannot access memory at address 0x8
) at action.c:1662
#34 0x080f7c8d in rval_get_int (h=Cannot access memory at address 0x8
) at rvalue.c:920
#35 0x080fb8e5 in rval_expr_eval_int (h=0xb71f7c8c, msg=Cannot access memory at 
address 0xc
) at rvalue.c:1914
---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