Comments (6)
What gcc version are u using ? Does it also happen with the command line Moses? I can't debug Moses server
Sent while bumping into things
On 14 Nov 2013, at 20:23, Marko Tasic [email protected] wrote:
Hi,
My question is explained in details here: http://stackoverflow.com/questions/19962783/moses-crashed-with-segmentation-fault
I tried both latest rev from git for last couple of days, or older version found in Arch Linux User Repository (AUR) marked as 1.0.
Basically, I have problem running mosesserver after some time. When it works, it simply works for almost any input, but when it does not it freezes after error message " *** Error in `/opt/moses/bin/mosesserver': double free or corruption (!prev): 0x00000000ec8d1470 ***" or exits uncleanly.
When I try to debug mosesserver all errors I can see are related to xmlrpc, but when I try to directly run moses and manually input text for translation, then it again crashes.
It is very hard to explain what is going on, but moses was working ok on older arch linux. Somehow, glibc looks suspicious to me.
—
Reply to this email directly or view it on GitHub.
from mosesdecoder.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc-multilib/src/gcc-4.8.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --enable-multilib --disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.2 (GCC)
from mosesdecoder.
Btw, language models and other data are an year old. Does it make any difference?
from mosesdecoder.
thought so. I think this is a gcc problem since gcc 4.8.1 that hasn't been
fixed yet
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800
I noticed this when i upgraded my os
http://article.gmane.org/gmane.comp.nlp.moses.user/9730
I installed g++ 4.7 on my pc and pointed the g++ softlink to it
cd. /usr/bin
sudo ln -s g++-4.7 g++
On 14 November 2013 22:16, Marko Tasic [email protected] wrote:
Btw, language models and other data are am year old. Does it make any
difference?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-28528519
.
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
from mosesdecoder.
i've just committed in a fix.
If the gcc version is 4.8.1 or 4.8.2, then it will won't call the
nth_element() function. It an ugly hack, I'll take in out in a years time
when the compilers have been patched
Hopefully this will resolve your problems
On 14 November 2013 23:41, Hieu Hoang [email protected] wrote:
thought so. I think this is a gcc problem since gcc 4.8.1 that hasn't been
fixed yet
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800
I noticed this when i upgraded my os
http://article.gmane.org/gmane.comp.nlp.moses.user/9730I installed g++ 4.7 on my pc and pointed the g++ softlink to it
cd. /usr/bin
sudo ln -s g++-4.7 g++On 14 November 2013 22:16, Marko Tasic [email protected] wrote:
Btw, language models and other data are am year old. Does it make any
difference?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-28528519
.Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
from mosesdecoder.
You were right, gcc 4.6.3 and gcc-libs 4.6.3 fixed this issue. Just remainder, on ArchLinux, I used package called "downgrade" from AUR. Because gcc 4.6.3 uses older version of some libraries, I had to manually create soft simlinks for them in /usr/lib.
Thank you!
from mosesdecoder.
Related Issues (20)
- Lexical reordering scoring failed at /home/ubuntu/Moses/mosesdecoder/scripts/training/train-model.perl line 1924. HOT 2
- Please don't create new issues HOT 4
- No abbreviation Files Found HOT 1
- Evaluation with multi-bleu.perl or multi-bleu-detok.perl HOT 16
- Placeholders should be separated by comma HOT 4
- tiny weights after tuning HOT 2
- sentence-splitter HOT 10
- Question:Related translation models.
- How to increase BLEU? HOT 1
- PROBLEM: alignment is 0. HOT 2
- normalize-punctuation.perl Change the Chinese punctuation marks in English sentences into English. HOT 1
- symal crashes on Linux after latest update HOT 3
- It seems the home page is not working HOT 1
- train-model.perl failed HOT 4
- Tunning translation model failed with this error
- Replace non-breaking space with regular space HOT 1
- tokenizer.perl supported language HOT 2
- symal: permission denied HOT 4
- Looking for Arabic/English demo
- webshell exists in the project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosesdecoder.