Open mylselgan opened 4 years ago
gdb output
(gdb) run
Starting program: /usr/local/bin/icecast -c /home/radio/user/8080/icecast.xml
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
_log_open (id=id@entry=0, now=1591523669) at log.c:87
87 {
(gdb)
Is your SSL certificate path correct?
I can't see anything that stands out from the stack trace.
looks like a stack smash, I suspect in gdb you see something recursive, issue the command bt to see that. also show the output from p *loglist@10
Based on my initial check I suspect it's down to a log failed to open for appending.
karl
I think this is because of the missing logging section. I have pushed a commit which should prevent those cases.
karl.
Hi, I found that my issue is related with libcurl and open SSL version conflict.
libcurl is build against OpenSSL 1.0.2 while the detected and used version of OpenSSL on my system is 1.1.
I fixed it by running
sudo apt-get purge libssl-dev
sudo apt-get install libssl1.0-dev
Thanks for the help. This can be closed
System info Linux ps1ulc 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 icecast -v Icecast 2.4.0-kh14-3-g74429c0 icecast configured --with-curl --with-openssl
when I run icecast -c /home/radio/user/8080/icecast.xml it just exists with "Segmentation fault"
Valgrind output