Re: [Moses-support] mosesserver segmentation fault

2019-09-05 Thread Hieu Hoang
I would personally use Moses2 for the server, of the model is a generic
phrase based or hierarchical model. The server integration is cleaner and
less buggy. And Moses2 is faster.

However you must binarize with CreateProbingPT

More details on Moses2 here
   http://www.statmt.org/moses/?n=Site.Moses2

On Thu, 5 Sep 2019, 11:57 am Itziar Cortes Etxabe, 
wrote:

> Hi all,
>
> I've problems to load translation models using mosesserver command, and
> I'd appreciate any help.
>
> I have problems to load my models with mosesserver using Moses 3.0
> (release). There is no trouble to load them with moses command, and, in
> these case, the translation proccess runs properly. So, it seems that the
> problem resides in mosesserver.
>
> This is the output of the error (a part of it):
>
> ...
> Loading WordPenalty0
> Loading PhrasePenalty0
> Loading LexicalReordering0
> Loading Distortion0
> Loading LM0
> Loading TranslationModel0
> *** Segmentation fault
> Register dump:
>
>  RAX: ffe8   RBX: 5972c590   RCX: 3ff9
>  RDX: 0003   RSI: 00711c1c   RDI: 
>  RBP: 0003   R8 : 5972c630   R9 : 
>  R10: 7f81921479d0   R11: 0202   R12: 5972c5a0
>  R13: 000c   R14: 7ffcd252e3e0   R15: 7ffcd252f662
>  RSP: 7ffcd252e2a0
>
>  RIP: 0030d649dfe0   EFLAGS: 00010297
>
>  CS: 0033   FS:    GS: 
>
>  Trap: 000e   Error: 0005   OldMask:    CR2: ffe8
>
>  FPUCW: 037f   FPUSW:    TAG: 
>  RIP:    RDP: 
>
>  ST(0)  0029   ST(1)  0017
>  ST(2)  0080   ST(3)  0001
>  ST(4)     ST(5)  
>  ST(6)     ST(7)  
>  mxcsr: 1fa4
>  XMM0:   XMM1:
>  
>  XMM2:   XMM3:
>  
>  XMM4:   XMM5:
>  
>  XMM6:   XMM7:
>  
>  XMM8:   XMM9:
>  
>  XMM10:  XMM11:
> 
>  XMM12:  XMM13:
> 
>  XMM14:  XMM15:
> 
>
> Backtrace:
> /usr/lib64/libstdc++.so.6(_ZNSs6assignEPKcm+0x20)[0x30d649dfe0]
> /opt/usuarios/moses/mosesdecoder-RELEASE-3.0/bin/mosesserver[0x40da3d]
> /lib64/libc.so.6(__libc_start_main+0xfd)[0x30cb41ed1d]
> /opt/usuarios/moses/mosesdecoder-RELEASE-3.0/bin/mosesserver[0x40ce49]
> ...
>
>
> I attached mosesserver compilling debug information too in case it helps.
>
> Thanks in advance.
>
> Itziar.
>
>
>
>
>
>
>
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] mosesserver segmentation fault

2019-09-05 Thread Itziar Cortes Etxabe
Hi all,

I've problems to load translation models using mosesserver command, and I'd
appreciate any help.

I have problems to load my models with mosesserver using Moses 3.0
(release). There is no trouble to load them with moses command, and, in
these case, the translation proccess runs properly. So, it seems that the
problem resides in mosesserver.

This is the output of the error (a part of it):

...
Loading WordPenalty0
Loading PhrasePenalty0
Loading LexicalReordering0
Loading Distortion0
Loading LM0
Loading TranslationModel0
*** Segmentation fault
Register dump:

 RAX: ffe8   RBX: 5972c590   RCX: 3ff9
 RDX: 0003   RSI: 00711c1c   RDI: 
 RBP: 0003   R8 : 5972c630   R9 : 
 R10: 7f81921479d0   R11: 0202   R12: 5972c5a0
 R13: 000c   R14: 7ffcd252e3e0   R15: 7ffcd252f662
 RSP: 7ffcd252e2a0

 RIP: 0030d649dfe0   EFLAGS: 00010297

 CS: 0033   FS:    GS: 

 Trap: 000e   Error: 0005   OldMask:    CR2: ffe8

 FPUCW: 037f   FPUSW:    TAG: 
 RIP:    RDP: 

 ST(0)  0029   ST(1)  0017
 ST(2)  0080   ST(3)  0001
 ST(4)     ST(5)  
 ST(6)     ST(7)  
 mxcsr: 1fa4
 XMM0:   XMM1:
 
 XMM2:   XMM3:
 
 XMM4:   XMM5:
 
 XMM6:   XMM7:
 
 XMM8:   XMM9:
 
 XMM10:  XMM11:

 XMM12:  XMM13:

 XMM14:  XMM15:


Backtrace:
/usr/lib64/libstdc++.so.6(_ZNSs6assignEPKcm+0x20)[0x30d649dfe0]
/opt/usuarios/moses/mosesdecoder-RELEASE-3.0/bin/mosesserver[0x40da3d]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x30cb41ed1d]
/opt/usuarios/moses/mosesdecoder-RELEASE-3.0/bin/mosesserver[0x40ce49]
...


I attached mosesserver compilling debug information too in case it helps.

Thanks in advance.

Itziar.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support