Hi to all,
i went more in deep analyzing the core and found the error in :
escape_string_for_mysql () from /usr/lib64/libmysqlclient.so.15
I attach a little txt file to let analyze the problem and may be to help
me understand exactly what openser didn't like in the mysql string.
Thanks,
Bye,
Marcello
Marcello Lupo wrote:
Hi to all,
i've got this error in logs and openser crashed:
[20670]: force_rtp_proxy2: incorrect port 0 in reply from rtp proxy
[20670]: kernel: openser[20670] general protection rip:2b467ccf4150
rsp:7fff2e6d6370 error:0
[20670]: child process 20670 exited by a signal 11
[20670]: core was generated
[20630]: INFO: terminating due to SIGCHLD
[20640]: INFO: signal 15 received
....
....
....
Can you remember me where the core is and if you need it to be analyzed?
Openser is 1.2.2 no tls on SLES10 x86_64 .
Thanks,
Bye,
Marcello
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
#0 0x00002b467ccf4150 in escape_string_for_mysql () from /usr/lib64/libmysqlclient.so.15
#1 0x00002b467ca4790f in val2str (_c=0x2b467cef05a0, _v=0x61363234, _s=0x2b467cb49cbc
".eu:5060','','','','','','','','','','','','14820
BYE','','192.168.1.1','')", _len=0x7fff2e6d6404) at
val.c:316
#2 0x00002b467ca43972 in db_mysql_print_values (_c=0x6b3d20,
_b=0x2b467cb49b0e
"'INVITE','c8f7266525aee1e','c2b47dc276a5908','fa53a5cd05c5c6629d15e245c5f6ed26(a)voip.test.eu','200','OK','2007-10-17
10:08:30','12345678
<sip:12345678@voip.test.eu:5060>;tag=c8f7266525aee1e"...,
_l=65170, _v=<value optimized out>, _n=28) at dbase.c:145
#3 0x00002b467ca44987 in db_mysql_insert (_h=0x6b4610, _k=<value optimized out>,
_v=0x2b467e6ba5c0, _n=28) at dbase.c:584
#4 0x00002b467e5a56d3 in acc_db_request (rq=0x2b467eabeac0) at acc.c:378
#5 0x00002b467e5a7244 in tmcb_func (t=<value optimized out>, type=<value
optimized out>, ps=<value optimized out>) at acc_logic.c:376
#6 0x00002b467d3a5931 in run_trans_callbacks (type=128, trans=0x2b467eb131f8,
req=<value optimized out>, rpl=<value optimized out>, code=<value optimized
out>) at t_hooks.c:205
#7 0x00002b467d3b3eb6 in relay_reply (t=0x2b467eb131f8, p_msg=<value optimized
out>, branch=0, msg_status=200, cancel_bitmap=0x7fff2e6d66c8) at t_reply.c:1155
#8 0x00002b467d3b5b4d in reply_received (p_msg=0x6b4740) at t_reply.c:1388
#9 0x000000000041933e in forward_reply (msg=0x6b4740) at forward.c:489
#10 0x000000000043cc72 in receive_msg (
buf=0x604080 "SIP/2.0 200 OK\r\nCall-ID:
fa53a5cd05c5c6629d15e245c5f6ed26(a)voip.telesya.eu\r\nCSeq: 1492387146 INVITE\r\nFrom:
12345678 <sip:12345678@voip.test.eu:5060>;tag=c8f7266525aee1e\r\nTo:
sip:98765432123@vo"...,
len=1088, rcv_info=0x7fff2e6d6790) at receive.c:195
#11 0x000000000046d4ff in udp_rcv_loop () at udp_server.c:451
#12 0x0000000000428e70 in main_loop () at main.c:834
#13 0x000000000042a939 in main (argc=<value optimized out>, argv=<value optimized
out>) at main.c:1393