I would request Mike to take on this. Mike, can you ? Regards-- Subrata
On Mon, 2008-04-14 at 15:34 +0300, S.Çağlar Onur wrote: > Hi; > > Compiling LTP with "-fstack-protector -D_FORTIFY_SOURCE=2" ends up with some > test failures like following; > > buildhouse ltp # testcases/bin/getgroups01 > *** buffer overflow detected ***: testcases/bin/getgroups01 terminated > getgroups01 1 BROK : Unexpected signal 6 received. > getgroups01 2 BROK : Remaining cases broken > getgroups01 3 BROK : Remaining cases broken > getgroups01 4 BROK : Remaining cases broken > > caused by @getgroups01.c > [...] > /* > * Check to see if getgroups() fails on erraneous condition. > */ > TEST( getgroups(-1,gidset) ); > [...] > > > buildhouse ltp # testcases/bin/readlink03 > readlink03 1 PASS : readlink(), No Search permissions to process, > returned errno 13 > readlink03 2 PASS : readlink(), No Search permissions to process, > returned errno 13 > *** buffer overflow detected ***: testcases/bin/readlink03 terminated > readlink03 3 BROK : Unexpected signal 6 received. > readlink03 4 BROK : Remaining cases broken > readlink03 5 BROK : Remaining cases broken > > > buildhouse ltp # testcases/bin/open08 > *** invalid open call: O_CREAT without mode ***: testcases/bin/open08 > terminated > open08 1 BROK : Unexpected signal 6 received. > open08 2 BROK : Remaining cases broken > open08 3 BROK : Remaining cases broken > open08 4 BROK : Remaining cases broken > open08 5 BROK : Remaining cases broken > open08 6 BROK : Remaining cases broken > > And even after some time machine goes down and hard reboot neeeded, following > output is failed tests list but machine freezes before LTP completes its > tests so i'm not sure which test causes lockup. > > buildhouse ltp # cat output/LTP_RUN_ON-2008_Nis_13-23h_20m_37s.failed > getgroups01 getgroups01 > getgroups04 getgroups04 > open08 open08 > readlink01A symlink01 -T readlink01 > readlink03 readlink03 > symlink01 symlink01 > gf15 growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 Lgfile1 > inode01 inode01 > fsx-linux export TCbin=$LTPROOT/testcases/kernel/fs/fsx-linux;fsxtest02 10000 > > But removing "-fstack-protector -D_FORTIFY_SOURCE=2" from FLAGS makes all > tests PASS on very same machine without a problem. > > So what is the correct way to handle this situation (removing > "-fstack-protector -D_FORTIFY_SOURCE=2" from compile flags using Makefile > etc. or correcting tests to conform FORTIFY_SOURCE cases)? Any hints will be > appreciated. > > Cheers > -- > S.Çağlar Onur <[EMAIL PROTECTED]> > http://cekirdek.pardus.org.tr/~caglar/ > > Linux is like living in a teepee. No Windows, no Gates and an Apache in house! > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-lis > � ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
