Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Help with sc_trans [segmentation fault] (http://forums.winamp.com/showthread.php?t=329758)

levelKro 17th April 2011 22:57

Help with sc_trans [segmentation fault]
 
HI,
I have tested 2 version of SC_trans; 2.0 Beta 40 and Posix 40.
With all this sc_trans, I've see only 'Segmentation fault' when try to run it on command line.

Command lines tested;
code:
./sc_trans
./sc_trans ./sc_trans.conf



In all cases, it's return that;

code:
levelkro@levelkro.com [~/shoutcast/sc_trans]# ./sc_trans ./sc_trans.conf
Segmentation fault
levelkro@levelkro.com [~/shoutcast/sc_trans]#



No log file was created, all files and directorys are CHMOD 777.

My SC_Serv (1.9.8) run at same server and run nice, I have 3 server up, 2 for audio and one for video.

Server details; Linux CentOS CPU x8 Intel 16GB Ram newly installed. I have owner account but I'm not the owner of the box.

I have the license key for the SC_Trans 2

I'm not special librairie installed, or other third addons.


the sc_trans.conf (posix 40)
code:

PlaylistFile=/home/levelkro/shoutcast/sc_trans/example.lst
ServerIP=127.0.0.1
ServerPort=8000
Password=*****

LogFile=/home/levelkro/shoutcast/sc_trans/sc_trans.log

Shuffle=1
Bitrate=128000
SampleRate=44100
Channels=2
Quality=5

CrossfadeMode=1
CrossfadeLength=8000

UseID3=0
Public=1
StreamTitle=levelkro.net Playlist
StreamURL=http://levelKro.net
AIM=
ICQ=
IRC=levelkro.net
Genre=Various



the sc_trans.conf (2 beta 40)
code:

unlockkeyname=***my real name***
unlockkeycode=*****-*****-*****-*****

logfile=./logs/sc_trans.log
screenlog=1
calendarrewrite=0

playlistfile=./playlists/main.lst

outprotocol_0=3
serverip_0=127.0.0.1
serverport_0=8010
uvoxauth_0=4*****
uvoxstreamid_0=1
endpointname_0=/lvk
encoder_0=mp3
bitrate_0=96000
samplerate_0=22050

outprotocol_1=3
serverip_1=127.0.0.1
serverport_1=8000
uvoxauth_1=*****
uvoxstreamid_1=1
endpointname_1=/lvk
encoder_1=mp3
bitrate_1=128000
samplerate_1=44100

streamtitle=levelKro.net Playlist
streamurl=http://radio.levelkro.net
genre=Various
aim=
irc=
icq=
public=1


adminport=7000
adminuser=admin
adminpassword=********

vuimagedirectory=vuimages/

;serverintrofile=<specify_intro_filepath>
;serverbackupfile=<specify_backup_filepath>



DrO 17th April 2011 23:02

it's too late now for me to do anything but i'll pm a link to a test build of sc_trans to try out in the morning (~9-10hrs from now).

-daz

DrO 18th April 2011 10:36

pm sent

-daz

levelKro 18th April 2011 14:42

I have tested new versions or re-edited config files.

I have trie dthe sc_trans v2, I get same error (with 1.9.8 I'm not getting error).
But I,m use the 'Shoutcast 2 Configuration Builder' for update my config files.

sc_serv.conf
HTML Code:

;DNAS configuration file built with the SHOUTcast 2 Configuration Builder

configrewrite=0
uvoxcipherkey=*****
maxspecialfilesize=30000000
songhistory=10
namelookups=0
maxheaderlinesize=2048
maxheaderlinecount=100
buffertype=0
fixedbuffersize=1048576
bufferhardlimit=16777216
password=42758
adminpassword=*****
flashpolicyfile=/home/shoutcast/sc_serv2/crossdomain.xml
portbase=8000
requirestreamconfigs=1
yp2=1
log=0
screenlog=0
logclients=0
logfile=/home/shoutcast/sc_serv2/sc_serv.log
w3cenable=0
w3clog=/home/shoutcast/sc_serv2/sc_w3c.log
publicserver=default
metainterval=8192
ypaddr=yp.shoutcast.com
ypport=80
ypPath=/yp2
ypTimeout=60
ypmaxretries=10
ypreportinterval=300
ypminreportinterval=10
banfile=/home/shoutcast/sc_serv2/sc_serv.ban
ripfile=/home/shoutcast/sc_serv2/sc_serv.rip
riponly=0
savebanlistonexit=1
saveriplistonexit=1
maxuser=100
listenertime=0
autodumpusers=0

streamid_1=1
streampath_1=/high
streammaxuser_1=100
streampassword_1=*****
streamadminpassword_1=*****

streamid_2=2
streampath_2=/low
streammaxuser_2=50
streampassword_2=*****
streamadminpassword_2=*****

sc_trans.conf
HTML Code:

;Transcoder configuration file built with the SHOUTcast 2 Configuration Builder

configrewrite=0
streamtitle=levelKro.net
streamurl=http://radio.levelkro.net/
genre=Misc
usemetadata=1
adminport=7000
adminpassword=*****
adminuser=admin
vuimagesuffix=png
vuimagemimetype=image/png
flashpolicyfile=/home/shoutcast/sc_trans2/crossdomain.xml
flashpolicyserverport=0
password=*****
unlockkeyname=Mathieu Légaré
unlockkeycode=*****-*****-*****-*****
log=0
screenlog=0
logfile=/home/shoutcast/sc_trans2/sc_trans.log
public=0
uvoxradiometadata=0
uvoxnewmetadata=1
playlistfile=/home/shoutcast/sc_trans2/playlist.lst
shuffle=1
xfade=1
xfadethreshold=10
playlists=/home/shoutcast/sc_trans2/playlist/
archive=/home/shoutcast/sc_trans2/archived/
calendarfile=/home/shoutcast/sc_trans2/calendar.xml
calendarrewrite=0
djport=7100
djport2=7200
autodumpsourcetime=30
djcapture=0
djcipher=*****
capture=0
applyreplaygain=0
defaultreplaygain=0.0
djreplaygain=0.0
capturereplaygain=0.0
calculatereplaygain=0
replaygainrunahead=2
replaygaindontwrite=0
enhancereplaygain=6.0
timemultiplier=1

endpointname_0=endpoint0
outprotocol_0=3
serverip_0=localhost
serverport_0=8000
uvoxstreamid_0=1
uvoxuserid_0=admin
uvoxauth_0=*****
uvoxradiometadata_0=0
uvoxnewmetadata_0=1
encoder_0=mp3
mp3quality,_0=0
mp3mode_0=0
bitrate_0=128000
samplerate_0=44100
channels_0=2

endpointname_1=endpoint1
outprotocol_1=3
serverip_1=localhost
serverport_1=8000
uvoxstreamid_1=2
uvoxuserid_1=admin
uvoxauth_1=*****
uvoxradiometadata_1=0
uvoxnewmetadata_1=1
encoder_1=mp3
mp3quality,_1=0
mp3mode_1=0
bitrate_1=56000
samplerate_1=22050
channels_1=2


DrO 18th April 2011 14:57

based on the pm's, neither of the test builds of the v2 tools sent are running which makes me think an older version of CentOS or not all of the required libraries are present - using ldd sc_trans should help to see if that is the case and is the only thing i can even think off which might lead to an instance segfault on loading.

otherwise i'm at a loss as nothing in the config files is jumping out as being wrong.

-daz

JVonD 12th July 2012 16:58

I believe the problem is uncompromising outside the proper OS.
Make sure you TAR (uncompress/unpack) within Linux.
I got the same issue when I was un-zipping with WinRAR in Windows and then uploading it to my Linux server via FTP.
Hope it helps! ~J


All times are GMT. The time now is 14:44.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.