POV-Ray : Newsgroups : povray.bugreports : 3.7RC3 animation error (64 bit, linux) : Re: 3.7RC3 animation error (64 bit, linux) Server Time
3 May 2024 01:03:41 EDT (-0400)
  Re: 3.7RC3 animation error (64 bit, linux)  
From: Le Forgeron
Date: 16 May 2011 05:15:02
Message: <4dd0eb16@news.povray.org>
Le 13/05/2011 20:36, cab15625 a écrit :
> OK, I've tried a couple of different compile flag combinations, and I still get
> the crash with my system.
> 
> So, I tried to compile with debugging enabled.
> 
> Running in a debugger shows that segfault occurs in disp_sdl.cpp at line 345
> 
> the debugger is claiming that the int "ofs" used as an index has been "optimized
> out".
> 
> ofs is set in the previous line by
> 
> unsigned int ofs = ix + iy * m_display->w;
> 
> So, my question now is, does this occur as a result of a compiler error, or is
> it a problem with something else.
> 
> Note 1: As a matter of curiosity I also ran the test without the display
> enabled.  Running povray with "-d" rather than "+d" results in a successful
> render of all frames.
> 
> Note 2: I thought I had compiled without optimization, but apparently I made a
> typo when running configure.
> 
> 
To compile without optimisation is harder than removing the "-s -O3" flags.
By default gcc is -O2, so removing optimisation requires to use "-O0"
(Oscar Zero)

I'm very interested in this issue.

-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

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