Thank you very much Hieu, it works perfectly now :)

On Thu, May 17, 2012 at 11:54 AM, Hieu Hoang <[email protected]> wrote:
> hi raphael
>
> well spotted. It happens when there's 2 phrase tables & XML options. I've
> fixed it
>
> https://github.com/moses-smt/mosesdecoder/commit/f0b549f1a6f5b8b01a8b414caeef94781ea0d400
>
>
> On 16/05/2012 19:29, Rafael Carrascosa wrote:
>
> Hi again, I had another segmentation fault while running moses.
> I also created a minimal (less than 2 kbytes) example that replicates
> the problem and attached it to this email.
> Using the files in the tar.gz, if you do:
> `moses -f moses.ini -xml-input exclusive < input`
> you get a segment fault.
>
> If you use "ignore" instead of "exclusive" it ends ok.
> If you comment out (in moses.ini) one of the phrase tables (and its
> weights) it also ends ok.
> If you don't use xml options at the input it also ends ok.
>
> I traced the seg fault to a destructor of the (abstract :/) Phrase class.
>
> Any help would be appreciated, thanks!
>
> On Wed, May 16, 2012 at 3:09 PM, Rafael Carrascosa
> <[email protected]> wrote:
>
> Hi, I had a segmentation fault while running moses, so I created a
> minimal[0] example that replicates the problem and attached it to this
> email.
> Using the files in the tar.gz, if you do:
> `moses -f moses.ini < input`
> you get a segment fault.
>
> The problem seems to go away if you remove the section
> [output-factors] completely.
> I undertand that it makes sense that moses fails to work because there
> is no data to generate 3 outpus factors, but I report this anyway
> because it crashed instead of failing :)
>
> [0] Less than 2 kbytes in files
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to