From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24905 invoked by alias); 11 Aug 2009 08:28:26 -0000 Received: (qmail 24895 invoked by uid 22791); 11 Aug 2009 08:28:25 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB X-Spam-Check-By: sourceware.org Received: from gmp-eb-inf-1.sun.com (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Aug 2009 08:28:17 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7B8SEq4026349 for ; Tue, 11 Aug 2009 08:28:14 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KO700C00DXLRP00@fe-emea-09.sun.com> for gdb@sourceware.org; Tue, 11 Aug 2009 09:28:09 +0100 (BST) Received: from [10.0.0.3] ([unknown] [88.117.83.128]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KO7008LKE6JT7A0@fe-emea-09.sun.com>; Tue, 11 Aug 2009 09:27:55 +0100 (BST) Date: Tue, 11 Aug 2009 08:28:00 -0000 From: Christian Thalinger Subject: Re: status of Darwin support In-reply-to: <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> To: Paul Pluzhnikov Cc: Tom Tromey , Tristan Gingold , Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org Message-id: <4A812B8B.8040202@Sun.COM> References: <4A5F8D9E.1060307@Sun.COM> <200908041804.30240.thiago.bauermann@gmail.com> <20090805044504.GJ4370@adacore.com> <4A7ABAF0.7010004@Sun.COM> <4A7FFAB3.7080903@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00065.txt.bz2 Paul Pluzhnikov wrote: > On Mon, Aug 10, 2009 at 11:32 AM, Tom Tromey wrote: > >>>>>>> "Twisti" == Christian Thalinger writes: >> Twisti> objfiles.c:792: internal-error: qsort_cmp: Assertion `obj_section_endaddr (sect1) <= sect2_addr' failed. >> Twisti> A problem internal to GDB has been detected, >> Twisti> further debugging may prove unreliable. >> >> This is a recent regression. Paul Pluzhnikov posted a patch to fix this >> crash on Linux, but I don't know whether the patch will fix Darwin. >> Could you give it a try? (The patch is approved so presumably he will >> be checking it in soon...) > > I've just committed the patch. > > I will try to reproduce the Darwin failure, but I won't get to my Mac > until later tonight. I couldn't get the changes yesterday (CVS seems to have some delay?) but I have them now. The assert you removed was at line 801, but my assert is at 792. And, obviously, it still asserts. These are the values: (gdb) r Starting program: /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma 0x4fd3 <= 0x7040 0x70d1 <= 0xc9b7 0x5ffd <= 0x7040 0x6015 <= 0x7040 0x6034 <= 0x7040 0x6074 <= 0x7040 0x7014 <= 0x7040 0x4fd3 <= 0x7040 0x4fd3 <= 0x7040 0x6074 <= 0x7040 0x6015 <= 0x7040 0x6eee <= 0x7040 0x5ffd <= 0x6000 0x6015 <= 0x6018 0x6034 <= 0x6034 0x6074 <= 0x7000 0x4fd3 <= 0x1bc2 objfiles.c:793: internal-error: qsort_cmp: Assertion `obj_section_endaddr (sect1) <= sect2_addr' failed. I'm not sure that helps... -- Christian