Hi Kamel Could you try running the model with command-line Moses to see if the same problem happens?
If you still get a seg-fault and no error message, would you be able to run Moses in a debugger to get a stack trace? cheers - Barry On 07/04/14 18:25, kamel nebhi wrote: > Hi, > > I try to install mosesserver on localhost. I have installed xml-rpc > and rebuild moses with no problem. > > Next i use this command to run the server : > *~/mosesdecoder/bin/mosesserver -f working/model/moses.ini > --server-port 8999* > * > * > But it failed with this message : > > Defined parameters (per moses.ini or switch): > config: /home/kamelnebhi/recaser/training/moses.ini > distortion-limit: 6 > feature: UnknownWordPenalty WordPenalty PhrasePenalty > PhraseDictionaryMemory name=TranslationModel0 table-limit=20 > num-features=4 path=/home/kamelnebhi/recaser/training/phrase-table.gz > input-factor=0 output-factor=0 Distortion KENLM lazyken=0 name=LM0 > factor=0 path=/home/kamelnebhi/recaser/training//cased.srilm.gz order=3 > input-factors: 0 > mapping: 0 T 0 > weight: UnknownWordPenalty0= 1 WordPenalty0= -1 PhrasePenalty0= 0.2 > TranslationModel0= 0.2 0.2 0.2 0.2 Distortion0= 0.3 LM0= 0.5 > /home/kamelnebhi/mosesdecoder/bin > line=UnknownWordPenalty > FeatureFunction: UnknownWordPenalty0 start: 0 end: 0 > line=WordPenalty > FeatureFunction: WordPenalty0 start: 1 end: 1 > line=PhrasePenalty > FeatureFunction: PhrasePenalty0 start: 2 end: 2 > line=PhraseDictionaryMemory name=TranslationModel0 table-limit=20 > num-features=4 path=/home/kamelnebhi/recaser/training/phrase-table.gz > input-factor=0 output-factor=0 > FeatureFunction: TranslationModel0 start: 3 end: 6 > line=Distortion > FeatureFunction: Distortion0 start: 7 end: 7 > line=KENLM lazyken=0 name=LM0 factor=0 > path=/home/kamelnebhi/recaser/training//cased.srilm.gz order=3 > FeatureFunction: LM0 start: 8 end: 8 > Loading the LM will be faster if you build a binary file. > Reading /home/kamelnebhi/recaser/training//cased.srilm.gz > ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 > *The ARPA file is missing <unk>. Substituting log10 probability -100. > *************************************************************************************************** > Loading UnknownWordPenalty0 > Loading WordPenalty0 > Loading PhrasePenalty0 > Loading Distortion0 > Loading LM0 > Loading TranslationModel0 > Start loading text SCFG phrase table. Moses format : [3.69361] seconds > Reading /home/kamelnebhi/recaser/training/phrase-table.gz > ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 > **************************************************************************************************** > Erreur de segmentation (core dumped) > root@kamelnebhi-MacBookPro:/home/kamelnebhi# > /home/kamelnebhi/mosesdecoder/bin/mosesserver -f > /home/kamelnebhi/recaser/training/moses.ini --server-port 80 > Defined parameters (per moses.ini or switch): > config: /home/kamelnebhi/recaser/training/moses.ini > distortion-limit: 6 > feature: UnknownWordPenalty WordPenalty PhrasePenalty > PhraseDictionaryMemory name=TranslationModel0 table-limit=20 > num-features=4 path=/home/kamelnebhi/recaser/training/phrase-table.gz > input-factor=0 output-factor=0 Distortion KENLM lazyken=0 name=LM0 > factor=0 path=/home/kamelnebhi/recaser/training//cased.srilm.gz order=3 > input-factors: 0 > mapping: 0 T 0 > weight: UnknownWordPenalty0= 1 WordPenalty0= -1 PhrasePenalty0= 0.2 > TranslationModel0= 0.2 0.2 0.2 0.2 Distortion0= 0.3 LM0= 0.5 > /home/kamelnebhi/mosesdecoder/bin > line=UnknownWordPenalty > FeatureFunction: UnknownWordPenalty0 start: 0 end: 0 > line=WordPenalty > FeatureFunction: WordPenalty0 start: 1 end: 1 > line=PhrasePenalty > FeatureFunction: PhrasePenalty0 start: 2 end: 2 > line=PhraseDictionaryMemory name=TranslationModel0 table-limit=20 > num-features=4 path=/home/kamelnebhi/recaser/training/phrase-table.gz > input-factor=0 output-factor=0 > FeatureFunction: TranslationModel0 start: 3 end: 6 > line=Distortion > FeatureFunction: Distortion0 start: 7 end: 7 > line=KENLM lazyken=0 name=LM0 factor=0 > path=/home/kamelnebhi/recaser/training//cased.srilm.gz order=3 > FeatureFunction: LM0 start: 8 end: 8 > Loading the LM will be faster if you build a binary file. > Reading /home/kamelnebhi/recaser/training//cased.srilm.gz > ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 > *The ARPA file is missing <unk>. Substituting log10 probability -100. > *************************************************************************************************** > Loading UnknownWordPenalty0 > Loading WordPenalty0 > Loading PhrasePenalty0 > Loading Distortion0 > Loading LM0 > Loading TranslationModel0 > Start loading text SCFG phrase table. Moses format : [3.69152] seconds > Reading /home/kamelnebhi/recaser/training/phrase-table.gz > ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 > **************************************************************************************************** > Segmentation fault (core dumped) > > *Thanks for your help* > * > * > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
