Hi Hieu,

Thank you for the explanation.


Regards,
Ergun

Ergun Bicici
Koc University


On Wed, Nov 27, 2013 at 1:52 PM, Hieu Hoang <[email protected]> wrote:

> hi ergun,
>
> i noticed this problem a few weeks ago and reported it here
>    http://article.gmane.org/gmane.comp.nlp.moses.user/9730
> It's specific to gcc-4.8
>
> I've provided a workaround in the github master source code, but i haven't
> patched RELEASE-1.0
>
> Perhaps you should continue to work with gcc 4.7 until 4.8 has been fixed
>
>
>
> On 27 November 2013 11:36, Ergun Bicici <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I compiled Moses RELEASE-1.0 with gcc-4.8.2 and received a segmentation
>> fault during decoding:
>>
>> (from TUNING_tune.9.STDERR)
>> ...
>> binary file loaded, default OFF_T: -1
>> binary phrasefile loaded, default OFF_T: -1
>> binary file loaded, default OFF_T: -1
>> Translating line 8  in thread id 140727747983104
>> Translating line 9  in thread id 140727706019584
>> Translating line 10  in thread id 140727747983104
>> Translating line 11  in thread id 140727714412288
>> Translating line 12  in thread id 140727706019584
>> terminate called after throwing an instance of 'std::bad_alloc'
>>   what():  std::bad_alloc
>> Aborted
>> Exit code: 134
>> The decoder died. CONFIG WAS -w -0.217391 -tm 0.043478 0.043478 0.043478
>> 0.043478 0.043478 -d 0.065217 0.065217 0.065217 0.065217 0.065217 0.065217
>> 0.065217 -lm 0.108696
>> cp: cannot stat ‘/path/tuning/tmp.9/moses.ini’: No such file or directory
>>
>> I then re-compiled with gcc-4.7 and was able to finish training and
>> testing.
>>
>> Regards,
>> Ergun
>>
>> Ergun Bicici
>> Koc University
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to