From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13940 invoked by alias); 20 Mar 2010 19:00:26 -0000 Received: (qmail 13922 invoked by uid 48); 20 Mar 2010 19:00:25 -0000 Date: Sat, 20 Mar 2010 19:00:00 -0000 From: "gdb-bugs0000 at cneufeld dot ca" To: gdb-prs@sourceware.org Message-ID: <20100320190024.11408.gdb-bugs0000@cneufeld.ca> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug breakpoints/11408] New: gdb-7.1 spins and hangs in my normal work. (git bisection supplied) X-Bugzilla-Reason: CC 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: 2010-q1/txt/msg00475.txt.bz2 I downloaded and compiled gdb-7.1, and found it to be unusable for me. Whereas gdb-7.0.1 worked well, 7.1 will often freeze when doing simple things like setting a new breakpoint at a specified line number. An strace of the gdb process shows it to be spinning hard, calling the lseek() syscall over and over (several thousand times is typical), before completing. Setting a breakpoint can take anywhere from 5 seconds to several minutes, with the CPU hard-spinning the whole time. This is entirely reproducible for me, I have just to set a breakpoint at main(), run my debugging binary, then type "b 200" to add another breakpoint at line 200 in the source module holding main. This takes several seconds in 7.1, and is effectively instantaneous in 7.0.1. I have also seen it hang when asked to print the value of a local variable. I compiled gdb from sources, using gcc-4.2.4. I realize that the git tree isn't fine-grained to individual commits, but having the bisection ought still to help. The bad behaviour first appears at revision f03d5cd98559bdc7ee93b72383d9e50999310a97. It was fixed at revision f89f0ae081112db5dfad6264f481e6ca88b4d252, but unfortunately that revision is not in the 7.1 release. I've had to revert to 7.0.1 because of this bug. -- Summary: gdb-7.1 spins and hangs in my normal work. (git bisection supplied) Product: gdb Version: 7.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned at sourceware dot org ReportedBy: gdb-bugs0000 at cneufeld dot ca CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11408 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.