This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: status of Darwin support


Paul Pluzhnikov wrote:
> On Mon, Aug 10, 2009 at 11:32 AM, Tom Tromey<tromey@redhat.com> wrote:
> 
>>>>>>> "Twisti" == Christian Thalinger <Christian.Thalinger@Sun.COM> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]