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

mod_opus: segfault Program terminated with signal SIGFPE, Arithmetic exception.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mod_opus
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      c9452d15d0554bcf557f216dad14a5fe351a43c4
    • GIT Master Revision hash::
      c9452d15d0554bcf557f216dad14a5fe351a43c4

      Description

      Hi,

      when connecting two endpoints there is no audio, one of the endpoints have the codec opus configured and the other pcmu, then i notice that there is been a segfault:

      freeswitch[6088] trap divide error ip:7f47614f2b43 sp:7f475a650cb0 error:0 in mod_opus.so[7f47614f1000+8000]

      (some division by zero?!)

      in opus conf i only gave the parameters:

       <param name="use_vbr" value="1"/>
       <param name="complexity" value="10"/>

      Attach the corresponding bt.


      Thanks.
      1. freeswitch.02-11-2016.log
        22 kB
        Antonio
      2. freeswitch.02-11-2016.xml
        7 kB
        Antonio
      3. gdb_mod_opus_master.txt
        196 kB
        Antonio
      4. gdb_mod_opus.txt
        178 kB
        Antonio
      5. gdb.02-11-2016.txt
        13 kB
        Antonio

        Activity

        Hide
        brian Brian West added a comment -
        That doesn't seem right... let me look again.

        /b
        Show
        brian Brian West added a comment - That doesn't seem right... let me look again. /b
        Hide
        brian Brian West added a comment -
        I suspect the real problem is on line 748.

        /b
        Show
        brian Brian West added a comment - I suspect the real problem is on line 748. /b
        Hide
        brian Brian West added a comment - - edited
        Tested fixed, Next time lead with the steps to replicate, I could replicate it but based on your updated 37 minutes ago, showing me the exact steps I was able to replicate it and formulate a fix.

        /b
        Show
        brian Brian West added a comment - - edited Tested fixed, Next time lead with the steps to replicate, I could replicate it but based on your updated 37 minutes ago, showing me the exact steps I was able to replicate it and formulate a fix. /b
        Hide
        antonio Antonio added a comment -
        Ok. Thank you.
        Show
        antonio Antonio added a comment - Ok. Thank you.
        Hide
        gregoriusus Gregor Nanger added a comment -
        I can confirm this error also on Windows build. Will create new build and test if it is fixed.
        Show
        gregoriusus Gregor Nanger added a comment - I can confirm this error also on Windows build. Will create new build and test if it is fixed.

          People

          • Assignee:
            brian Brian West
            Reporter:
            antonio Antonio
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development