Asterisk
  1. Asterisk
  2. ASTERISK-15349

1.6.1.12-rc1 crash around 100 SIP call setup with media

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Component/s: Core/General
    • Labels:
      None
    • Mantis ID:
      16494
    • Regression:
      Yes

      Description

      Asterisk crash around 100 call setup with media, without media I could setup 4000+ calls with sipp.

                • ADDITIONAL INFORMATION ******

      On the same server, lab test with Asterisk 1.4.27.1 and Asterisk 1.2.37 I could get 400 to 500 SIP calls with media.

      1. bt_full.log
        4 kB
      2. bt.log
        1 kB
      3. thread_apply_all_bt.log
        262 kB

        Activity

        Hide
        Leif Madsen added a comment -

        Closing this as a duplicate of ASTERISK-14848. Thank you for the report.

        Show
        Leif Madsen added a comment - Closing this as a duplicate of ASTERISK-14848 . Thank you for the report.
        Hide
        Digium Subversion added a comment -

        Repository: asterisk
        Revision: 278465

        U trunk/res/res_timing_pthread.c

        ------------------------------------------------------------------------
        r278465 | russell | 2010-07-21 11:14:59 -0500 (Wed, 21 Jul 2010) | 41 lines

        Use poll() instead of select() in res_timing_pthread to avoid stack corruption.

        This code did not properly check FD_SETSIZE to ensure that it did not try to
        select() on fds that were too large. Switching to poll() removes the limitation
        on the maximum fd value.

        (closes issue ASTERISK-14848)
        Reported by: keiron

        (closes issue ASTERISK-15960)
        Reported by: Eddie Edwards

        (closes issue ASTERISK-15349)
        Reported by: Hubguru

        (closes issue ASTERISK-14670)
        Reported by: flop

        (closes issue ASTERISK-12249)
        Reported by: falves11

        (closes issue ASTERISK-13973)
        Reported by: vrban

        (closes issue ASTERISK-15971)
        Reported by: aleksey2000

        (closes issue ASTERISK-14385)
        Reported by: kowalma

        (closes issue ASTERISK-16185)
        Reported by: dcabot

        (closes issue ASTERISK-16085)
        Reported by: glwgoes

        (closes issue ASTERISK-15895)
        Reported by: erikje

        possibly other issues, too ...

        ------------------------------------------------------------------------

        http://svn.digium.com/view/asterisk?view=rev&revision=278465

        Show
        Digium Subversion added a comment - Repository: asterisk Revision: 278465 U trunk/res/res_timing_pthread.c ------------------------------------------------------------------------ r278465 | russell | 2010-07-21 11:14:59 -0500 (Wed, 21 Jul 2010) | 41 lines Use poll() instead of select() in res_timing_pthread to avoid stack corruption. This code did not properly check FD_SETSIZE to ensure that it did not try to select() on fds that were too large. Switching to poll() removes the limitation on the maximum fd value. (closes issue ASTERISK-14848 ) Reported by: keiron (closes issue ASTERISK-15960 ) Reported by: Eddie Edwards (closes issue ASTERISK-15349 ) Reported by: Hubguru (closes issue ASTERISK-14670 ) Reported by: flop (closes issue ASTERISK-12249 ) Reported by: falves11 (closes issue ASTERISK-13973 ) Reported by: vrban (closes issue ASTERISK-15971 ) Reported by: aleksey2000 (closes issue ASTERISK-14385 ) Reported by: kowalma (closes issue ASTERISK-16185 ) Reported by: dcabot (closes issue ASTERISK-16085 ) Reported by: glwgoes (closes issue ASTERISK-15895 ) Reported by: erikje possibly other issues, too ... ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=278465
        Hide
        Digium Subversion added a comment -

        Repository: asterisk
        Revision: 278479

        _U branches/1.6.2/
        U branches/1.6.2/res/res_timing_pthread.c

        ------------------------------------------------------------------------
        r278479 | russell | 2010-07-21 11:20:17 -0500 (Wed, 21 Jul 2010) | 48 lines

        Merged revisions 278465 via svnmerge from
        https://origsvn.digium.com/svn/asterisk/trunk

        ........
        r278465 | russell | 2010-07-21 11:15:00 -0500 (Wed, 21 Jul 2010) | 41 lines

        Use poll() instead of select() in res_timing_pthread to avoid stack corruption.

        This code did not properly check FD_SETSIZE to ensure that it did not try to
        select() on fds that were too large. Switching to poll() removes the limitation
        on the maximum fd value.

        (closes issue ASTERISK-14848)
        Reported by: keiron

        (closes issue ASTERISK-15960)
        Reported by: Eddie Edwards

        (closes issue ASTERISK-15349)
        Reported by: Hubguru

        (closes issue ASTERISK-14670)
        Reported by: flop

        (closes issue ASTERISK-12249)
        Reported by: falves11

        (closes issue ASTERISK-13973)
        Reported by: vrban

        (closes issue ASTERISK-15971)
        Reported by: aleksey2000

        (closes issue ASTERISK-14385)
        Reported by: kowalma

        (closes issue ASTERISK-16185)
        Reported by: dcabot

        (closes issue ASTERISK-16085)
        Reported by: glwgoes

        (closes issue ASTERISK-15895)
        Reported by: erikje

        possibly other issues, too ...
        ........

        ------------------------------------------------------------------------

        http://svn.digium.com/view/asterisk?view=rev&revision=278479

        Show
        Digium Subversion added a comment - Repository: asterisk Revision: 278479 _U branches/1.6.2/ U branches/1.6.2/res/res_timing_pthread.c ------------------------------------------------------------------------ r278479 | russell | 2010-07-21 11:20:17 -0500 (Wed, 21 Jul 2010) | 48 lines Merged revisions 278465 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r278465 | russell | 2010-07-21 11:15:00 -0500 (Wed, 21 Jul 2010) | 41 lines Use poll() instead of select() in res_timing_pthread to avoid stack corruption. This code did not properly check FD_SETSIZE to ensure that it did not try to select() on fds that were too large. Switching to poll() removes the limitation on the maximum fd value. (closes issue ASTERISK-14848 ) Reported by: keiron (closes issue ASTERISK-15960 ) Reported by: Eddie Edwards (closes issue ASTERISK-15349 ) Reported by: Hubguru (closes issue ASTERISK-14670 ) Reported by: flop (closes issue ASTERISK-12249 ) Reported by: falves11 (closes issue ASTERISK-13973 ) Reported by: vrban (closes issue ASTERISK-15971 ) Reported by: aleksey2000 (closes issue ASTERISK-14385 ) Reported by: kowalma (closes issue ASTERISK-16185 ) Reported by: dcabot (closes issue ASTERISK-16085 ) Reported by: glwgoes (closes issue ASTERISK-15895 ) Reported by: erikje possibly other issues, too ... ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=278479

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development