Bogdan, It crashed again tonight. I've attached the backtrace.
Thanks. On Mon, Nov 1, 2010 at 9:32 AM, thrillerbee <thriller...@gmail.com> wrote: > Bogdan, > > Yes, I've attached 2 to my response - one was a crash from 10/29. The > other occurred a few minutes ago. > > Thanks. > > On Fri, Oct 22, 2010 at 11:41 AM, Bogdan-Andrei Iancu < > bog...@voice-system.ro> wrote: > >> Any chance with the backtraces ? >> >> Regards, >> Bogdan >> >> Anca Vamanu wrote: >> > Hi, >> > >> > You need to inspect them with gdb, run: gdb >> > path_to_opensips_executable path_to_corefile, and then run 'bt full' >> > and send the output. >> > >> > Regards, >> > -- >> > Anca Vamanu >> > www.voice-system.ro >> > >> > >> > On 10/14/2010 10:12 PM, thrillerbee wrote: >> >> I have this info from dmesg: >> >> >> >> [1985853.285221] opensips[30865]: segfault at 10 ip 7f43899ce21f sp >> >> 7fff8de1cf40 error 4 in db_flatstore.so[7f43899cb000+5000] >> >> [1985856.379671] opensips[30858]: segfault at 10 ip 7f43899ce21f sp >> >> 7fff8de1cf40 error 4 in db_flatstore.so[7f43899cb000+5000] >> >> [1985896.961279] opensips[30868]: segfault at 10 ip 7f43899ce21f sp >> >> 7fff8de1cf40 error 4 in db_flatstore.so[7f43899cb000+5000] >> >> >> >> [2000131.245512] opensips[17672]: segfault at 10 ip 7fd0f21fb21f sp >> >> 7fff3a3b4f00 error 4 in db_flatstore.so[7fd0f21f8000+5000] >> >> [2000161.735962] opensips[17668]: segfault at 10 ip 7fd0f21fb21f sp >> >> 7fff3a3b4e40 error 4 in db_flatstore.so[7fd0f21f8000+5000] >> >> [2000167.299402] opensips[17670]: segfault at 10 ip 7fd0f21fb21f sp >> >> 7fff3a3b4f00 error 4 in db_flatstore.so[7fd0f21f8000+5000] >> >> >> >> On Thu, Oct 14, 2010 at 1:57 PM, thrillerbee <thriller...@gmail.com >> >> <mailto:thriller...@gmail.com>> wrote: >> >> >> >> When OpenSIPS crashes, three corefiles are generated that are >> >> 2.1GB in size. How do I use these files to understand what's >> >> causing the crash? >> >> >> >> Thanks. >> >> >> >> >> > ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Users mailing list >> > Users@lists.opensips.org >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> >> >> -- >> Bogdan-Andrei Iancu >> OpenSIPS Bootcamp >> 15 - 19 November 2010, Edison, New Jersey, USA >> www.voice-system.ro >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips/opensips.pid -m 512 -u root -g ro'. Program terminated with signal 11, Segmentation fault. [New process 26978] #0 0x00007f726cb9b21f in flat_db_insert (h=0x7f09a8, k=0x7f726b8dba60, v=0x7f726b8dbd20, n=19) at flatstore.c:165 165 f = CON_FILE(h); (gdb) bt full #0 0x00007f726cb9b21f in flat_db_insert (h=0x7f09a8, k=0x7f726b8dba60, v=0x7f726b8dbd20, n=19) at flatstore.c:165 f = <value optimized out> i = <value optimized out> l = <value optimized out> p = <value optimized out> __FUNCTION__ = "flat_db_insert" #1 0x00007f726b6c27ef in acc_db_request (rq=0x7f726c77f160, rpl=<value optimized out>) at acc.c:364 m = 19 n = <value optimized out> i = <value optimized out> my_ps = (db_ps_t) 0x0 __FUNCTION__ = "acc_db_request" #2 0x00007f726b6c7e28 in tmcb_func (t=0x7f724cea4fd8, type=<value optimized out>, ps=0x4ccf5229) at acc_logic.c:319 No locals. #3 0x00007f726c5504a2 in run_trans_callbacks (type=64, trans=0x7f724cea4fd8, req=0x7f726c77f160, rpl=0x7f0d60, code=404) at t_hooks.c:208 cbp = (struct tm_callback *) 0x7f724ab5c220 backup = (struct usr_avp **) 0x7f724cea6808 trans_backup = (struct cell *) 0x7f724cea4fd8 __FUNCTION__ = "run_trans_callbacks" #4 0x00007f726c56c9b4 in t_should_relay_response (Trans=0x7f724cea4fd8, new_code=<value optimized out>, branch=1, should_store=0x7ffff083fa18, should_relay=0x7ffff083fa1c, cancel_bitmap=0x7ffff083fae8, reply=0x7f0d60) at t_reply.c:611 branch_cnt = 2 inv_through = <value optimized out> do_cancel = <value optimized out> __FUNCTION__ = "t_should_relay_response" #5 0x00007f726c56cfe2 in relay_reply (t=0x7f09a8, p_msg=0x7f0d60, branch=1288655401, msg_status=404, cancel_bitmap=0x7ffff083fae8) at t_reply.c:1133 relay = <value optimized out> save_clone = <value optimized out> buf = <value optimized out> res_len = 0 relayed_code = 404 relayed_msg = <value optimized out> bm = {to_tag_val = {s = 0x1 <Address 0x1 out of bounds>, len = 8326496}} totag_retr = <value optimized out> reply_status = <value optimized out> cb_s = { s = 0x76202d "From: \"Office\" <sip:14064263...@8.20.212.252>;tag=Uvyr85XQ8FNvj\r\nTo: <sip:30201#16606592...@24.121.80.36>;tag=B2B.2064.650\r\nCall-ID: 91b97e04-f697-4827-bc02-d76b56b579b5\r\nCSeq: 3991724 INVITE\r\nContact"..., len = 8187368} text = { s = 0x76206e "To: <sip:30201#16606592...@24.121.80.36>;tag=B2B.2064.650\r\nCall-ID: 91b97e04-f697-4827-bc02-d76b56b579b5\r\nCSeq: 3991724 INVITE\r\nContact: <sip:s...@24.121.80.37>\r\nServer: StarView Solutions SIP Proxy\r\nCo"..., len = 59} __FUNCTION__ = "relay_reply" #6 0x00007f726c56e548 in reply_received (p_msg=0x7f0d60) at t_reply.c:1502 last_uac_status = <value optimized out> branch = 1 reply_status = <value optimized out> timer = <value optimized out> cancel_bitmap = 0 t = (struct cell *) 0x7f724cea4fd8 backup_list = <value optimized out> ---Type <return> to continue, or q <return> to quit--- has_reply_route = 1230642368 __FUNCTION__ = "reply_received" #7 0x000000000042519d in forward_reply (msg=0x7f0d60) at forward.c:559 new_buf = <value optimized out> to = <value optimized out> new_len = <value optimized out> mod = (struct sr_module *) 0x78dfe0 proto = <value optimized out> id = <value optimized out> send_sock = <value optimized out> len = <value optimized out> __FUNCTION__ = "forward_reply" #8 0x000000000046663d in receive_msg ( buf=0x761f40 "SIP/2.0 404 Not Found\r\nVia: SIP/2.0/UDP 24.121.80.38;branch=z9hG4bK0b9e.3f6b5ee5.1\r\nVia: SIP/2.0/UDP 24.121.80.36;branch=z9hG4bK0b9e.602d30a1.0\r\nVia: SIP/2.0/UDP 8.20.212.252;received=8.20.212.252;rpo"..., len=521, rcv_info=0x7ffff083fbe0) at receive.c:200 msg = (struct sip_msg *) 0x7f0d60 __FUNCTION__ = "receive_msg" #9 0x00000000004ac48a in udp_rcv_loop () at udp_server.c:492 len = 521 tmp = <value optimized out> from = (union sockaddr_union *) 0x7f0d28 fromlen = 16 ri = {src_ip = {af = 2, len = 4, u = {addrl = {5448578521441007946, 0}, addr32 = {626030922, 1268596044, 0, 0}, addr16 = {31050, 9552, 15692, 19357, 0, 0, 0, 0}, addr = "JyP%L=\235K\000\000\000\000\000\000\000"}}, dst_ip = {af = 2, len = 4, u = {addrl = {642808138, 0}, addr32 = {642808138, 0, 0, 0}, addr16 = {31050, 9808, 0, 0, 0, 0, 0, 0}, addr = "JyP&", '\0' <repeats 11 times>}}, src_port = 5060, dst_port = 5060, proto = 1, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023ÄJyP%\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 626030922}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 626030922, sin6_addr = {in6_u = { u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7dc2c8} p = (callback_list *) 0x7ffff083fbe8 buf = "SIP/2.0 404 Not Found\r\nVia: SIP/2.0/UDP 24.121.80.38;branch=z9hG4bK0b9e.3f6b5ee5.1\r\nVia: SIP/2.0/UDP 24.121.80.36;branch=z9hG4bK0b9e.602d30a1.0\r\nVia: SIP/2.0/UDP 8.20.212.252;received=8.20.212.252;rpo"... __FUNCTION__ = "udp_rcv_loop" #10 0x000000000042c1b7 in main (argc=<value optimized out>, argv=0x7ffff083fdc8) at main.c:818 cfg_log_stderr = <value optimized out> cfg_stream = <value optimized out> c = <value optimized out> r = <value optimized out> tmp = 0x7ffff0840eab "" tmp_len = <value optimized out> port = <value optimized out> proto = <value optimized out> ret = <value optimized out> seed = 3027594972 rfd = <value optimized out> __FUNCTION__ = "main" (gdb)
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users