From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31402 invoked by alias); 2 Sep 2005 22:21:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31358 invoked by uid 48); 2 Sep 2005 22:21:07 -0000 Date: Fri, 02 Sep 2005 22:21:00 -0000 Message-ID: <20050902222107.31357.qmail@sourceware.org> From: "debian-gcc at lists dot debian dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050828164012.23602.debian-gcc@lists.debian.org> References: <20050828164012.23602.debian-gcc@lists.debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00300.txt.bz2 List-Id: ------- Additional Comments From debian-gcc at lists dot debian dot org 2005-09-02 22:21 ------- (In reply to comment #9) > About comment #7 - it would be helpful to know how the execution tests > fail. For instance a gdb backtrace from one of them. it would, but running them from the commandline let's the test succeed :-/ Running the ArrayStore test from 20050715, I get $ gdb ./ArrayStore.exe GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/packages/gcc/cvs/build-20050715-12/i486-linux-gnu/libjava/testsuite/ArrayStore.exe [Thread debugging using libthread_db enabled] [New Thread 1450720736 (LWP 14599)] [New Thread 1459313584 (LWP 14604)] java.lang.ArrayStoreException java.lang.ArrayStoreException Program received signal SIGABRT, Aborted. [Switching to Thread 1450720736 (LWP 14599)] 0x5668362b in raise () from /lib32/tls/libc.so.6 (gdb) bt #0 0x5668362b in raise () from /lib32/tls/libc.so.6 #1 0x56684d3f in abort () from /lib32/tls/libc.so.6 #2 0x55bd0451 in _Jv_Throw (value=0xffffd3ac) at ../../../gcc-20050715-12/libjava/exception.cc:111 #3 0x55bc4bd0 in _Jv_ThrowBadArrayIndex (bad_index=1) at ../../../gcc-20050715-12/libjava/prims.cc:353 #4 0x080491a8 in ArrayStore.b(java.lang.String[]) (this=0x47f00, sa=Variable "sa" is not available. ) at Throwable.java:50 #5 0x00000001 in ?? () #6 0x08049120 in ArrayStore::a () at Throwable.java:45 #7 0x00047f00 in ?? () #8 0x08048f2f in ArrayStore.main(java.lang.String[]) (args=0x563a7e88) at ArrayStore.java:30 #9 0x55befd0b in gnu::java::lang::MainThread::call_main (this=0x61f18) at ../../../gcc-20050715-12/libjava/gnu/java/lang/natMainThread.cc:47 #10 0x55c29e66 in gnu.java.lang.MainThread.run() (this=0x61f18) at MainThread.java:105 #11 0x55bfea26 in _Jv_ThreadRun (thread=0x61f18) at ../../../gcc-20050715-12/libjava/java/lang/natThread.cc:296 #12 0x55bc5ba5 in _Jv_RunMain (vm_args=0x0, klass=0x804a980, name=0x0, argc=1, argv=0xffffd734, is_jar=false) at ../../../gcc-20050715-12/libjava/prims.cc:1386 #13 0x55bc5cf0 in _Jv_RunMain (klass=0x804a980, name=0x0, argc=1, argv=0xffffd734, is_jar=false) at ../../../gcc-20050715-12/libjava/prims.cc:1397 #14 0x55bc5d28 in JvRunMain (klass=0x804a980, argc=1, argv=0xffffd734) at ../../../gcc-20050715-12/libjava/prims.cc:1403 #15 0x08048ea8 in main (argc=1, argv=0xffffd734) at /tmp/cc7ZPyq6.i:11 Running the same test with 20050717, the debugger hangs: $ gdb ./ArrayStore.exe GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /home/packages/gcc/cvs/build-20050717/i486-linux-gnu/libjava/testsuite/ArrayStore.exe [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23602