From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17515 invoked by alias); 25 Feb 2012 17:06:38 -0000 Received: (qmail 17502 invoked by uid 22791); 25 Feb 2012 17:06:36 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Feb 2012 17:06:19 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1PH6F3M002547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Feb 2012 12:06:15 -0500 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1PH6Bhs019097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 25 Feb 2012 12:06:14 -0500 Date: Sat, 25 Feb 2012 17:19:00 -0000 From: Jan Kratochvil To: Luis Gustavo Cc: gdb-patches@sourceware.org Subject: Re: General regressions in gdbserver mode [Re: [rfc target-side break conditions 0/5 v2] General info] Message-ID: <20120225170610.GA31657@host2.jankratochvil.net> References: <4F2309F1.1020703@mentor.com> <4F47ABCF.9020305@mentor.com> <20120225142037.GA26330@host2.jankratochvil.net> <4F4900CB.8010606@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F4900CB.8010606@mentor.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00613.txt.bz2 On Sat, 25 Feb 2012 16:39:55 +0100, Luis Gustavo wrote: > What kind of setup you're using? Fedora 17 x86_64. It does not crash for me without -lmcheck but it does crash for gdbserver linked with -lmcheck, gdbserver dumps core then. With valgrind gdbserver prints: Invalid read of size 8 at: clear_gdb_breakpoint_conditions (mem-break.c:741) by: delete_gdb_breakpoint_at (mem-break.c:715) by: x86_remove_point (linux-x86-low.c:593) by: linux_remove_point (linux-low.c:4463) by: process_serial_event (server.c:3207) by: handle_serial_event (server.c:3340) by: handle_file_event (event-loop.c:489) by: process_event (event-loop.c:244) by: start_event_loop (event-loop.c:607) by: main (server.c:2773) Address 0x56242c8 is 8 bytes inside a block of size 16 free'd at: free (vg_replace_malloc.c:427) by: clear_gdb_breakpoint_conditions (mem-break.c:740) by: delete_gdb_breakpoint_at (mem-break.c:715) by: x86_remove_point (linux-x86-low.c:593) by: linux_remove_point (linux-low.c:4463) by: process_serial_event (server.c:3207) by: handle_serial_event (server.c:3340) by: handle_file_event (event-loop.c:489) by: process_event (event-loop.c:244) by: start_event_loop (event-loop.c:607) by: main (server.c:2773) Thanks, Jan