goptical
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Goptical] spot analysis problems


From: Richard Graham
Subject: Re: [Goptical] spot analysis problems
Date: Thu, 14 Feb 2013 21:24:56 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2

Hi,

I checked image.get_system() and it points correctly to the system.
Running with valgrind I get:

==1468== Invalid read of size 8
==1468==    at 0x40A55C:
_Goptical::Trace::Result::get_intercepted(_Goptical::Sys::Surface
const&) const (result.hxx:54)
==1468==    by 0x40923F: main (asphere.cc:609)
==1468==  Address 0x180 is not stack'd, malloc'd or (recently) free'd

Thanks for your help,
--
Richard


On 02/14/2013 02:52 PM, Alexandre Becoulet wrote:
> On Thursday 14 February 2013 14:26:42 Richard Graham wrote:
> 
>> spot.get_tracer().get_trace_result().get_intercepted(image).size()
> 
>> although that crashes when I run it, even at low density when the spot
>> analysis works.
>>
>> Any ideas?
> 
> It should not crash if the image is part of the system. The Image or an other 
> ojbect might have been already freed for some reason when you run the 
> analysis. Can you please compile with -g and simply run it with valgrind?
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]