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

Deadlock on deprecated call "avmd uuid stop"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: fs-next-release, 20.19.3
    • Component/s: mod_avmd
    • Labels:
      None
    • Environment:
      all
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux qq 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH version: 1.8.0+git~20180508T030044Z~11ea7d3b2b~64bit (git 11ea7d3 2018-05-08 03:00:44Z 64bit)
    • GIT Master Revision hash::
      11ea7d3b2b
    • Target Version:

      Description

      Thread 47 (Thread 0x7fff780a8700 (LWP 17922)):
      #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
      #1 0x00007ffff6766479 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #2 0x00007ffff67662a0 in __GI___pthread_mutex_lock (mutex=0xb47830) at ../nptl/pthread_mutex_lock.c:79
      #3 0x00007ffff7218823 in switch_mutex_lock (lock=0xb47828) at src/switch_apr.c:301
      #4 0x00007fff62bea9cb in avmd_callback (bug=0x7fff300d35c8, user_data=0x7fff2402ab10, type=SWITCH_ABC_TYPE_CLOSE) at mod_avmd.c:647
      #5 0x00007ffff72391d0 in switch_core_media_bug_close (bug=0x7fff780a77d0, destroy=SWITCH_TRUE) at src/switch_core_media_bug.c:1298
      #6 0x00007ffff7239531 in switch_core_media_bug_remove (session=0x7fff800379f8, bug=0x7fff780a7850) at src/switch_core_media_bug.c:1375
      #7 0x00007fff62beebec in avmd_api_main (cmd=0x7fff38033800 "1a8df8a8-4562-963f-b091-ca97a194f8cb stop", session=0x0, stream=0x7fff780a7d90) at mod_avmd.c:1797
      #8 0x00007ffff72c165e in switch_api_execute (cmd=0x7fff382a12d0 "avmd", arg=0x7fff382a12d5 "1a8df8a8-4562-963f-b091-ca97a194f8cb stop", session=0x0, stream=0x7fff780a7d90) at src/switch_loadable_module.c:2567
      #9 0x00007ffff722fc97 in switch_console_execute (xcmd=0x7fff38075d60 "avmd 1a8df8a8-4562-963f-b091-ca97a194f8cb stop", rec=0, istream=0x7fff780a7d90) at src/switch_console.c:395
      #10 0x00007ffff722f989 in switch_console_process (xcmd=0x7fff38075d60 "avmd 1a8df8a8-4562-963f-b091-ca97a194f8cb stop") at src/switch_console.c:323
      #11 0x00007ffff7231b49 in console_thread (thread=0xb6e0a8, obj=0xb6de58) at src/switch_console.c:1079
      #12 0x00007ffff758b1a0 in dummy_worker (opaque=0xb6e0a8) at threadproc/unix/thread.c:151
      #13 0x00007ffff6764064 in start_thread (arg=0x7fff780a8700) at pthread_create.c:309
      #14 0x00007ffff5e3b62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

        Attachments

          Activity

            People

            • Assignee:
              piotrgregor Piotr Gregor
              Reporter:
              piotrgregor Piotr Gregor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: