Given your recent thread, you probably have an inconsistent compile. For example, your headers came from one version of Boost but you linked against a different version. It's also possible that you linked against inconsistent versions.
(I'm assuming that you did a recent git pull as you indicated earlier.) Kenneth On 07/17/12 16:44, Ben Ma wrote: > Hello, Guys, > > I tried to compile mose with boost1461. > Then I tried to run moses with samples by the following command: > > ../bin/moses -f phrase-model/moses.ini < phrase-model/in > out > > However, I got error message as follows: > Could you please give a hand for this? > > moses@D-SJC-00541453 sample-models]$ ../bin/moses -f > phrase-model/moses.ini < phrase-model/in > out > Defined parameters (per moses.ini or switch): > config: phrase-model/moses.ini > input-factors: 0 > lmodel-file: 8 0 3 lm/europarl.srilm.gz > mapping: T 0 > n-best-list: nbest.txt 100 > ttable-file: 0 0 0 1 phrase-model/phrase-table > ttable-limit: 10 > weight-d: 1 > weight-l: 1 > weight-t: 1 > weight-w: 0 > Loading lexical distortion models...have 0 models > Start loading LanguageModel lm/europarl.srilm.gz : [0.000] seconds > Loading the LM will be faster if you build a binary file. > Reading lm/europarl.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.000. > Finished loading LanguageModels : [1.000] seconds > Start loading PhraseTable phrase-model/phrase-table : [1.000] seconds > filePath: phrase-model/phrase-table > Finished loading phrase tables : [1.000] seconds > Start loading phrase table from phrase-model/phrase-table : [1.000] seconds > Reading phrase-model/phrase-table > ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 > **************************************************************************************************** > Finished loading phrase tables : [1.000] seconds > IO from STDOUT/STDIN > Created input-output object : [1.000] seconds > *** Segmentation fault > Register dump: > > RAX: 00000000ffffffff RBX: 0000000000000031 RCX: 0000000000ce1430 > RDX: 0000000000000031 RSI: 0000000000000018 RDI: 00007fff20aa9b18 > RBP: 00000000ffffffff R8 : 0000000000000000 R9 : 0000000000000002 > R10: 00007fff20aa9890 R11: 0000000000409570 R12: 0000000000ce2640 > R13: 0000000000ce2640 R14: 0000000000ce94c0 R15: 00000000004b99f0 > RSP: 00007fff20aa9af0 > > RIP: 000000000040958d EFLAGS: 00010202 > > CS: 0033 FS: 0000 GS: 0000 > > Trap: 0000000e Error: 00000006 OldMask: 00000000 CR2: 00000039 > > FPUCW: 0000037f FPUSW: 00000000 TAG: 00000031 > RIP: 84297fff RDP: 20aa9d20 > > ST(0) 0000 0000000000000034 ST(1) 0000 000000000000000c > ST(2) 0000 0000000000000000 ST(3) 0000 0010000000000000 > ST(4) 0000 0000000000000000 ST(5) 0000 0000000000000000 > ST(6) ffff a00b9abe00000000 ST(7) 0000 0000000000000001 > mxcsr: 1fa4 > XMM0: 00000000000000000000000000000000 XMM1: > 00000000000000000000000000000000 > XMM2: 00000000000000000000000000000000 XMM3: > 00000000000000000000000000000000 > XMM4: 00000000000000000000000000000000 XMM5: > 00000000000000000000000000000000 > XMM6: 00000000000000000000000000000000 XMM7: > 00000000000000000000000000000000 > XMM8: 00000000000000000000000000000000 XMM9: > 00000000000000000000000000000000 > XMM10: 00000000000000000000000000000000 XMM11: > 00000000000000000000000000000000 > XMM12: 00000000000000000000000000000000 XMM13: > 00000000000000000000000000000000 > XMM14: 00000000000000000000000000000000 XMM15: > 00000000000000000000000000000000 > > Backtrace: > ../bin/moses(_ZN5boost6detail12shared_countD1Ev+0x1d)[0x40958d] > /usr/lib64/libboost_thread-mt.so.5(_ZN5boost6thread12start_threadEv+0x51)[0x7f914a60d7c1] > ../bin/moses[0x4bb268] > ../bin/moses[0x4ba3f0] > ../bin/moses[0x408a4e] > /lib64/libc.so.6(__libc_start_main+0xfd)[0x318421ecdd] > ../bin/moses[0x4078c9] > > Memory map: > > 00400000-005c0000 r-xp 00000000 08:21 398925 > /home/moses/m2/mosesdecoder/bin/moses > 007bf000-007c1000 rw-p 001bf000 08:21 398925 > /home/moses/m2/mosesdecoder/bin/moses > 007c1000-007c2000 rw-p 00000000 00:00 0 > 00cd5000-00fd0000 rw-p 00000000 00:00 0 > [heap] > 3183a00000-3183a20000 r-xp 00000000 08:21 13238698 > /lib64/ld-2.12.so <http://ld-2.12.so> > 3183c1f000-3183c20000 r--p 0001f000 08:21 13238698 > /lib64/ld-2.12.so <http://ld-2.12.so> > 3183c20000-3183c21000 rw-p 00020000 08:21 13238698 > /lib64/ld-2.12.so <http://ld-2.12.so> > 3183c21000-3183c22000 rw-p 00000000 00:00 0 > 3184200000-3184397000 r-xp 00000000 08:21 13238699 > /lib64/libc-2.12.so <http://libc-2.12.so> > 3184397000-3184597000 ---p 00197000 08:21 13238699 > /lib64/libc-2.12.so <http://libc-2.12.so> > 3184597000-318459b000 r--p 00197000 08:21 13238699 > /lib64/libc-2.12.so <http://libc-2.12.so> > 318459b000-318459c000 rw-p 0019b000 08:21 13238699 > /lib64/libc-2.12.so <http://libc-2.12.so> > 318459c000-31845a1000 rw-p 00000000 00:00 0 > 3184600000-3184683000 r-xp 00000000 08:21 13238703 > /lib64/libm-2.12.so <http://libm-2.12.so> > 3184683000-3184882000 ---p 00083000 08:21 13238703 > /lib64/libm-2.12.so <http://libm-2.12.so> > 3184882000-3184883000 r--p 00082000 08:21 13238703 > /lib64/libm-2.12.so <http://libm-2.12.so> > 3184883000-3184884000 rw-p 00083000 08:21 13238703 > /lib64/libm-2.12.so <http://libm-2.12.so> > 3184e00000-3184e17000 r-xp 00000000 08:21 13238701 > /lib64/libpthread-2.12.so <http://libpthread-2.12.so> > 3184e17000-3185016000 ---p 00017000 08:21 13238701 > /lib64/libpthread-2.12.so <http://libpthread-2.12.so> > 3185016000-3185017000 r--p 00016000 08:21 13238701 > /lib64/libpthread-2.12.so <http://libpthread-2.12.so> > 3185017000-3185018000 rw-p 00017000 08:21 13238701 > /lib64/libpthread-2.12.so <http://libpthread-2.12.so> > 3185018000-318501c000 rw-p 00000000 00:00 0 > 3185200000-3185215000 r-xp 00000000 08:21 13238700 > /lib64/libz.so.1.2.3 > 3185215000-3185414000 ---p 00015000 08:21 13238700 > /lib64/libz.so.1.2.3 > 3185414000-3185415000 r--p 00014000 08:21 13238700 > /lib64/libz.so.1.2.3 > 3185415000-3185416000 rw-p 00015000 08:21 13238700 > /lib64/libz.so.1.2.3 > 3185600000-3185607000 r-xp 00000000 08:21 13238715 > /lib64/librt-2.12.so <http://librt-2.12.so> > 3185607000-3185806000 ---p 00007000 08:21 13238715 > /lib64/librt-2.12.so <http://librt-2.12.so> > 3185806000-3185807000 r--p 00006000 08:21 13238715 > /lib64/librt-2.12.so <http://librt-2.12.so> > 3185807000-3185808000 rw-p 00007000 08:21 13238715 > /lib64/librt-2.12.so <http://librt-2.12.so> > 318e200000-318e216000 r-xp 00000000 08:21 13238736 > /lib64/libgcc_s-4.4.6-20110824.so.1 > 318e216000-318e415000 ---p 00016000 08:21 13238736 > /lib64/libgcc_s-4.4.6-20110824.so.1 > 318e415000-318e416000 rw-p 00015000 08:21 13238736 > /lib64/libgcc_s-4.4.6-20110824.so.1 > 3190e00000-3190ee8000 r-xp 00000000 08:21 7344175 > /usr/lib64/libstdc++.so.6.0.13 > 3190ee8000-31910e8000 ---p 000e8000 08:21 7344175 > /usr/lib64/libstdc++.so.6.0.13 > 31910e8000-31910ef000 r--p 000e8000 08:21 7344175 > /usr/lib64/libstdc++.so.6.0.13 > 31910ef000-31910f1000 rw-p 000ef000 08:21 7344175 > /usr/lib64/libstdc++.so.6.0.13 > 31910f1000-3191106000 rw-p 00000000 00:00 0 > 3197e00000-3197e03000 r-xp 00000000 08:21 7360612 > /usr/lib64/libboost_system-mt.so.5 > 3197e03000-3198002000 ---p 00003000 08:21 7360612 > /usr/lib64/libboost_system-mt.so.5 > 3198002000-3198003000 rw-p 00002000 08:21 7360612 > /usr/lib64/libboost_system-mt.so.5 > 7f914492e000-7f91449d0000 rw-p 00000000 00:00 0 > 7f9144a22000-7f91463f4000 rw-p 00000000 00:00 0 > 7f914a3f7000-7f914a3fe000 rw-p 00000000 00:00 0 > 7f914a3fe000-7f914a402000 r-xp 00000000 08:21 13238283 > /lib64/libSegFault.so > 7f914a402000-7f914a601000 ---p 00004000 08:21 13238283 > /lib64/libSegFault.so > 7f914a601000-7f914a602000 r--p 00003000 08:21 13238283 > /lib64/libSegFault.so > 7f914a602000-7f914a603000 rw-p 00004000 08:21 13238283 > /lib64/libSegFault.so > 7f914a603000-7f914a616000 r-xp 00000000 08:21 7344945 > /usr/lib64/libboost_thread-mt.so.5 > 7f914a616000-7f914a815000 ---p 00013000 08:21 7344945 > /usr/lib64/libboost_thread-mt.so.5 > 7f914a815000-7f914a817000 rw-p 00012000 08:21 7344945 > /usr/lib64/libboost_thread-mt.so.5 > 7f914a817000-7f914a818000 rw-p 00000000 00:00 0 > 7f914a82e000-7f914a82f000 rw-p 00000000 00:00 0 > 7fff20a97000-7fff20aac000 rw-p 00000000 00:00 0 > [stack] > 7fff20bf4000-7fff20bf5000 r-xp 00000000 00:00 0 > [vdso] > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 > [vsyscall] > Segmentation fault (core dumped) > > > > Thanks a lot. > Best regards, > Ben > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
