[#7526] libstdc++ case tested fails for Assertion failure

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

[#7526] libstdc++ case tested fails for Assertion failure

Submitted By: Mingquan Pan

Open Date

2012-12-03 22:08:17     Close Date

2012-12-20 01:05:58

Priority:

Medium High     Assignee:

Stuart Henderson

Board:

STAMP     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

BF537     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: libstdc++ case tested fails for Assertion failure

Details:

 

libstdc++ case tested on uclinux fails for Assertion failure.

 

#########################################

#

# Comparing libstdc++-4.3.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-uclinux: 23_containers/set/modifiers/16728.cc execution test

bfin-uclinux: 25_algorithms/copy/streambuf_iterators/char/4.cc execution test

bfin-uclinux: 25_algorithms/find/istreambuf_iterators/char/2.cc execution test

bfin-uclinux: 25_algorithms/find/istreambuf_iterators/wchar_t/2.cc execution test

bfin-uclinux: 27_io/basic_filebuf/close/char/1.cc execution test

bfin-uclinux: 27_io/basic_filebuf/close/char/2.cc execution test

bfin-uclinux: 27_io/basic_filebuf/close/char/4.cc execution test

bfin-uclinux: 27_io/basic_filebuf/in_avail/char/1.cc execution test

bfin-uclinux: 27_io/basic_filebuf/is_open/char/1.cc execution test

bfin-uclinux: 27_io/basic_filebuf/open/char/1.cc execution test

bfin-uclinux: 27_io/basic_filebuf/open/char/2.cc execution test

bfin-uclinux: 27_io/basic_filebuf/pbackfail/char/9761.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sbumpc/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sbumpc/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sbumpc/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sbumpc/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/3-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekoff/char/3-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekpos/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekpos/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekpos/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/seekpos/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/setbuf/char/1.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetc/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetc/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetc/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetc/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetn/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetn/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetn/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetn/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sgetn/char/3.cc execution test

bfin-uclinux: 27_io/basic_filebuf/snextc/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/snextc/char/1-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/snextc/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/snextc/char/2-io.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sputbackc/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sputbackc/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sungetc/char/1-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/sungetc/char/2-in.cc execution test

bfin-uclinux: 27_io/basic_filebuf/underflow/10096.cc execution test

bfin-uclinux: 27_io/basic_ifstream/cons/char/1.cc execution test

bfin-uclinux: 27_io/basic_ifstream/open/char/1.cc execution test

bfin-uclinux: 27_io/basic_istream/extractors_other/char/2.cc execution test

bfin-uclinux: 27_io/basic_istream/extractors_other/wchar_t/2.cc execution test

bfin-uclinux: 27_io/basic_istream/get/char/2.cc execution test

bfin-uclinux: 27_io/basic_istream/get/wchar_t/2.cc execution test

bfin-uclinux: 27_io/basic_istream/ignore/char/3.cc execution test

bfin-uclinux: 27_io/basic_istream/ignore/wchar_t/3.cc execution test

bfin-uclinux: 27_io/basic_istream/readsome/char/6746-2.cc execution test

bfin-uclinux: 27_io/basic_istream/readsome/wchar_t/6746-2.cc execution test

bfin-uclinux: 27_io/basic_istream/seekg/char/fstream.cc execution test

bfin-uclinux: 27_io/basic_istream/seekg/char/sstream.cc execution test

bfin-uclinux: 27_io/basic_istream/seekg/wchar_t/fstream.cc execution test

bfin-uclinux: 27_io/basic_istream/seekg/wchar_t/sstream.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/char/1.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/char/fstream.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/char/sstream.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/wchar_t/1.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/wchar_t/fstream.cc execution test

bfin-uclinux: 27_io/basic_istream/tellg/wchar_t/sstream.cc execution test

bfin-uclinux: 27_io/basic_ostream/inserters_other/char/1.cc execution test

bfin-uclinux: 27_io/basic_ostream/inserters_other/wchar_t/1.cc execution test

bfin-uclinux: 27_io/objects/char/10.cc execution test

bfin-uclinux: 27_io/objects/char/12048-1.cc execution test

bfin-uclinux: 27_io/objects/char/12048-2.cc execution test

bfin-uclinux: 27_io/objects/char/12048-3.cc execution test

bfin-uclinux: 27_io/objects/char/12048-4.cc execution test

bfin-uclinux: 27_io/objects/wchar_t/12048-1.cc execution test

bfin-uclinux: 27_io/objects/wchar_t/12048-2.cc execution test

bfin-uclinux: 27_io/objects/wchar_t/12048-3.cc execution test

bfin-uclinux: 27_io/objects/wchar_t/12048-4.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/char/12048-1.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/char/12048-2.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/char/12048-3.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/char/12048-4.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/wchar_t/12948-1.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/wchar_t/12948-2.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/wchar_t/12948-3.cc execution test

bfin-uclinux: ext/stdio_sync_filebuf/wchar_t/12948-4.cc execution test

 

detailed log is like:

 

Executing on host: bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0  -DLOCALEDIR="." -I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc     ./libtestc++.a -Wl,-elf2flt=-s120000  -lm  -mcpu=bf537-0.2  -o ./1.exe    (timeout = 600)

spawn bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="." -I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc ./libtestc++.a -Wl,-elf2flt=-s120000 -lm -mcpu=bf537-0.2 -o ./1.exe^M

PASS: 27_io/basic_filebuf/close/char/1.cc (test for excess errors)

Executing on bfin-uclinux: /tmp/1.exe.5394 {} {}   (timeout = 300)

spawn [open ...]^M

/tmp/1.exe.5394: /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc: 51: void test_01(): Assertion `fb_01.is_open()ABRT

XYZ134ZYX

' failed.

Executing on bfin-uclinux: rm -f  /tmp/1.exe.5394    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed ./1.exe, status 1

/tmp/1.exe.5394: /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc: 51: void test_01(): Assertion `fb_01.is_open()ABRT

' failed.

FAIL: 27_io/basic_filebuf/close/char/1.cc execution test

extra_tool_flags are:

 

 

Executing on host: bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0  -DLOCALEDIR="." -I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc     ./libtestc++.a -Wl,-elf2flt=-s120000  -lm  -mcpu=bf537-0.2  -o ./1.exe    (timeout = 600)

spawn bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="." -I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc ./libtestc++.a -Wl,-elf2flt=-s120000 -lm -mcpu=bf537-0.2 -o ./1.exe^M

PASS: 27_io/basic_ostream/inserters_other/wchar_t/1.cc (test for excess errors)

Executing on bfin-uclinux: /tmp/1.exe.5394 {} {}   (timeout = 300)

spawn [open ...]^M

/tmp/1.exe.5394: /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: 49: void test02(): Assertion `state01 != state02' failed.

ABRT

XYZ134ZYX

Executing on bfin-uclinux: rm -f  /tmp/1.exe.5394    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed ./1.exe, status 1

/tmp/1.exe.5394: /home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: 49: void test02(): Assertion `state01 != state02' failed.

ABRT

FAIL: 27_io/basic_ostream/inserters_other/wchar_t/1.cc execution test

extra_tool_flags are:

 

full log is attched.

 

And this issue doesn't see in the log of Nov 27.

 

last passed version:

 

************** Tested toolchain svn info ***************

At revision 5964.

Path: .

URL: svn://10.99.22.20/toolchain/trunk

Repository Root: svn://10.99.22.20/toolchain

Repository UUID: 2adf4935-75e9-4407-93b2-34b21a1880a4

Revision: 5964

Node Kind: directory

Schedule: normal

Last Changed Author: grace

Last Changed Rev: 5964

Last Changed Date: 2012-11-27 10:06:58 +0800 (Tue, 27 Nov 2012)

************** Tested U-Boot git info ******************

..

************* Tested Buildroot git info *************

Buildroot Already up-to-date.

origin  git://10.99.22.20/git/buildroot

* trunk

  origin/2012R1

  origin/HEAD

  origin/trunk

commit 6719936f6e80a5468617e04dc0e67f226b60bda6

Author: Steven Miao <realmz6@gmail.com>

Date:   Mon Nov 19 16:03:23 2012 +0800

 

    nbench: timeout: only build for 32-bits system host

 

    Signed-off-by: Steven Miao <realmz6@gmail.com>

************* Tested linux git info ********************

Kernel Already up-to-date.  origin/old/Threadstack

  origin/old/UCLINUX_BFIN

  origin/old/Zaptel

  origin/old/jul05-branch

  origin/old/kernel-2-6-8-0810

  origin/old/kernel_2_6_8_July05_branch

  origin/old/linux-2.6-git

  origin/old/toolchain-04r1-branch

  origin/old/toolchain-04r1-branch2

  origin/old/toolchain_06r1_branch

  origin/trunk

  origin/trunk-next

commit 0658a8420070de40229cf1e61a9d666d4e4e9909

Author: Scott Jiang <scott.jiang.linux@gmail.com>

Date:   Mon Nov 19 17:32:01 2012 -0500

 

    v4l2: blackfin: update description in Kconfig

 

    Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>

 

 

 

Follow-ups

 

--- Mingquan Pan                                             2012-12-13 02:54:55

It looks this issue also would happens to libstdc++ on linux-uclibc testing.

 

#########################################

#

# Comparing libstdc++-4.3.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-linux-uclibc: 25_algorithms/copy/streambuf_iterators/char/4.cc execution

test

bfin-linux-uclibc: 25_algorithms/copy/streambuf_iterators/wchar_t/4.cc

execution test

bfin-linux-uclibc: 25_algorithms/find/istreambuf_iterators/char/2.cc execution

test

bfin-linux-uclibc: 25_algorithms/find/istreambuf_iterators/wchar_t/2.cc

execution test

bfin-linux-uclibc: 27_io/basic_filebuf/close/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/close/char/2.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/close/char/4.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/in_avail/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/is_open/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/open/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/open/char/2.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/pbackfail/char/9761.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sbumpc/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sbumpc/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sbumpc/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sbumpc/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/3-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekoff/char/3-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekpos/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekpos/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekpos/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/seekpos/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/setbuf/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetc/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetc/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetc/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetc/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetn/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetn/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetn/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetn/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sgetn/char/3.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/snextc/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/snextc/char/1-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/snextc/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/snextc/char/2-io.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sputbackc/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sputbackc/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sungetc/char/1-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/sungetc/char/2-in.cc execution test

bfin-linux-uclibc: 27_io/basic_filebuf/underflow/10096.cc execution test

bfin-linux-uclibc: 27_io/basic_ifstream/cons/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_ifstream/open/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/extractors_other/char/2.cc execution

test

bfin-linux-uclibc: 27_io/basic_istream/extractors_other/wchar_t/2.cc execution

test

bfin-linux-uclibc: 27_io/basic_istream/get/char/2.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/get/wchar_t/2.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/ignore/char/3.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/ignore/wchar_t/3.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/readsome/char/6746-2.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/readsome/wchar_t/6746-2.cc execution

test

bfin-linux-uclibc: 27_io/basic_istream/seekg/char/fstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/seekg/char/sstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/seekg/wchar_t/fstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/seekg/wchar_t/sstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/char/1.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/char/fstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/char/sstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/wchar_t/1.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/wchar_t/fstream.cc execution test

bfin-linux-uclibc: 27_io/basic_istream/tellg/wchar_t/sstream.cc execution test

bfin-linux-uclibc: 27_io/basic_ostream/inserters_other/char/1.cc execution

test

bfin-linux-uclibc: 27_io/basic_ostream/inserters_other/wchar_t/1.cc execution

test

bfin-linux-uclibc: 27_io/objects/char/10.cc execution test

bfin-linux-uclibc: 27_io/objects/char/12048-1.cc execution test

bfin-linux-uclibc: 27_io/objects/char/12048-2.cc execution test

bfin-linux-uclibc: 27_io/objects/char/12048-3.cc execution test

bfin-linux-uclibc: 27_io/objects/char/12048-4.cc execution test

 

 

Executing on host: bfin-linux-uclibc-g++ -g -O2 -D_GLIBCXX_ASSERT

-fmessage-length=0  -DLOCALEDIR="."

-I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util

/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc

    ./libtestc++.a  -lm  -mcpu=bf533-0.3  -o ./12048-1.exe    (timeout = 600)

spawn bfin-linux-uclibc-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0

-DLOCALEDIR="."

-I/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/util

/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc

./libtestc++.a -lm -mcpu=bf533-0.3 -o ./12048-1.exe^M

PASS: 27_io/objects/char/12048-1.cc (test for excess errors)

Executing on bfin-linux-uclibc: /tmp/12048-1.exe.15348 {} {}   (timeout = 300)

spawn [open ...]^M

/tmp/12048-1.exe.15348:

/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc:

37: ABRT

XYZ134ZYX

void test01(): Assertion `std::cin.good()' failed.

Executing on bfin-linux-uclibc: rm -f  /tmp/12048-1.exe.15348    (timeout =

300)

spawn [open ...]^M

XYZ0ZYX

Executed ./12048-1.exe, status 1

/tmp/12048-1.exe.15348:

/home/test/workspace/src/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc:

37: ABRT

void test01(): Assertion `std::cin.good()' failed.

FAIL: 27_io/objects/char/12048-1.cc execution test

extra_tool_flags are:

 

 

--- Stuart Henderson                                         2012-12-17 09:42:05

i'm failing to reproduce this.  is this another one that only fails on certain

parts?

 

--- Mingquan Pan                                             2012-12-20 02:12:30

After decreasing buildroot kernel size, it has more memory size in toolchain

testing which makes these cases pass now.

So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

libstdc++-4.3.log.gz    application/x-gzip    107311    Mingquan Pan

Attachments

Outcomes