POV-Ray : Newsgroups : povray.beta-test : Linux RC2: crash with demo files media1.pov and media2.pov Server Time
29 Jul 2024 12:24:45 EDT (-0400)
  Linux RC2: crash with demo files media1.pov and media2.pov (Message 1 to 1 of 1)  
From: Raphael Quinet
Subject: Linux RC2: crash with demo files media1.pov and media2.pov
Date: 27 Apr 2002 04:39:29
Message: <3CCA6360.8424CCC5@gamers.org>
There have been several bug reports about crahses due to media and
attenuation, but I haven't seen a stack trace yet.  I have started
POV-Ray from within gdb and I got an instant crash on the first line
of the demo files ./scenes/interior/media/media1.pov and media2.pov.
The stack trace generated by gdb is appended below.  I do not have the
source code, but fortunately the povray executable was compiled with
debugging symbols so maybe the stack trace can be useful to someone
who has the source code.

All documentation bugs that I reported in a previous message about RC1
are still present in RC2.  It would be nice to have them fixed in RC3
or in the final release.

Also, I would like to repeat the request that has already been posted
several times: please include the expiration date on the download page
for the Linux version.  The download pages for the Windows and Mac
betas show the expiration date, which is a very useful information.
It would also be nice to extend the expiration of the Linux beta by
one or two days.  The Mac version expires later than the Windows
version so it should be possible to do that for the Linux version as
well.  The current version has only been available for three days and
it will already expire tomorrow.  If RC3 is also delayed (which is
perfectly understandable, given real life constraints), it would be
better to be able to test it for one full week instead of four days.

Here is the stack trace produced by gdb for "povray +Imedia1.pov":

  -:--:-- Rendering line    1 of  240. 
Program received signal SIGSEGV, Segmentation fault.
0x08088bd0 in Simulate_Media (Media_List=0xbfffe850, Ray=0xbfffe8c0, 
    Inter=0xbfffea90, Colour=0xbfffeee0, light_ray=1) at media.cpp:475
475	media.cpp: No such file or directory.
	in media.cpp
Current language:  auto; currently c++
(gdb) where
#0  0x08088bd0 in Simulate_Media (Media_List=0xbfffe850, Ray=0xbfffe8c0, 
    Inter=0xbfffea90, Colour=0xbfffeee0, light_ray=1) at media.cpp:475
#1  0x080482b1 in Do_Finite_Atmosphere (Ray=0xbfffe8c0, 
    Intersection=0xbfffea90, Colour=0xbfffeee0, Light_Ray_Flag=1)
    at atmosph.cpp:252
#2  0x080851d3 in do_light_ray_atmosphere (Light_Source_Ray=0xbfffe8c0, 
    Ray_Intersection=0xbfffea90, Colour=0xbfffeee0, Valid_Object=0)
    at lighting.cpp:5620
#3  0x08084f7d in block_light_source (Light=0x832e830, 
    Depth=4.6026318670033337, Light_Source_Ray=0xbfffec90, Eye_Ray=0x82fce60, 
    P=0xbfffef40, Colour=0xbfffeee0) at lighting.cpp:5441
#4  0x0807cb3f in Test_Shadow (Light=0x832e830, Depth=0xbfffec38, 
    Light_Source_Ray=0xbfffec90, Eye_Ray=0x82fce60, P=0xbfffef40, 
    Colour=0xbfffeee0) at lighting.cpp:709
#5  0x0808a102 in sample_media (light_list=0x83277b8, global_light_list_cnt=4, 
    Ray=0x82fce60, Media_List=0xbffff320, Interval=0x83279e8, light_ray=0, 
    d0=0.22372360911024813, SampCol=0xbffff070, SampOptDepth=0xbffff030, 
    sample_method=3, local_light_list=0x0, local_light_list_cnt=0)
    at media.cpp:1041
#6  0x0808998d in sample_media_rec (light_list=0x83277b8, 
    global_light_list_cnt=4, Ray=0x82fce60, Media_List=0xbffff320, 
    Interval=0x83279e8, light_ray=0, d1=0.25, d3=0.5, Result=0xbffff220, 
    C1=0xbffff260, C3=0xbffff240, ODResult=0xbffff200, od1=0xbffff1e0, 
    od3=0xbffff1c0, depth=2, Jitter=0, aa_threshold=0.10000000000000001, 
    local_light_list=0x0, local_light_list_cnt=0) at media.cpp:798
#7  0x080892ff in Simulate_Media (Media_List=0xbffff320, Ray=0x82fce60, 
    Inter=0xbffff430, Colour=0x8374cbc, light_ray=0) at media.cpp:631
#8  0x080482b1 in Do_Finite_Atmosphere (Ray=0x82fce60, 
    Intersection=0xbffff430, Colour=0x8374cbc, Light_Ray_Flag=0)
    at atmosph.cpp:252
#9  0x080d11bd in Trace (Ray=0x82fce60, Colour=0x8374cbc, Weight=1)
    at render.cpp:1861
#10 0x080d2266 in trace_pixel (x=15, y=0, Colour=0x8374cbc) at render.cpp:2627
#11 0x080d0756 in Start_Non_Adaptive_Tracing () at render.cpp:1352
#12 0x080c4ea5 in FrameRender () at povray.cpp:1056
#13 0x080c4906 in FrameLoop () at povray.cpp:786
#14 0x080c4778 in povray_render (argc=2, argv=0x8320390) at povray.cpp:497
#15 0x080c44ef in main (argc=2, argv=0xbffff764) at povray.cpp:286
#16 0x081d3042 in __libc_start_main (main=0x80c43d0 <main>, argc=2, 
    ubp_av=0xbffff764, init=0x80480b4 <_init>, fini=0x8228640 <_fini>, 
    rtld_fini=0, stack_end=0xbffff75c) at ../sysdeps/generic/libc-start.c:129
(gdb) quit

Thanks, and keep up the great work!


--
http://www.gamers.org/~quinet/


Post a reply to this message

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