Segfault in "_d_dynamic_cast ()"

Minas Mina minas_mina1990 at hotmail.co.uk
Thu Jan 24 13:37:05 PST 2013


On Thursday, 24 January 2013 at 13:22:20 UTC, Maxim Fomin wrote:
> On Thursday, 24 January 2013 at 10:14:29 UTC, Minas Mina wrote:
>> I am trying to create a BVH tree structure to speed up 
>> raytracing. So far it has been fine. I have created the BVH 
>> tree. It works for 202 triangles/spheres.
>>
>> <skipped>
>>
>> Thanks.
>
> Requests for debugging help without source code are likely to 
> be buried in archives silently. Perhaps you can look at 
> _d_dynamic_cast source code 
> (https://github.com/D-Programming-Language/druntime/blob/master/src/rt/cast_.d#L69) 
> and figure out the exact statement which produces segfault.

The code can be found here:
https://github.com/minas1/D_Raytracing

The code that creates the BVH tree is in bvh.d.
The code that prints the tree is in main.d.


More information about the Digitalmars-d-learn mailing list