Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#130 Crash (gdb bt included)

1.5.x
closed-out-of-date
modules (454)
5
2009-07-16
2009-04-08
Patrick F.
No

#0 0x0000000800837436 in memcpy () from /lib/libc.so.7
#1 0x0000000800b02f88 in db_mysql_submit_dummy_query (_h=0x383931393332313d, _s=0x68abd0) at dbase.c:573
#2 0x0000000000622e68 in debug_init ()
#3 0x0000000801fed734 in ?? () from /usr/local/opensips/lib64/opensips/modules/siptrace.so
#4 0x00000008020ee650 in toip_column () from /usr/local/opensips/lib64/opensips/modules/siptrace.so
#5 0x0000000801fe5e23 in trace_onreply_in (t=Variable "t" is not available.
) at siptrace.c:1095
#6 0x00000008012fb93c in run_trans_callbacks (type=2, trans=0x8031f8280, req=0x802fe65c0, rpl=0x6849f8, code=200)
at t_hooks.c:208
#7 0x0000000801301a59 in t_reply_matching (p_msg=0x6849f8, p_branch=Variable "p_branch" is not available.
) at t_lookup.c:841
#8 0x0000000801301daa in t_check (p_msg=0x6849f8, param_branch=0x7fffffffe8cc) at t_lookup.c:912
#9 0x000000080130cb7d in reply_received (p_msg=0x6849f8) at t_reply.c:1369
#10 0x000000000041f06e in forward_reply (msg=0x6849f8) at forward.c:507
#11 0x000000000044ec5d in receive_msg (
buf=0x648e80 "SIP/2.0 500 Internal Server Error\r\nVia: SIP/2.0/UDP XX.XXX.XX.XXX;branch=z9hG4bK6a27.2a0eff56.0\r\nVia: S
IP/2.0/UDP XX.XXX.XXX.XXX:5060;branch=z9hG4bK7b0d7a849f56342ff3feaf28fe9dc191.50e32f1a\r\nVia: SIP/"..., len=1209,
rcv_info=0x7fffffffe9c0) at receive.c:203
#12 0x000000000048d982 in udp_rcv_loop () at udp_server.c:449
#13 0x0000000000426736 in main (argc=5, argv=0x7fffffffeb30) at main.c:779

Discussion

  • The backtrace looks corrupted (frames 2 and 3).

    What revision do you use? (do ./opensips -V)

    Can you produce it ?

    Regards,
    Bogdan

     
    • labels: 1134769 --> modules
    • assigned_to: nobody --> bogdan_iancu
     
  • Patrick F.
    Patrick F.
    2009-04-08

    @(#) $Id: main.c 5469 2009-03-18 12:43:10Z bogdan_iancu $
    main.c compiled on 12:01:32 Apr 6 2009 with gcc 4.2.1

    This is production, so I can't reproduce the issue. The issue has only happened once so far.

    Patrick

     
    • status: open --> open-out-of-date
     
  • As the last revision of 1.5 branch is 5615, please update from SVN as several mysql related fixes were done in the last weeks.

    If the crash appears again after the upgrade, please report back.

     
    • status: open-out-of-date --> closed-out-of-date
     
  • Patrick, if the error was not solved with the new 1.5.2, please re-open the report.

    Regards,
    Bogdan