Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] bug in deadline image traverser


Chronological Thread 
  • From: Solomon Boulos <boulos@cs.utah.edu>
  • Cc: MANTA <manta@sci.utah.edu>
  • Subject: Re: [Manta] bug in deadline image traverser
  • Date: Fri, 12 Oct 2007 23:57:50 -0700

The approximate priority queue allocates an array of CheapRNGs, so this is almost certainly the "bug". It's not really a bug, it's mine and James's faults for not catching this sooner. This is probably not a G5 specific issue, because I'm guessing it probably comes up for the scalar build as well (just not for builds with SSE on where we've appropriately padded most likely). I'll look into this when I can, but James can probably solve it more quickly since he wrote the allocator.

On Oct 12, 2007, at 11:51 PM, Austin Robison wrote:

I vaguely remember seeing something like this on my old G5 once...I think it was the random number generator? Or some related to Solomon's approximate priority queue...

~Austin

James Bigler wrote:
Never tried it on a G5 before. It looks like it's trying to create an array of somethings that need to be aligned, but they don't have a size that makes sense for alignment (i.e. a 15 byte sized object). I'm not sure why the size of the object isn't a multiple of the Alignment, since it is on other systems.

Is it possible to run this in the debugger and get a stack trace. We need to know which object isn't the right size and what the size of the object is.

Thanks,
James

Roni Choudhury wrote:
Hello everyone-

When I run manta with the deadline image traverser on my G5 (holden.sci.utah.edu) this is what happens:

roni@holden:build$ bin/manta -imagetraverser deadline
manta.cc (top level): Caught SCIRun exception: An InternalError exception was thrown (Attempting to allocate an array of objects that cannot be aligned. Please make sizeof(ParentT) a multiple of Alignment).
/home/scinew/roni/research/Manta/Core/Util/AlignedAllocator.h:64

That happens for REAL=double and REAL=float.

roni






Archive powered by MHonArc 2.6.16.

Top of page