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

segfault while reading local ringback file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, freeswitch-core
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux commsmundi 4.4.16 #1 SMP PREEMPT Mon Aug 1 14:45:02 CEST 2016 x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      Version 1.7.0 git 7aa97b7 2016-09-15 22:28:04Z 64bit
    • GIT Master Revision hash::
      7aa97b7

      Description

      It looks a bit confusing: "switch_core_file_read" calls "file_string_file_read" which calls "switch_core_file_read" using another file handler included in the original file handler.

      In the first "switch_core_file_read", the file_interface pointer is ok:
      fh->file_interface=0x1ad8918

      But then the next "switch_core_file_read" (after going through "file_string_file_read") tries to read another file_interface pointer which is NULL:
      fh->private_info->fh->file_interface=0x0

      Not sure what happens for now...

        Attachments

        1. bt_full.txt
          17 kB
        2. bt.txt
          4 kB
        3. thread_apply_all_bt_full.txt
          1.49 MB
        4. thread_apply_all_bt.txt
          399 kB

          Activity

            People

            • Assignee:
              anthm Anthony Minessale II
              Reporter:
              francois François
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: