Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresswitch crash in pool_thread #2742

Open
peiffer1 opened this issue Jan 20, 2025 · 0 comments
Open

Fresswitch crash in pool_thread #2742

peiffer1 opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@peiffer1
Copy link

Sometimes Freeswitch crash in pool_thread function

backtrace18012025.log

Unfortunately I cannot provide a scenario to reproduce this crash, it appears randomly.

Package version:
FreeSWITCH Version 1.10.11-release-25-f24064f7c9~64bit (-release-25-f24064f7c9 64bit)

OS:
Debian 5.10.223-1 (2024-08-10) x86_64

Here is the back trace: (all backtrace in backtrace18012025.log)

#0 0x00000000c1b73270 in ?? ()
#1 0x00007fd8c1b7408f in run_cleanups (cref=) at memory/unix/fspr_pools.c:2109
#2 fspr_pool_destroy (pool=0x7fd74006ae18) at memory/unix/fspr_pools.c:754
#3 0x00007fd8c1847fbf in pool_thread (thread=, obj=) at src/switch_core_memory.c:607
#4 0x00007fd8c17a6ea7 in start_thread (arg=) at pthread_create.c:477
#5 0x00007fd8c16c6acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#0 0x00000000c1b73270 in ?? ()
No symbol table info available.
#1 0x00007fd8c1b7408f in run_cleanups (cref=) at memory/unix/fspr_pools.c:2109
c =
#2 fspr_pool_destroy (pool=0x7fd74006ae18) at memory/unix/fspr_pools.c:754
active =
allocator =
#3 0x00007fd8c1847fbf in pool_thread (thread=, obj=) at src/switch_core_memory.c:607
pop = 0x7fd74006ae18
x = 4
done = 0
len =
#4 0x00007fd8c17a6ea7 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140568902641408, -6966303824141132732, 140732513970366, 140732513970367, 140568902638912, 253952, 6981644370397060164, 6981482535398497348}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#5 0x00007fd8c16c6acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Id Target Id Frame

  • 1 Thread 0x7fd8bf822700 (LWP 216979) 0x00000000c1b73270 in ?? ()
    2 Thread 0x7fd888e42700 (LWP 217005) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd888e41bc0, clockid=-1998316720, expected=0, futex_word=0x7fd8becd1b98) at ../sysdeps/nptl/futex-internal.h:323
    3 Thread 0x7fd8bf206700 (LWP 216986) 0x00007fd8c168d241 in __GI___clock_nanosleep (clock_id=clock_id@entry=1, flags=flags@entry=0, req=req@entry=0x7fd8bf205b70, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
    4 Thread 0x7fd8bf4a9700 (LWP 216982) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060ba91f9c) at ../sysdeps/nptl/futex-internal.h:186
    5 Thread 0x7fd888d8b700 (LWP 217019) __libc_read (nbytes=8, buf=0x7fd888d8abe0, fd=47) at ../sysdeps/unix/sysv/linux/read.c:26
    6 Thread 0x7fd8897e5700 (LWP 217000) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd8897e4430, clockid=-1988213824, expected=0, futex_word=0x7fd864053e1c) at ../sysdeps/nptl/futex-internal.h:323
    7 Thread 0x7fd88926f700 (LWP 217008) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    8 Thread 0x7fd8bf62a700 (LWP 217016) 0x00007fd8c168d241 in __GI___clock_nanosleep (clock_id=1, flags=0, req=0x7fd8bf629ba0, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
    9 Thread 0x7fd8bee55700 (LWP 216987) 0x00007fd8c16bcec3 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fd8bee54c40) at ../sysdeps/unix/sysv/linux/select.c:41
    10 Thread 0x7fd8bf66f700 (LWP 216980) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060ba91e98) at ../sysdeps/nptl/futex-internal.h:186
    11 Thread 0x7fd8bf5ed700 (LWP 217017) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c3de708) at ../sysdeps/nptl/futex-internal.h:186
    12 Thread 0x7fd88906e700 (LWP 217003) 0x00007fd8c16c6df6 in epoll_wait (epfd=39, events=0x7fd88906db70, maxevents=4, timeout=1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
    13 Thread 0x7fd889395700 (LWP 217004) futex_wait_cancelable (private=0, expected=0, futex_word=0x7fd85c031118) at ../sysdeps/nptl/futex-internal.h:186
    14 Thread 0x7fd8890ab700 (LWP 217002) 0x00007fd8c16c6df6 in epoll_wait (epfd=35, events=0x7fd8890aa950, maxevents=4, timeout=1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
    15 Thread 0x7fd7f26d4700 (LWP 318180) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd7f26d3bc0, clockid=-227722416, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    16 Thread 0x7fd8888bf700 (LWP 318125) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd8888bebc0, clockid=-2004096176, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    17 Thread 0x7fd888dc8700 (LWP 217018) 0x00007fd8c17b11bf in __libc_accept (fd=53, addr=..., len=0x7fd850302848) at ../sysdeps/unix/sysv/linux/accept.c:26
    18 Thread 0x7fd889987700 (LWP 216995) 0x00007fd8c16bcec3 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fd889986040) at ../sysdeps/unix/sysv/linux/select.c:41
    19 Thread 0x7fd8bf8fd9c0 (LWP 216978) 0x00007fd8c16bcec3 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7ffed780ebb0) at ../sysdeps/unix/sysv/linux/select.c:41
    20 Thread 0x7fd88990d700 (LWP 216997) __libc_read (nbytes=8, buf=0x7fd88990c018, fd=23) at ../sysdeps/unix/sysv/linux/read.c:26
    21 Thread 0x7fd8bf282700 (LWP 216983) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd8bf281bf0, clockid=-1087890560, expected=0, futex_word=0x56060bc58aa8) at ../sysdeps/nptl/futex-internal.h:323
    22 Thread 0x7fd8be9c6700 (LWP 216990) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c3c33fc) at ../sysdeps/nptl/futex-internal.h:186
    23 Thread 0x7fd8beac9700 (LWP 216989) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd8beac8be0, clockid=-1095988384, expected=0, futex_word=0x56060bac1140) at ../sysdeps/nptl/futex-internal.h:323
    24 Thread 0x7fd8bf243700 (LWP 216984) 0x00007fd8c16baa0f in __GI___poll (fds=fds@entry=0x7fd8a400b630, nfds=nfds@entry=3, timeout=timeout@entry=100) at ../sysdeps/unix/sysv/linux/poll.c:29
    25 Thread 0x7fd8892bc700 (LWP 217007) 0x00007fd8c168d241 in __GI___clock_nanosleep (clock_id=clock_id@entry=1, flags=flags@entry=0, req=req@entry=0x7fd8892bbc20, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
    26 Thread 0x7fd8899c4700 (LWP 216994) 0x00007fd8c16bcec3 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fd8899c3040) at ../sysdeps/unix/sysv/linux/select.c:41
    27 Thread 0x7fd888c95700 (LWP 217033) 0x00007fd8c16baa0f in __GI___poll (fds=fds@entry=0x7fd888c93ea0, nfds=1, timeout=timeout@entry=20) at ../sysdeps/unix/sysv/linux/poll.c:29
    28 Thread 0x7fd8bec0c700 (LWP 216988) futex_wait_cancelable (private=0, expected=0, futex_word=0x7fd8bec6eb98) at ../sysdeps/nptl/futex-internal.h:186
    29 Thread 0x7fd888d11700 (LWP 217021) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c5afe00) at ../sysdeps/nptl/futex-internal.h:186
    30 Thread 0x7fd888cd4700 (LWP 217032) 0x00007fd8c16baa0f in __GI___poll (fds=fds@entry=0x7fd888cd2ea0, nfds=1, timeout=timeout@entry=20) at ../sysdeps/unix/sysv/linux/poll.c:29
    31 Thread 0x7fd7f1189700 (LWP 318138) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd7f1188bc0, clockid=-250049712, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    32 Thread 0x7fd8be7b1700 (LWP 216991) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c4810d0) at ../sysdeps/nptl/futex-internal.h:186
    33 Thread 0x7fd7f2846700 (LWP 318175) __libc_read (nbytes=8, buf=0x7fd7f283cd48, fd=30) at ../sysdeps/unix/sysv/linux/read.c:26
    34 Thread 0x7fd88994a700 (LWP 216996) __libc_read (nbytes=8, buf=0x7fd889949018, fd=19) at ../sysdeps/unix/sysv/linux/read.c:26
    35 Thread 0x7fd8898d0700 (LWP 216998) __libc_read (nbytes=8, buf=0x7fd8898cf018, fd=24) at ../sysdeps/unix/sysv/linux/read.c:26
    36 Thread 0x7fd888068700 (LWP 318124) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd888067bc0, clockid=-2012841136, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    37 Thread 0x7fd8be546700 (LWP 216993) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c4f1b88) at ../sysdeps/nptl/futex-internal.h:186
    38 Thread 0x7fd7f3313700 (LWP 318184) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd7f3312bc0, clockid=-214881456, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    39 Thread 0x7fd7f265a700 (LWP 318186) futex_wait_cancelable (private=0, expected=0, futex_word=0x7fd71c06ab48) at ../sysdeps/nptl/futex-internal.h:186
    40 Thread 0x7fd7f214b700 (LWP 318118) futex_abstimed_wait_cancelable (private=0, abstime=0x7fd7f214abc0, clockid=-233526448, expected=0, futex_word=0x7fd8bf884f78) at ../sysdeps/nptl/futex-internal.h:323
    41 Thread 0x7fd889893700 (LWP 216999) __libc_read (nbytes=8, buf=0x7fd889892018, fd=27) at ../sysdeps/unix/sysv/linux/read.c:26
    42 Thread 0x7fd888d4e700 (LWP 217020) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c5f5be8) at ../sysdeps/nptl/futex-internal.h:186
    43 Thread 0x7fd8891f5700 (LWP 217010) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    44 Thread 0x7fd8be774700 (LWP 216992) 0x00007fd8c16bcec3 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fd8be773bc0) at ../sysdeps/unix/sysv/linux/select.c:41
    45 Thread 0x7fd888a6a700 (LWP 318178) 0x00007fd8c168d241 in __GI___clock_nanosleep (clock_id=clock_id@entry=1, flags=flags@entry=0, req=req@entry=0x7fd888a69280, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
    46 Thread 0x7fd7f2752700 (LWP 318179) __libc_read (nbytes=8, buf=0x7fd7f2748ec8, fd=69) at ../sysdeps/unix/sysv/linux/read.c:26
    47 Thread 0x7fd88917b700 (LWP 217012) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    48 Thread 0x7fd8891b8700 (LWP 217011) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    49 Thread 0x7fd88913e700 (LWP 217013) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    50 Thread 0x7fd8bf5ab700 (LWP 217024) 0x00007fd8c16baa0f in __GI___poll (fds=fds@entry=0x7fd8bf5a9ea0, nfds=1, timeout=timeout@entry=20) at ../sysdeps/unix/sysv/linux/poll.c:29
    51 Thread 0x7fd889232700 (LWP 217009) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    52 Thread 0x7fd889101700 (LWP 217014) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
    53 Thread 0x7fd888e05700 (LWP 217015) futex_wait_cancelable (private=0, expected=0, futex_word=0x56060c62a2f0) at ../sysdeps/nptl/futex-internal.h:186
@peiffer1 peiffer1 added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant