Kenyon, Paul
2004-Aug-06 14:57 UTC
[icecast-dev] IceCast 1.3.11: Segmentation Violation in Linux
Hello all, When I try to run IceCast 1.3.11, it starts up okay, but crashes with Segmentation Violation as soon as a client tries to connect to it. I am suspecting that there is a race condition, because when I try to strace icecast, it works fine. I am a novice level coder, so I dont know how else I can help you. :-) This is a problem I had with 1.3.10, but I downloaded 1.3.11 to see if you all fixed it first. My current work around is to "strace -o /dev/null ./icecast" Linux poseidon 2.2.15 #1 SMP Wed Mar 21 16:48:40 CST 2001 i686 unknown libc version is 5.4.46 Also, in order for icecast to even compile on my system, I had to modify ice_resolv.c. Apparently, youre expecting an extra parameter in gethostbyname_r and gethostbyaddr_r. Diffs follow: 170c170 < if (gethostbyname_r (hostname, res, buffer, buflen, error) >= 0) ---> if (gethostbyname_r (hostname, res, buffer, buflen, &res, error) >= 0)181c181 < if ((out = gethostbyaddr_r (host, hostlen, AF_INET, he, buffer, buflen, error) >= 0)) ---> if ((out = gethostbyaddr_r (host, hostlen, AF_INET, he, buffer,buflen, &he, error) >= 0)) If I recall correctly, the linux man pages for gethostbyname were so useless I had to use Solaris man pages! Luckily, the call specifications seem to be the same, because it built and sorta works. :-) Thanks for the help all, and keep up the good work - I'm loving IceCast already! -P --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jack Moffitt
2004-Aug-06 14:57 UTC
[icecast-dev] IceCast 1.3.11: Segmentation Violation in Linux
> Linux poseidon 2.2.15 #1 SMP Wed Mar 21 16:48:40 CST 2001 i686 unknown > libc version is 5.4.46Not to be a bummer and blow you off, but we won't be supporting libc5. It's too old and too busted to make it worth it. If the problem turns out to be easy to fix, we'll fix it. If it looks like a libc5 bug, you're out of luck. libc5 has _many_ thread problems. So do some old libc6's. Why oh Why are you using libc5 anyway? Do you have some box that's not been rebooted in 4 years? :) jack. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.