I have the same problem. When giza is compiled with g++-4.1 the problem disappears. So you can sudo apt-get install g++-4.1, then write CXX=g++-4.1 in Makefile in giza-pp/GIZA++-v2/ (note that it wouldn't work so easily with ubuntu 10.10, the package g++-4.1 is no longer in the standard repository)
-- Raphael Payen 2011/1/28 nakul sharma <[email protected]>: > Hi, > i execute giza on g++ version 4.4.3. ubuntu os version 10.04. I got > following error while training GIZA++:- > > *** buffer overflow detected ***: ./GIZA++ terminated > ======= Backtrace: ========= > [0x81749bc] > [0x817497d] > [0x8174798] > [0x815ce8e] > [0x8181725] > [0x8174834] > [0x817478d] > [0x806cd2d] > [0x806d7a3] > [0x80739c0] > [0x8147c5f] > [0x8048191] > ======= Memory map: ======== > 004e5000-004e6000 r-xp 00000000 00:00 0 [vdso] > 08048000-081f3000 r-xp 00000000 08:0b 178177 > /home/nakul/Desktop/smt_sw/giza-pp/GIZA++-v2/GIZA++ > 081f3000-081f5000 rw-p 001ab000 08:0b 178177 > /home/nakul/Desktop/smt_sw/giza-pp/GIZA++-v2/GIZA++ > 081f5000-081fd000 rw-p 00000000 00:00 0 > 09399000-0940d000 rw-p 00000000 00:00 0 [heap] > bfdd7000-bfdec000 rw-p 00000000 00:00 0 [stack] > Aborted > > Please tell what should be done to overcome this problem. the problem seems > to be in memory allocations done by giza. > > > -- > Thanks & Regards, > nakul > > > _______________________________________________ > 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
