Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10573

Native recording causes segfault

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: freeswitch-core
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux fs01 3.13.0-101-generic #148-Ubuntu SMP Thu Oct 20 22:08:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Ubuntu
    • Distribution Version:
      Ubuntu 14.04 LTS
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 14.04.5 LTS
      Release: 14.04
      Codename: trusty
      Show
      No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty
    • Compiler:
      gcc
    • Compiler Version:
      4.8.4
    • FreeSWITCH GIT Revision:
      077fde224b5
    • GIT Master Revision hash::
      077fde224b5
    • FSS Support Agreement Customer Number and Company name:
      Aeriandi Ltd

      Description

      Using master build (077fde224b5)
      We have a Lua script that starts native-recording when a call is answered:

      sessionToUse:execute("record_session",recordingName);

      This now causes a segfault. The back trace looks like it's trying to check if the call has video or hot. If we do not record the call then FS doesn't crash.

        Attachments

        1. backtrace.txt
          4 kB
        2. bt-full_2.log
          17 kB
        3. bt-full.log
          7 kB
        4. ShowFiles.new.txt
          1 kB
        5. ShowFiles.old.txt
          2 kB
        6. thread-apply-all-bt.log
          28 kB

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              mrtimuk Tim Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: