[#6256] After fix bug 5777 in libmudflap, new tests fail because they can be execute now.

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6256] After fix bug 5777 in libmudflap, new tests fail because they can be execute now.

Submitted By: Vivi Li

Open Date

2010-09-16 03:21:13    

Priority:

Medium     Assignee:

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: After fix bug 5777 in libmudflap, new tests fail because they can be execute now.

Details:

 

After fix bug 5777 in libmudflap, new tests fail because they can be execute now.

 

Bellow is the list for bfin-uclinux and bfin-linux-uclibc:

--

FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test

FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test

FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test

 

FAIL: libmudflap.c/pass42-frag.c execution test

FAIL: libmudflap.c/pass42-frag.c output pattern test

 

FAIL: libmudflap.c/pass42-frag.c execution test

FAIL: libmudflap.c/pass42-frag.c output pattern test

 

FAIL: libmudflap.c/pass47-frag.c execution test

FAIL: libmudflap.c/pass47-frag.c execution test

 

FAIL: libmudflap.c/pass52-frag.c execution test

FAIL: libmudflap.c/pass52-frag.c execution test

 

FAIL: libmudflap.c/pass42-frag.c (-static) execution test

FAIL: libmudflap.c/pass42-frag.c (-static) output pattern test

 

FAIL: libmudflap.c/pass42-frag.c (-static) execution test

FAIL: libmudflap.c/pass42-frag.c (-static) output pattern test

 

FAIL: libmudflap.c/pass47-frag.c (-static) execution test

FAIL: libmudflap.c/pass47-frag.c (-static) execution test

 

FAIL: libmudflap.c/pass52-frag.c (-static) execution test

FAIL: libmudflap.c/pass52-frag.c (-static) execution test

 

FAIL: libmudflap.c/pass42-frag.c (-O2) execution test

FAIL: libmudflap.c/pass42-frag.c (-O2) output pattern test

 

FAIL: libmudflap.c/pass42-frag.c (-O2) execution test

FAIL: libmudflap.c/pass42-frag.c (-O2) output pattern test

 

FAIL: libmudflap.c/pass47-frag.c (-O2) execution test

FAIL: libmudflap.c/pass47-frag.c (-O2) execution test

 

FAIL: libmudflap.c/pass52-frag.c (-O2) execution test

FAIL: libmudflap.c/pass52-frag.c (-O2) execution test

 

FAIL: libmudflap.c/pass42-frag.c (-O3) execution test

FAIL: libmudflap.c/pass42-frag.c (-O3) output pattern test

 

FAIL: libmudflap.c/pass42-frag.c (-O3) execution test

FAIL: libmudflap.c/pass42-frag.c (-O3) output pattern test

 

FAIL: libmudflap.c/pass47-frag.c (-O3) execution test

FAIL: libmudflap.c/pass47-frag.c (-O3) execution test

 

FAIL: libmudflap.c/pass52-frag.c (-O3) execution test

FAIL: libmudflap.c/pass52-frag.c (-O3) execution test

--

 

Bellow is one deteailed example:

--

Executing on host: bfin-linux-uclibc-gcc -ggdb3 -DDEBUG_ASSERT -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite/.. -I.. -L/.libs /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite/libmudflap.c/pass42-frag.c   -fmudflap -lmudflap   -L/testsuite -ldl -lm  -mcpu=bf537-0.2 -o ./pass42-frag.exe    (timeout = 300)

spawn bfin-linux-uclibc-gcc -ggdb3 -DDEBUG_ASSERT -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite/.. -I.. -L/.libs /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite/libmudflap.c/pass42-frag.c -fmudflap -lmudflap -L/testsuite -ldl -lm -mcpu=bf537-0.2 -o ./pass42-frag.exe^M

PASS: libmudflap.c/pass42-frag.c (test for excess errors)

Executing on bfin-linux-uclibc: /tmp/pass42-frag.exe.17695    (timeout = 300)

Executing on bfin-linux-uclibc: rm -f  /tmp/pass42-frag.exe.17695    (timeout = 300)

Executed ./pass42-frag.exe, status 1

*******

mudflap violation 1 (check/write): time=1284642723.354139 ptr=0x3692e75 size=1

pc=0x15e7cee location=`/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libmudflap/testsuite/libmudflap.c/pass42-frag.c:7:3 (foo)'

      [0x0x15e7032]

number of nearby objects: 0

SEGV

FAIL: libmudflap.c/pass42-frag.c execution test

FAIL: libmudflap.c/pass42-frag.c output pattern test

--

 

Follow-ups

 

--- Steve Kilbane                                            2010-10-06 07:44:34

These look like genuine bugs to me that have been failing for a long time, but

only being detected intermittently: they've been emitting mudflap diagnostics

even though they're supposed to pass, but the tests aren't configured to make

sure that mudflap doesn't also issue diagnostics. DejaGnu's seen the

"hi" output the test emits, and doesn't care that it also has a load

of bogus complaints coming out. (I've seen one case where the test failed,

because the "h" and "i" were interspersed with the mudflap

diagnostics, by chance.)

 

By fixing #5777 so that mudflap's also raising SEGV, these are now actually

detected as failures.

 

--- Mingquan Pan                                             2011-10-20 01:43:51

Similar bugs also are seen on 4.5 toolchain.

 

6577-Executing on host: bfin-linux-uclibc-gcc -ggdb3 -DDEBUG_ASSERT

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/..

-I.. -L/.libs

/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c

-O2 -fmudflap -fmudflapir -lmudflap -Wall  -L/testsuite -ldl -lm

-mcpu=bf561-0.5  -o ./pass46-frag.exe    (timeout = 300)

6578-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:

In function ‘main’:^M

6579-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:15:14:

warning: array subscript is above array bounds^M

6580-output is:

6581-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:

In function ‘main’:^M

6582-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:15:14:

warning: array subscript is above array bounds^M

6583-

6584:FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors)

 

8893-Executing on host: bfin-linux-uclibc-gcc -ggdb3 -DDEBUG_ASSERT

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/..

-I.. -L/.libs

/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c

-O3 -fmudflap -fmudflapir -lmudflap -Wall  -L/testsuite -ldl -lm

-mcpu=bf561-0.5  -o ./pass46-frag.exe    (timeout = 300)

8894-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:

In function ‘main’:^M

8895-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:15:14:

warning: array subscript is above array bounds^M

8896-output is:

8897-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:

In function ‘main’:^M

8898-/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/pass46-frag.c:15:14:

warning: array subscript is above array bounds^M

8899-

8900:FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors)

 

Executing on host: bfin-linux-uclibc-gcc -ggdb3 -DDEBUG_ASSERT

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite

-I/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/..

-I.. -L/.libs

/home/test/work/cruise/checkouts/toolchain/gcc-4.5/libmudflap/testsuite/libmudflap.c/fail31-frag.c

-O3 -fmudflap -lmudflap  -L/testsuite -ldl -lm  -mcpu=bf561-0.5  -o

./fail31-frag.exe    (timeout = 300)  

7662-PASS: libmudflap.c/fail31-frag.c (-O3) (test for excess errors)

7663-Executing on bfin-linux-uclibc: /tmp/fail31-frag.exe.4607    (timeout =

300)

7664-XYZ0ZYX

7665-Executing on bfin-linux-uclibc: rm -f  /tmp/fail31-frag.exe.4607  

(timeout = 300)

7666-XYZ0ZYX

7667-Executed ./fail31-frag.exe, status 0

7668-FAIL: libmudflap.c/fail31-frag.c (-O3) crash test

7669:FAIL: libmudflap.c/fail31-frag.c (-O3) output pattern test

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

libmudflap_log.tar.gz    application/x-gzip    38306    Vivi Li

Attachments

Outcomes