POV-Ray : Newsgroups : povray.beta-test : julia_fractal/trace() crash : Re: julia_fractal/trace() crash Server Time
5 Oct 2024 15:24:59 EDT (-0400)
  Re: julia_fractal/trace() crash  
From: Le Forgeron
Date: 14 Mar 2009 08:22:56
Message: <49bba1a0$1@news.povray.org>
Le 14.03.2009 08:04, Edouard Poor nous fit lire :
> I was creating some scenes to test my 35mm Camera macros, but when I ran the
> autofocus test on a Julia fractal, I got a crash.
> 
>
Confirmed, 3.7b31 on Linux Amd64 3500+


May be the problem is about IterStack being empty:
(gdb) p *IterStack
$8 = (double *) 0x0


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x43723950 (LWP 29742)]
pov::D_Iteration_Julia (point=0x43721c50, Julia=0x1508400, Dist=0x43721cb8,
    IterStack=0x14d2ef8) at math/quatern.cpp:416
416       x = IterStack[X][0] = point[X];

(gdb) where
#0  pov::D_Iteration_Julia (point=0x43721c50, Julia=0x1508400,
    Dist=0x43721cb8, IterStack=0x14d2ef8) at math/quatern.cpp:416
#1  0x00000000004eae17 in pov::Fractal::All_Intersections (this=0x1508400,
    ray=<value optimized out>, Depth_Stack=@0x43722070, Thread=0x14d2ee0)
    at shape/fractal.cpp:239
#2  0x0000000000473537 in pov::Find_Intersection (isect=0x43722100,
    object=0x1508400, ray=@0x43722240, threadData=0x14d2ee0)
    at scene/objects.cpp:188
#3  0x000000000056ed14 in pov::Parser::Parse_Trace (this=0x14d1d50,
    Res=0x437226e0) at parser/express.cpp:320
#4  0x000000000056a89b in pov::Parser::Parse_Num_Factor (this=0x14d1d50,
    Express=0x437228e0, Terms=0x4372289c) at parser/express.cpp:1116
#5  0x000000000056c0ac in pov::Parser::Parse_Num_Term (this=0x43721c50,
    Express=0x1508400, Terms=0x43721bd0) at parser/express.cpp:1531
#6  0x000000000056c52f in pov::Parser::Parse_Rel_Factor (this=0x43721c50,
    Express=0x1508400, Terms=0x43721bd0) at parser/express.cpp:1604
#7  0x000000000056dd29 in pov::Parser::Parse_Unknown_Vector
(this=0x14d1d50,
    Express=0x1508400, allow_identifier=<value optimized out>,
    had_identifier=0x4372295f) at parser/express.cpp:2271
#8  0x00000000004b2da7 in pov::Parser::Parse_RValue (this=0x14d1d50,
    Previous=154, NumberPtr=0x1508b70, DataPtr=0x1508b68,
    sym=<value optimized out>, ParFlag=false, SemiFlag=true,
is_local=false,
    allow_redefine=true, old_table_index=100) at parser/parse.cpp:8090
#9  0x00000000004b49b2 in pov::Parser::Parse_Declare (this=0x14d1d50,
    is_local=true, after_hash=true) at parser/parse.cpp:7963
#10 0x00000000004d0ab7 in pov::Parser::Parse_Directive (this=0x14d1d50,
    After_Hash=1) at parser/tokenize.cpp:2054
#11 0x00000000004d2582 in pov::Parser::Get_Token (this=0x14d1d50)
    at parser/tokenize.cpp:494
#12 0x00000000004bddf8 in pov::Parser::Parse_Frame (this=0x14d1d50)
    at parser/parse.cpp:6221
#13 0x00000000004be7f7 in pov::Parser::Run (this=0x14d1d50)
    at parser/parse.cpp:280
#14 0x000000000055e5ee in pov::Task::TaskThread (this=0x14d1d50,
    completion=@0x14d0210) at support/task.cpp:233
#15 0x00007fd3e98d193f in thread_proxy ()
   from /usr/local/lib/libboost_thread-gcc43-mt-1_38.so.1.38.0
#16 0x00007fd3e8f053ea in start_thread () from /lib/libpthread.so.0
#17 0x00007fd3e8c72cbd in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.