Comments (7)
I have same problem (ububtu 22.04), i cannot debuging what causing the problem. For me, it can stop when the stream is not .mp3 and the broadcast close sometimes. I tried many versions but i don't know why crashing.
from icecast-kh.
We also have backup mount points, aac+ format. But both the backup points and the original ones are absolutely identical in format and other parameters. We still cannot understand that this is the reason. Karl needs help! ))
from icecast-kh.
sorry for not getting back sooner, had non-icecast issues to deal with. Obviously need to know where the hang is in such cases, do make clean debug and run to get a hang case. Then use gcore to grab a core file which can be inspected
karl.
from icecast-kh.
The point is that it is impossible to understand when an icecast crash will occur. This can happen every day or every 3-5 days. If you enable debug logs, will the data be displayed or not? How to gcore?
from icecast-kh.
The only thing we noticed was a problem with determining the aacp format. For example, we receive an aacp stream from another server. If you do not specify the type, aacp is automatically displayed. However, if the current icecast relays the stream, then it itself produces the aac type. As I understand it, aac and aacp are different formats and perhaps this is the problem.
from icecast-kh.
sorry for not getting back sooner, had non-icecast issues to deal with. Obviously need to know where the hang is in such cases, do make clean debug and run to get a hang case. Then use gcore to grab a core file which can be inspected
karl.
?
from icecast-kh.
Hi Karl,
Just got this crash on a test server. mount point has no auth. Mount point in an on-demand relay (with multiple relays).
I'm currently trying with on-demand=0 instead of 1, it seem more stable.
I cant reproduce the crash manualy, i need to put the server in "test-production" to crash it.
Best
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/patrice/icecast-kh/src/icecast -b -c /etc/icecast2-kh/icecast-streamweb.x'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6dee718ef4 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f6deb4aa640 (LWP 4026608))]
(gdb) backtrace full
#0 0x00007f6dee718ef4 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x000055eaffac36e8 in _mutex_lock_c (mutex=0x10, file=0x55eaffacdb10 "source.c", line=2922) at thread.c:845
rc = <optimized out>
#2 0x000055eaffa9c357 in source_setup_listener (source=source@entry=0x7f6dac216140, client=client@entry=0x7f6db0003ef0) at source.c:2922
worker = 0x0
__func__ = "source_setup_listener"
#3 0x000055eaffa9d1ee in source_add_listener (mount=<optimized out>, mount@entry=0x7f6de008c1c0 "/stream/natio_mp3_128k", mountinfo=mountinfo@entry=0x55eb0042d6a0, client=client@entry=0x7f6db0003ef0) at source.c:2873
loop = <optimized out>
rate = 0
do_process = 0
within_limits = <optimized out>
source = 0x7f6dac216140
minfo = <optimized out>
passed_mount = 0x7f6de008c1c0 "/stream/natio_mp3_128k"
len = 0
config = <optimized out>
max_bandwidth = 0
max_listeners = 0
__func__ = "source_add_listener"
#4 0x000055eaffab4350 in add_authenticated_listener (mount=mount@entry=0x7f6de008c1c0 "/stream/natio_mp3_128k", mountinfo=0x55eb0042d6a0, client=client@entry=0x7f6db0003ef0) at auth.c:540
ret = 0
__func__ = "add_authenticated_listener"
#5 0x000055eaffab57a4 in auth_add_listener (mount=mount@entry=0x7f6de008c1c0 "/stream/natio_mp3_128k", client=client@entry=0x7f6db0003ef0) at auth.c:741
ret = 0
need_auth = <optimized out>
mountinfo = <optimized out>
__func__ = "auth_add_listener"
#6 0x000055eaffa8bc49 in _handle_get_request (client=0x7f6db0003ef0) at connection.c:1898
serverhost = <optimized out>
serverport = <optimized out>
ret = 0
alias = 0x0
config = 0x55eaffae5a00 <_current_configuration>
uri = 0x7f6de008c1c0 "/stream/natio_mp3_128k"
client_limit_reached = 0
__func__ = "_handle_get_request"
client_limit = 80000
#7 0x000055eaffaa349a in worker (arg=arg@entry=0x55eb001a4ff0) at client.c:876
nxc = 0x0
ret = <optimized out>
client = 0x7f6db0003ef0
worker = 0x55eb001a4ff0
prev_count = 1
wc = {worker = 0x55eb001a4ff0, prevp = 0x55eb001a5058, sched_ms = 1709726300410, wakeup_ms = 1709726330408, max_run = 999, time_recheck = 49, flags = 0}
__func__ = "worker"
#8 0x000055eaffac3871 in _start_routine (arg=0x55eb001a50e0) at thread.c:768
start = 0x55eb001a50e0
start_routine = 0x55eaffaa3310 <worker>
real_arg = 0x55eb001a4ff0
thread = 0x55eb001a50a0
#9 0x00007f6dee715ac3 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#10 0x00007f6dee7a7850 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
from icecast-kh.
Related Issues (20)
- Server: header does not honour server-id HOT 1
- Infinite redirect with Safari and very long URLs since kh21.7
- now-playing info in icecast > kh17 broken on iOS devices HOT 3
- KH22: Choppy playback on iOS 17 HOT 4
- What is the command I use for an http request to reload the icecast, without having to take it down? HOT 2
- socket leak with local nginx proxy used by listener_add
- kh22 (rev ea3554b) crashes (segfault) when serving XSL files protected using htpasswd authentication. HOT 2
- kh22 (rev ea3554b) unexpected error messages using htpasswd auth on mount points
- KH22 (KH >= 21.7) Reverse Proxying Broken HOT 3
- I can't accept https stream, what am I doing wrong
- Characters in Now playing
- burst of static after preroll (formats match)
- accesslog keeps growing even if loglevel is 1
- Safari 302 redirects in kh21.7 causing CORS errors due to missing access-control-allow-origin header HOT 2
- wrong version returned from icecast --version HOT 1
- Icecast YP Directory
- Metadata with auth url enabled HOT 2
- unknown node "ssl"
- No SSL capability on any configured ports HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icecast-kh.