[SRILM User List] lattice-ngram test seg fault on Ubuntu with x86_64

Andreas Stolcke stolcke at icsi.berkeley.edu
Tue Dec 20 23:22:05 PST 2011


Federico Ang wrote:
> Hello,
>
> I successfully compiled SRILM 1.6.0 with Ubuntu 11.04 on an Intel Core 
> i5 with -march=core2 -m64 (I edited the i686-m64 makefile) and with 
> Tcl 8.5, Gawk 3.1.8, and gcc/g++ 4.6.1 .  On make test, all test gives 
> IDENTICAL results except for the lattice-ngram test, which gives 
> DIFFERS for both stdout and stderr.  Investigating the problem, I 
> found that the stdout for the output is empty.  On the other hand, 
> stderr output is exactly the same as stderr reference except that 
> there's Segmentation Fault on the last line.  I don't know how to 
> investigate further.  Please advise so I can have all test passed.
Check if you get the same problem with default compiler options (without 
-march=core2) and, if possible, with older versions of gcc.   I have not 
seen core dumps on any tests, including with Ubuntu systems I have 
access to, though the compiler versions might have been less recent.

Andreas



More information about the SRILM-User mailing list