Segmentation fault issue with new install

Jan-Pieter <[email protected]> Sat, 25 Apr 2015 21:32:10 +0200
Newsgroups gmane.comp.audio.icecast.devel
Message-ID <CAB=23ARwcorL5jy2JV+R7+x5BxZJfpRMTdRpNNuZU9BS58nD=Q@mail.gmail.com>
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.

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. 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

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!


Any idea what's going wrong? Something going wrong with timing on a fast
server?

Thanks for your hints/tips!
Jan-Pieter

_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev