Re: Segmentation fault issue with new install
Philipp Schafft <[email protected]> Sun, 26 Apr 2015 16:18:42 +0000
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Organization | PH2 |
| Message-ID | <[email protected]> |
reflum, On Sun, 2015-04-26 at 05:23 +0000, "Thomas B. Rücker" wrote: > On 04/25/2015 07:32 PM, Jan-Pieter wrote: > > Hi all, > > > > I am a long-time user of Icecast, always without problems. However i > > made a new setup using icecast 2.4.1 on a fresh and quick CentOS VPS. > > EPEL package or from somewhere else? > > > > The issue is that starting icecast gives a segmentation fault at > > around 80% of all starts. No core file nor a entry in error.log is posted. > > Enable core dumps using "ulimit -c unlimited". The PWD from where you > start Icecast needs to be writeable. > > > > In the remaining 20% of the starts icecast start with no problem. > > > > Contents of the error.log with a succesfull start (20% of icecast starts): > > [2015-04-25 21:08:40] INFO main/main Icecast 2.4.1 server started > > [2015-04-25 21:08:40] INFO connection/get_ssl_certificate No SSL > > capability > > [2015-04-25 21:08:40] INFO stats/_stats_thread stats thread started > > [2015-04-25 21:08:40] INFO yp/yp_update_thread YP update thread started > > [2015-04-25 21:08:40] INFO source/source_fallback_file mountpoint > > /geen-uitzending.mp3 is reserved > > [2015-04-25 21:08:40] WARN format/format_get_type Unsupported or > > legacy stream type: "audio/mpeg". Falling back to generic minimal > > handler for best effort. > > [2015-04-25 21:08:40] WARN source/source_fallback_file mountpoint > > "/geen-uitzending.mp3" already reserved > > [2015-04-25 21:08:40] INFO source/source_main listener count on > > /geen-uitzending.mp3 now 0 > > > > > > Contents of error.log with a segmentation fault direct after start > > (80% of icecast starts): > > 2015-04-25 21:09:05] INFO main/main Icecast 2.4.1 server started > > [2015-04-25 21:09:05] INFO connection/get_ssl_certificate No SSL > > capability > > [2015-04-25 21:09:05] INFO yp/yp_update_thread YP update thread started > > [2015-04-25 21:09:05] INFO source/source_fallback_file mountpoint > > /geen-uitzending.mp3 is reserved > > [2015-04-25 21:09:05] WARN format/format_get_type Unsupported or > > legacy stream type: "audio/mpeg". Falling back to generic minimal > > handler for best effort. > > [2015-04-25 21:09:05] INFO stats/_stats_thread stats thread started > > Can you attach your icecast.xml please (with passwords removed)? > This might help reproduce the problem. > > > > Both the stream and the fallback file are .mp3 type. I tried removing > > the fallback entry. Then icecast starts always normally. So it seems > > related to the .mp3 fallback. > > > > Also I tried to launch icecast with strace, and this NEVER fails. No > > segmentation faults! Can you run it with valgrind? (valgrind -v icecast -c ...) Would be nice. It may spot the problem. > > > > Any idea what's going wrong? Something going wrong with timing on a > > fast server? > > It sounds like you've found a race condition. I'm not exactly sure > what's happening though. > By the log output something seems to be instantly accessing the stream. > Notice the order of the stats_thread is different in both. -- Philipp. (Rah of PH2) _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Comment: Because it's your freedom iQEcBAABAgAGBQJVPQ/hAAoJEAAfMmx/9hlkzPoH/iPeE8Wzgpew/sxBN2PAAxlR u25nF1GN+13fm6SzPnyyXm6ac5kUqF0unOTKzbXpJMYbyhB1eoeKLSCft4sLV/xb ahsZfzXuGm0XC83NdhRH+w/ioTVnZ0bAISNyKZyvrtgstfNNg9WMFzZSpV5DZ+2n XEGrr/y5prgwa7UNKjJsmX2MbX39wb/3x/WYmrh4gqzcjfh3M1ZF3EP1Q4JIlI+7 LupBQYBjxtkM07iiP6bGJqsh4o06MYA+OyzIHs2qQvEHtfm+7zBIuMHaqHpJDCGj 8OmLtRtl03QVTsvLPTthfnzUaqlqMTpYRf5MI5QFDwNbhiNMa4eQg5w8xx1QMb0= =FuTb -----END PGP SIGNATURE-----