Hello,
do you have maxfwd module loaded in kamailio.cfg? With it all worked
fine for me.
There was a missing check if the module was not loaded that could caused
the crash, I added the safety check for it and kamailio doesn't start
anymore if a registered module to Lua API is not loaded in kamailio.cfg.
Cheers,
Daniel
On 1/5/12 11:49 AM, Daniel-Constantin Mierla wrote:
Hello,
the debug symbols are missing, I will try to reproduce myself.
Cheers,
Daniel
On 1/4/12 11:49 AM, noc(a)nelcom-voip.com wrote:
На Wed, 04 Jan 2012 09:46:47 +0100
Daniel-Constantin Mierla<miconda(a)gmail.com> записано:
Hello,
can you send the backtrace? Locate the core file and do:
gdb /path/to/kamailio /path/to/corefile
bt
Here is what is says in log:
0(20428) DEBUG:<core> [receive.c:146]: After parse_msg...
0(20428) DEBUG:<core> [receive.c:187]: preparing to run routing
scripts...
0(20428) DEBUG: app_lua [app_lua_api.c:380]: running Lua string:
[[route_request([[MAIN]])]]
0(20428) DEBUG: app_lua [app_lua_api.c:381]: lua top index is: 10
0(20428) DEBUG: app_lua [app_lua_sr.c:63]: routing SIP request from
Lua [MAIN]
Here is the backtrace:
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb6ffd21c in ?? () from /usr/lib/kamailio/modules/app_lua.so
#2 0xb6fb828e in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#3 0xb6fc634b in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#4 0xb6fb84f4 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#5 0xb6fb3096 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#6 0xb6fb76f3 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#7 0xb6fb8886 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#8 0xb6fb313d in lua_pcall () from
/usr/lib/i386-linux-gnu/liblua5.1.so.0
#9 0xb6ff8b8e in app_lua_runstring () from
/usr/lib/kamailio/modules/app_lua.so
#10 0xb7003505 in ?? () from /usr/lib/kamailio/modules/app_lua.so
#11 0x080623f2 in do_action ()
#12 0x080615a8 in run_actions ()
#13 0x080697b2 in run_actions_safe ()
#14 0x0810aecb in rval_get_int ()
#15 0x0810fd07 in rval_expr_eval_int ()
#16 0x0810fdd6 in rval_expr_eval_int ()
#17 0x080628d5 in do_action ()
#18 0x080615a8 in run_actions ()
#19 0x0806982d in run_top_route ()
#20 0x080e981e in receive_msg ()
#21 0x08178c01 in udp_rcv_loop ()
#22 0x080b26b6 in main_loop ()
#23 0x08061344 in main ()
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)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