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

Crash in mod_conference

    XMLWordPrintable

    Details

    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      9e8ae18f95e7e5a1de1c751eaf562425d93c41df
    • GIT Master Revision hash::
      9e8ae18f95e7e5a1de1c751eaf562425d93c41df

      Description

      conference with moh = http_cache://http://com.twilio.music.soft-rock.s3.amazonaws.com/Fireproof_Babies_-_Melancholy_4_a_Sun-lit_day.mp3 crashes

      last log lines
      2018-10-24 20:29:19.960018 [DEBUG] mod_http_cache.c:659 Locked cache
      2018-10-24 20:29:19.960018 [INFO] mod_http_cache.c:751 Cache MISS: size = 3 (0 MB), hit ratio = 0/4
      2018-10-24 20:29:19.960018 [DEBUG] mod_http_cache.c:816 Adding http://com.twilio.music.soft-rock.s3.amazonaws.com/Fireproof_Babies_-_Melancholy_4_a_Sun-lit_day.mp3(/usr/local/freeswitch/sounds/http_cache/12/eeb936-96a0-46e0-98ac-9db95036bbc1.mp3) to cache index 3
      2018-10-24 20:29:19.960018 [DEBUG] mod_http_cache.c:670 Unlocked cache
      2018-10-24 20:29:19.960018 [DEBUG] mod_http_cache.c:1116 opening /usr/local/freeswitch/sounds/http_cache/12/eeb936-96a0-46e0-98ac-9db95036bbc1.mp3 for URL cache
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 HTTP/1.1 200 OK
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 x-amz-id-2: +19B9KZNF//owmhJO/yFq7Z6+thCCGjq2VxX82Yl37UiMlXfAi2Jeys/LHqxy4Hs2njOsCxAHDk=
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 x-amz-request-id: 7625088E9DE2998F
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Date: Wed, 24 Oct 2018 20:29:23 GMT
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Last-Modified: Mon, 23 Nov 2009 01:30:03 GMT
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 ETag: "2ca2b78a088fcbf7958acfa615217879"
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Accept-Ranges: bytes
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Content-Type: audio/mpeg
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Content-Length: 8069791
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638 Server: AmazonS3
      2018-10-24 20:29:20.480474 [DEBUG] mod_http_cache.c:638
      2018-10-24 20:29:22.580020 [WARNING] mod_http_cache.c:1161 URL http://com.twilio.music.soft-rock.s3.amazonaws.com/Fireproof_Babies_-_Melancholy_4_a_Sun-lit_day.mp3 downloaded in 2622 ms
      2018-10-24 20:29:22.580020 [DEBUG] mod_http_cache.c:659 Locked cache
      2018-10-24 20:29:22.580020 [DEBUG] mod_http_cache.c:670 Unlocked cache
      2018-10-24 20:29:22.580020 [WARNING] switch_core_file.c:404 File has 2 channels, muxing to 1 channel will occur.
      *** Error in `/usr/local/freeswitch/bin/freeswitch': corrupted double-linked list: 0x00007f308c046160 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x7c017)[0x7f3191c2a017]
      /lib64/libc.so.6(+0x7ff45)[0x7f3191c2df45]
      /lib64/libc.so.6(realloc+0xd2)[0x7f3191c2eab2]
      /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_buffer_write+0x198)[0x7f319490bf35]
      /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_file_read+0x41f)[0x7f3194935914]
      /usr/local/freeswitch/mod/mod_conference.so(+0xc585)[0x7f314f17d585]




      (gdb) bt full
      #0 0x00007f3191be39d9 in raise () from /lib64/libc.so.6
      No symbol table info available.
      #1 0x00007f3191be50e8 in abort () from /lib64/libc.so.6
      No symbol table info available.
      #2 0x00007f3191c241e7 in __libc_message () from /lib64/libc.so.6
      No symbol table info available.
      #3 0x00007f3191c2a017 in malloc_printerr () from /lib64/libc.so.6
      No symbol table info available.
      #4 0x00007f3191c2df45 in _int_realloc () from /lib64/libc.so.6
      No symbol table info available.
      #5 0x00007f3191c2eab2 in realloc () from /lib64/libc.so.6
      No symbol table info available.
      #6 0x00007f319490bf35 in switch_buffer_write (buffer=0x7f308c004230, data=0x7f308c046198, datalen=65536) at src/switch_buffer.c:325
              new_size = 131072
              new_block_size = 131072
              tmp = 0x7f30f8187bb0
              freespace = 1920
              actual_freespace = 0
              __PRETTY_FUNCTION__ = "switch_buffer_write"
      #7 0x00007f3194935914 in switch_core_file_read (fh=0x7f308c00f178, data=0x7f308c00c088, len=0x7f30f8193c40) at src/switch_core_file.c:483
              rlen = 32768
              asis = 0
              status = SWITCH_STATUS_SUCCESS
              want = 960
              orig_len = 960
              __PRETTY_FUNCTION__ = "switch_core_file_read"
              __func__ = "switch_core_file_read"
      #8 0x00007f314f17d585 in conference_thread_run (thread=0x7f3050030980, obj=0x7f305002f728) at mod_conference.c:528
              file_sample_len = 960
              file_data_len = 1920
              members_with_video = 0
              nomoh = 0
              has_file_data = 0
              members_with_avatar = 0
              members_seeing_video = 0
              floor_holder = 1
              moh_status = SWITCH_STATUS_SUCCESS
              conference = 0x7f305002f728
              imember = 0x0
              omember = 0x0
              samples = 960
              bytes = 1920
              ready = 0 '\000'
              total = 1 '\001'
              timer = {interval = 20, flags = 0, samples = 960, samplecount = 400320, last_samplecount = 0, timer_interface = 0x10f1308, memory_pool = 0x7f305002f648, private_info = 0x7f308c00e088, diff = 0, start = 1540412954640014,
                tick = 417}
              event = 0x0
      ---Type <return> to continue, or q <return> to quit---
              file_frame = 0x7f308c009078 "\261\r\304\016\302\017\235\020;\021\237\021\341\021\f\022\027\022\006\022\352\021\300\021\300\021|\021&\021\320\020\200\020=\020\025\020\t\020 \020g\020\330\020U\021U\021\305\021)\022o\022y\022\063\022\222\021\177\020\363\016\377\f\272\n6\b\242\005\242\005\061\003\016\001R\377#\376\241\375\302\375f\376p\377\276"
              async_file_frame = 0x7f308c00c088 "\261\r\304\016\302\017\235\020;\021\237\021\341\021\f\022\027\022\006\022\352\021\300\021\300\021|\021&\021\320\020\200\020=\020\025\020\t\020 \020g\020\330\020U\021U\021\305\021)\022o\022y\022\063\022\222\021\177\020\363\016\377\f\272\n6\b\242\005\242\005\061\003\016\001R\377#\376\241\375\302\375f\376p\377\276"
              bptr = 0x7f3050069618
              x = 960
              z = 1749
              divisor = 6
              np = 0x0
              __func__ = "conference_thread_run"
              __PRETTY_FUNCTION__ = "conference_thread_run"
      #9 0x00007f3194c8d00c in dummy_worker (opaque=0x7f3050030980) at threadproc/unix/thread.c:151
              thread = 0x7f3050030980
      #10 0x00007f31925c7df3 in start_thread () from /lib64/libpthread.so.0
      No symbol table info available.
      #11 0x00007f3191ca42cd in clone () from /lib64/libc.so.6
      No symbol table info available.
      (gdb)
      (gdb)
      (gdb)

        Attachments

          Activity

            People

            • Assignee:
              dragos_oancea Dragos Oancea
              Reporter:
              lazedo Luis Azedo
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: