#554 segfault on dlg_ping_routine

1.8.x
closed-fixed
modules (454)
5
2012-10-09
2012-08-21
No

Under heavy load OpenSIPS is segfaulting on dlg_ping_routine (900 simultaneous calls).

Backtrace:

#0 dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized out>) at dlg_timer.c:539
#1 0x00000000004b50fc in timer_ticker () at timer.c:355
#2 run_timer_process () at timer.c:425
#3 start_timer_processes () at timer.c:522
#4 0x0000000000432ef9 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:929
#5 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1490

Discussion

  • Bogdan-Andrei Iancu

    • milestone: 869100 --> 855201
     
  • Bogdan-Andrei Iancu

    • milestone: 855201 --> 2722453
    • labels: --> modules
     
  • Flavio Goncalves

    • milestone: 2722453 --> 2111916
     
  • Flavio Goncalves

    version is 1.7.x. I have updated the software with the latest SVN. The problem is intermittent and occurred 5 times from July 27 to August 20. Waiting to see if it will happen again after update. I have all the core files (1GB each).

     
  • Vladut-Stefan Paiu

    Hello,

    Your core doesn't seem to have debugging symbols, so it's a little bit hard to trace the issue.
    At first glance, it seems like a case of memory corruption.

    If the issue appears even after updating to the latest 1.7 SVN, can you please enable debugging symbols and provide us access to some core files so I can have a look ?

    Regards,
    Vlad

     
  • Vladut-Stefan Paiu

    • assigned_to: nobody --> vladut-paiu
     
  • Dragos Oancea

    Dragos Oancea - 2012-09-19

    Hi

    This happened to me alot of times, sometimes on systems without much load ( but with TLS ) .
    Here is a log file (opensips 1.7.2):
    http://pastebin.com/xeEs2qZz

    I hope it helps.

    Cheers,
    Dragos

     
  • Flavio Goncalves

    How do I add debug symbols? I tried to compile with DBG_QM_MALLOC, but, the system started with memory errors.

     
  • Flavio Goncalves

    How do I add debug symbols? I tried to compile with DBG_QM_MALLOC, but, the system started with memory errors.

     
  • Flavio Goncalves

    The patch seems to be solving the problem. From 6 crashes we had on saturday, to none today.

     
  • Flavio Goncalves

    • milestone: 2111916 --> 1.8.x
     
  • Vladut-Stefan Paiu

    • status: open --> closed-fixed
     
  • Vladut-Stefan Paiu

    Hi Flavio,

    Thanks for the feedback.
    I've committed the fix on trunk, 1.8 and 1.7.

    Regards,
    Vlad

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks