Hello,
this looks like a conflict between lua ssl module and kamailio tls
module, are you using both? Can you try without kamailio tls module just
to see if this is the issue?
Cheers,
Daniel
On 3/19/13 6:13 AM, Krishna Kurapati wrote:
36(8606) DEBUG: <core> [db.c:327]: connection
0x7fd474542320 found in pool
36(8606) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (32):
sqlops
9(8567) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua
36(8606) DEBUG: <core> [sr_module.c:674]: find_export_record: found
<db_bind_api> in module db_mysql
[/usr/local/lib64/kamailio/modules/db_mysql.so]
36(8606) DEBUG: <core> [db.c:213]: using db bind api for db_mysql
36(8606) DEBUG: <core> [db.c:327]: connection 0x7fd4745424f0 found in pool
36(8606) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (32):
app_lua
36(8606) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua
39(8615) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua
34(8604) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua
40(8616) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua
41(8617) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
41(8617) DEBUG: <core> [tcp_main.c:3592]: DBG: handle_ser_child: dead
child 6, pid 8558 (shutting down?)
0(8543) ALERT: <core> [main.c:788]: child process 8558 exited by a
signal 11
0(8543) ALERT: <core> [main.c:791]: core was generated
And here is backtrace
done.
Loaded symbols for /usr/lib64/lua/5.1/ssl.so
Core was generated by `/usr/local/sbin/kamailio -L
/usr/local/lib64/kamailio/modules/:/usr/local/lib64'.
Program terminated with signal 11, Segmentation fault.
#0 qm_detach_free (qm=0x7fd370304000, size=32) at mem/q_malloc.c:269
269FRAG_END(next)->prev_free=prev;
Missing separate debuginfos, use: debuginfo-install
lua-5.1.4-4.1.el6.x86_64
(gdb) backtrace
#0 qm_detach_free (qm=0x7fd370304000, size=32) at mem/q_malloc.c:269
#1 qm_malloc (qm=0x7fd370304000, size=32) at mem/q_malloc.c:386
#2 0x00007fd47052ae71 in shm_malloc (size=24) at ../../mem/shm_mem.h:262
#3 ser_malloc (size=24) at tls_init.c:285
#4 0x0000003928c5d95e in CRYPTO_malloc (num=24,
file=0x3928d24a84 "o_names.c", line=195) at mem.c:306
#5 0x0000003928c6085f in OBJ_NAME_add (name=0x3928d27c52 "RSA-SHA512",
type=1, data=0x3928d27c56 "SHA512") at o_names.c:195
#6 0x0000003928cc076a in EVP_add_digest (md=0x3928f84440) at names.c:99
#7 0x000000392b442f18 in SSL_library_init () at ssl_algs.c:165
#8 0x00007fd36ea1d3c9 in luaopen_ssl_core () from
/usr/lib64/lua/5.1/ssl.so
#9 0x00007fd36f6785d1 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#10 0x00007fd36f678a54 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#11 0x00007fd36f673d56 in lua_call () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#12 0x00007fd36f68cf2c in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#13 0x00007fd36f6785d1 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#14 0x00007fd36f683249 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#15 0x00007fd36f678a9d in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#16 0x00007fd36f673d56 in lua_call () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#17 0x00007fd36f68cf2c in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#18 0x00007fd36f6785d1 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#19 0x00007fd36f683249 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#20 0x00007fd36f678a9d in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
---Type <return> to continue, or q <return> to quit---
#21 0x00007fd36f678137 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#22 0x00007fd36f6781b2 in ?? () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#23 0x00007fd36f673b61 in lua_pcall () from /usr/lib64/liblua-5.1.so
<http://liblua-5.1.so>
#24 0x00007fd36f89e69d in lua_sr_init_child () at app_lua_api.c:227
#25 0x00000000004e4aa3 in init_mod_child (m=0x7fd474485060, rank=-1)
at sr_module.c:893
#26 0x00000000004e4a24 in init_mod_child (m=0x7fd474485980, rank=-1)
at sr_module.c:890
#27 0x00000000004e4a24 in init_mod_child (m=0x7fd474485bf0, rank=-1)
at sr_module.c:890
#28 0x0000000000489d15 in fork_process (child_id=-1,
desc=<value optimized out>, make_sock=<value optimized out>) at
pt.c:347
#29 0x0000000000466dec in main_loop () at main.c:1700
#30 0x0000000000468afe in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:2566
_______________________________________________
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://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
-
http://conference.kamailio.com -