Re: what's a bad array tag ?

brian <briand-/[email protected]> Tue, 21 Oct 2008 21:25:21 -0700
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
On Oct 21, 2008, at 10:05 AM, John Reppy wrote:

> This message means that the GC hit an object that had a header (or  
> descriptor)
> that it does not understand.  Assuming that you are not using  
> unsafe features,
> this message means that there is a bug in the GC or runtime.
>
> Can you put together a test program that reliably reproduces the  
> error?
> With such a test, we might be able to track down the problem.
>

Hi John,

There is very little chance I will be able to reproduce this.

The program was 8 hrs into it's run time when it did this.  Since the  
runs involve, literally, the exact same length vectors every single  
time (the problem size is completely repeatable, just value changes  
due to different test parameters), it seems very unlikely this is an  
smlnj problem.  I think it was more likely a random, cosmic ray  
induced memory error, or more likely the c-interface.

This problem, like the really strange filename problem only seem to  
show up on the mac.  Until I encountered these weirdnesses smlnj has  
been _very_ solid for me.  The intel version under linux hasn't given  
me _any_ trouble and that includes nlffi.

I'm going to try the extended run again.  I've got a couple of ideas  
of things I could try.

Brian

p.s. no, really.  can somebody provide an example of the profiler  
working. I could _really_ use that darn thing to work on my 8 hour  
runtime !


> 	- John
>
> On Oct 19, 2008, at 12:43 AM, brian wrote:
>
>> smlnj gets kind of grumpy when you start pushing it hard (at least on
>> the mac).
>>
>> So this looks bad:
>>
>> /usr/local/smlnj/bin/sml: Fatal error -- bad array tag 0, obj =
>> 0x100c0004, desc = 0x6e696c00
>>
>> New one.
>> Can anyone enlighten me on the potential causes ?
>>
>> Thanks
>>
>> Brian
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Smlnj-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/