Thank you.
I did not notice the options for CteateOnDiskPt command.
I have finally succeeded to decode factored hierarchical model without LM
of factor.
However, when I apply additional LM for output factor, decoder died with
segmentation fault.
This is the result of run using gdb debugging.

I hope this will be last question in this thread. :)

--------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5b3b700 (LWP 18577)]
0x000000000043c722 in Moses::Factor::GetId (this=0x0) at ./moses/Factor.h:69
69          return m_id;

(gdb) where
#0  0x000000000043c722 in Moses::Factor::GetId (this=0x0)
    at ./moses/Factor.h:69
#1  0x00000000005861a2 in Moses::LanguageModelSRI::GetLmID (this=0x1aa3580,
    factor=0x0) at moses/LM/SRI.cpp:132
#2  0x000000000058638e in Moses::LanguageModelSRI::GetValue (this=0x1aa3580,
    contextFactor=..., finalState=0x7fffe849d848) at moses/LM/SRI.cpp:160
#3  0x000000000078c36d in
Moses::LanguageModelSingleFactor::GetValueForgotState
    (this=0x1aa3580, contextFactor=..., outState=...)
    at moses/LM/SingleFactor.cpp:72
#4  0x0000000000789d3b in
Moses::LanguageModelImplementation::GetValueGivenState (this=0x1aa3580,
contextFactor=..., state=...)
    at moses/LM/Implementation.cpp:78
#5  0x000000000078afaf in
Moses::LanguageModelImplementation::EvaluateWhenApplied (this=0x1aa3580,
hypo=..., featureID=1, out=0x7fffe832cb38)
    at moses/LM/Implementation.cpp:308
#6  0x0000000000645f77 in Moses::ChartHypothesis::EvaluateWhenApplied (
    this=0x7fffe832caf0) at moses/ChartHypothesis.cpp:229
#7  0x00000000007d0479 in Moses::RuleCubeItem::CreateHypothesis (
    this=0x7fffe80bae90, transOpt=..., manager=...)
    at moses/RuleCubeItem.cpp:82
#8  0x000000000068d69d in Moses::RuleCube::RuleCube (this=0x7fffe85ab1b0,
    transOpt=..., allChartCells=..., manager=...) at moses/RuleCube.cpp:50
#9  0x000000000067f552 in Moses::ChartCell::Decode (this=0x7ffff0000d90,
    transOptList=..., allChartCells=...) at moses/ChartCell.cpp:98
#10 0x00000000006174e9 in Moses::ChartManager::Decode (this=0x7ffff0000990)
    at moses/ChartManager.cpp:96
#11 0x000000000043b596 in Moses::TranslationTask::Run (this=0x24543c0)
    at moses/TranslationTask.cpp:102
#12 0x00000000005a0a01 in Moses::ThreadPool::Execute (this=0x7fffffffde00)
    at moses/ThreadPool.cpp:61
#13 0x00000000005a386a in boost::_mfi::mf0<void,
Moses::ThreadPool>::operator()
    (this=0x65bdf38, p=0x7fffffffde00)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#14 0x00000000005a37da in
boost::_bi::list1<boost::_bi::value<Moses::ThreadPool*>
>::operator()<boost::_mfi::mf0<void, Moses::ThreadPool>, boost::_bi::list0>
(
    this=0x65bdf48, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#15 0x00000000005a3789 in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
Moses::ThreadPool>, boost::_bi::list1<boost::_bi::value<Moses::ThreadPool*>
> >::operator() (this=0x65bdf38) at
/usr/include/boost/bind/bind_template.hpp:20
#16 0x00000000005a374e in
boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void,
Moses::ThreadPool>, boost::_bi::list1<boost::_bi::value<Moses::ThreadPool*>
> > >::run (this=0x65bddb0)
    at /usr/include/boost/thread/detail/thread.hpp:61
#17 0x00000000008b20d4 in thread_proxy ()
---Type <return> to continue, or q <return> to quit---
#18 0x00007ffff6fa6e9a in start_thread (arg=0x7ffff5b3b700)
    at pthread_create.c:308
#19 0x00007ffff6cd431d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to