Closed tjharman closed 1 year ago
just for reference, which auth are you using and any particular settings of interest?
karl
<mount>
<mount-name>/np</mount-name>
<authentication type="htpasswd">
<option name="filename" value="/usr/local/icecast/etc/np_auth"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<hidden>0</hidden>
</mount>
I will rebuild with some sane compiler flags including debugging and try to get a proper crash for you - my apologies I should have thought to do this before I even logged a ticket.
Here's icecast built with -g only, not stripped etc, run under GDB with "back" executed after I tried to login. I don't know if this helps or not, but I hope it does!
(gdb) back
#0 0x0000174b5c426b8c in client_send_m3u (client=0x6bacac002450, path=0x6bacb0025270 "/np") at client.c:742
#1 0x0000174b5c42fb79 in command_buildm3u (client=0x6bacac002450, mount=0x6bacb0025270 "/np") at admin.c:799
#2 0x0000174b5c42e932 in admin_handle_request (client=0x6bacac002450, uri=0x6bacb002b5b7 "buildm3u") at admin.c:420
#3 0x0000174b5c40d592 in _handle_get_request (client=0x6bacac002450) at connection.c:1848
#4 0x0000174b5c40c60a in http_client_request (client=0x6bacac002450) at connection.c:1456
#5 0x0000174b5c427933 in worker (arg=0x174b5f684640) at client.c:1102
#6 0x0000174b5c44cfb7 in _start_routine (arg=0x174b5f684700) at thread.c:745
#7 0x00006bacc2df4ea7 in ?? ()
#8 0x0000000000000000 in ?? ()
that particular point should be fixed now in the master tree now
I agree, this is fixed, thanks very much @karlheyes!
If I try to log into a password protected stream via the web GUI, I get a segfault and icecast-kh crashes.
Current commit is 9a172bd8d361319c0e9638bafa3aaab4587655b5
If I enter the (correct) credentials here, it causes the crash.
Potentially it's the C/LD Flags I'm building with, which are as follows:
Happy to provide any other details that may help.
Really appreciate all the work you do on icecast-kh!