From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28726 invoked by alias); 22 Oct 2011 15:15:28 -0000 Received: (qmail 28688 invoked by uid 22791); 22 Oct 2011 15:15:26 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Oct 2011 15:15:10 +0000 From: "jojelino at gmail dot com" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/50831] [4.7 regression] SIGSEGV in link.cc:1904 Date: Sat, 22 Oct 2011 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jojelino at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2011-q4/txt/msg00005.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50831 --- Comment #1 from gee 2011-10-22 15:15:07 UTC --- $ gdb --args ./gcj-dbtool.exe rGNU gdb (GDB) 7.3.50.20110903-cvs Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". For bug reporting instructions, please see: ... warning: the current range check setting does not match the language. warning: the current type check setting does not match the language. Whether backtraces should continue past the entry point of a program is off. Reading symbols from /tmp/gcc/i686-pc-mingw32/libjava/.libs/gcj-dbtool.exe...done. (gdb) r Starting program: /tmp/gcc/i686-pc-mingw32/libjava/.libs/gcj-dbtool.exe [New Thread 3860.0x1a7c] [New Thread 3860.0x1c98] Program received signal SIGSEGV, Segmentation fault. 0x69690e36 in verify_class (klass=0x405100) at ../.././libjava/link.cc:1904 1904 klass->engine->verify(klass); (gdb) bt #0 0x69690e36 in verify_class (klass=0x405100) at ../.././libjava/link.cc:1904 #1 _Jv_Linker::wait_for_state (klass=0x405100, state=0x9) at ../.././libjava/link.cc:2074 #2 0x696c5280 in java::lang::Class::initializeClass (this=0x405100) at ../.././libjava/java/lang/natClass.cc:722 #3 0x00401f38 in gnu.gcj.tools.gcj_dbtool.Main.main(java.lang.String[])void ( s=@a6af98) at /tmp/gcc/libjava/gnu/gcj/tools/gcj_dbtool/Main.java:26 #4 0x696bd552 in gnu::java::lang::MainThread::call_main (this=0xc0bf60) at ../.././libjava/gnu/java/lang/natMainThread.cc:54 #5 0x696fad96 in gnu.java.lang.MainThread.run()void (this=@c0bf60) at /tmp/gcc/libjava/gnu/java/lang/MainThread.java:106 #6 0x696cbeb2 in _Jv_ThreadRun (thread=0xc0bf60) at ../.././libjava/java/lang/natThread.cc:335 #7 0x69684030 in _Jv_RunMain (vm_args=0x0, klass=0x405100, name=0x0, argc=0x1, argv=0x3d8810, is_jar=0x0) at ../.././libjava/prims.cc:1789 #8 0x69684226 in _Jv_RunMain (klass=0x405100, name=0x0, argc=0x1, argv=0x3d8810, is_jar=0x0) at ../.././libjava/prims.cc:1814 #9 0x6968428f in JvRunMain (klass=0x405100, argc=0x1, argv=0x3d8810) at ../.././libjava/prims.cc:1820 #10 0x00401402 in _fu0___Jv_Compiler_Properties () at /tmp/ccMCI8VE.i:11 #11 0x004010bb in __mingw_CRTStartup () at /usr/src/mingw-runtime/mingw-runtime-3.20-1/src/mingwrt-3.20-mingw32/crt1.c:244 ---Type to continue, or q to quit--- #12 0x004012a8 in mainCRTStartup () at /usr/src/mingw-runtime/mingw-runtime-3.20-1/src/mingwrt-3.20-mingw32/crt1.c:264 (gdb)