From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17548 invoked by alias); 25 Feb 2011 18:13:58 -0000 Received: (qmail 17524 invoked by uid 22791); 25 Feb 2011 18:13:58 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Feb 2011 18:13:54 +0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug fortran/9395] can not acces allocatable array in fortran90 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 25 Feb 2011 18:13:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00155.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9395 --- Comment #8 from Jan Kratochvil 2011-02-25 18:13:48 UTC --- (In reply to comment #7) > It seems, that we now have infinite loops in some cases Thanks, the code was reading some memory after the end of the array. For small arrays it makes no difference but with such a large array GDB tried to read unmapped memory pages which resulted in very ptrace reading and day it would say: Cannot access memory at address 0x7ffff0c75f58 Fixed now on archer-jankratochvil-vla by: 530ce8bb0aeeb513f566da7a7fae46d6414f8dc1 (gdb) p buffer(10,10,9:10) $1 = (813010, 903010) The VLA code needs a rewrite for merge, though. I do not find viable to fix the Comment 4 with the current codebase. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.