From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9057 invoked by alias); 28 May 2011 15:07:36 -0000 Received: (qmail 9045 invoked by uid 22791); 28 May 2011 15:07:35 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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, 28 May 2011 15:07:22 +0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47601] [OOP] Internal Error: mio_component_ref(): Component not found X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus 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 Date: Sat, 28 May 2011 15:12:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg02845.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47601 --- Comment #19 from janus at gcc dot gnu.org 2011-05-28 15:05:50 UTC --- (In reply to comment #18) > With the patch in comment #17, the "mio_component_ref(): Component not found" > are gone, but compiling gyre_lanr.f90 in the original code gives a > segmentation fault: Right. Some pieces were missing in your backtrace, here is a complete one: Program received signal SIGSEGV, Segmentation fault. 0x000000000055a828 in gfc_use_derived (sym=0x0) at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:1942 1942 if (sym->components != NULL || sym->attr.zero_comp) (gdb) bt #0 0x000000000055a828 in gfc_use_derived (sym=0x0) at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:1942 #1 0x000000000055aa1b in gfc_find_component (sym=0x0, name=0x7fffffffd530 "n_e", noaccess=0 '\000', silent=0 '\000') at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:2002 #2 0x000000000055aac4 in gfc_find_component (sym=0x1ae7fe0, name=0x7fffffffd530 "n_e", noaccess=0 '\000', silent=0 '\000') at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:2015 #3 0x000000000050d039 in mio_component_ref (cp=0x1aea0b8, sym=0x1ae7fe0) at /home/jweil/gcc47/trunk/gcc/fortran/module.c:2359